-
- All Implemented Interfaces:
-
com.appstock.sdk.rendering.utils.url.action.UrlAction
public class MraidInternalBrowserAction implements UrlAction
-
-
Constructor Summary
Constructors Constructor Description MraidInternalBrowserAction(BaseJSInterface jsInterface, int broadcastId)
-
Method Summary
Modifier and Type Method Description booleanshouldOverrideUrlLoading(Uri uri)Determines if the uri can be handled by specific action.NOTE: In order to make all actions work properly - each action should handle unique URIs. voidperformAction(Context context, UrlHandler urlHandler, Uri uri)Executes specific action on the given uri. booleanshouldBeTriggeredByUserAction()-
-
Constructor Detail
-
MraidInternalBrowserAction
MraidInternalBrowserAction(BaseJSInterface jsInterface, int broadcastId)
-
-
Method Detail
-
shouldOverrideUrlLoading
boolean shouldOverrideUrlLoading(Uri uri)
Determines if the uri can be handled by specific action.NOTE: In order to make all actions work properly - each action should handle unique URIs.
- Parameters:
uri- which should be handled.
-
performAction
void performAction(Context context, UrlHandler urlHandler, Uri uri)
Executes specific action on the given uri.
- Parameters:
context- activity context.urlHandler- holder of action.uri- which should be handled.
-
shouldBeTriggeredByUserAction
boolean shouldBeTriggeredByUserAction()
-
-
-
-