public class

DeeplinkProcessor

extends Object
java.lang.Object
   ↳ com.mapsted.positioning.deeplink.DeeplinkProcessor

Summary

Nested Classes
interface DeeplinkProcessor.Callback Deeplink callback 
Constants
String FEATURE_EMERGENCY_ALERT
String FEATURE_FEEDS
String FEATURE_MAP_ROUTING
String FEATURE_MAP_SELECT
Fields
public static String TAG
Public Constructors
DeeplinkProcessor()
Public Methods
boolean canHandleDeeplink(Uri uri)
check if given deeplink uri can be handled
static DeeplinkData parse(String deeplinkDataJson)
boolean parseDeepLink(Uri uri, DeeplinkProcessor.Callback callback)
processes the given deeplink uri.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String FEATURE_EMERGENCY_ALERT

Constant Value: "/alerts/emergency_alert"

public static final String FEATURE_FEEDS

Constant Value: "/feeds"

public static final String FEATURE_MAP_ROUTING

Constant Value: "/map/routing"

public static final String FEATURE_MAP_SELECT

Constant Value: "/map/select"

Fields

public static String TAG

Public Constructors

public DeeplinkProcessor ()

Public Methods

public boolean canHandleDeeplink (Uri uri)

check if given deeplink uri can be handled

Parameters
uri deeplink uri
Returns
  • true if sdk can handle this deeplink. false it does not recognise this deeplink.

public static DeeplinkData parse (String deeplinkDataJson)

public boolean parseDeepLink (Uri uri, DeeplinkProcessor.Callback callback)

processes the given deeplink uri. Results is return via callback if valid deeplink. If not valid, this method returns false.

Parameters
uri deeplink uri
callback callback
Returns
  • true if handled (check the callback). False if deeplink invalid or not matched.