Injector callback
A callback to handle events from campaigns.
Declared in
com.synerise.sdk.injector.callback.OnInjectorListener
User interacts with URL
Fired when user interacts with URL action.
Return true if activity should be closed after action execution, false otherwise.
- boolean onOpenUrl(InjectorSource source, String url);
Parameter | Type | Description |
---|---|---|
source |
InjectorSource |
interaction source |
url |
String |
url provided from API |
User interacts with deep link
Fired when user interacts with DEEP_LINKING action.
Return true if activity should be closed after action execution, false otherwise.
- boolean onDeepLink(InjectorSource source, String deepLink);
Parameter | Type | Description |
---|---|---|
source |
InjectorSource |
interaction source |
deepLink |
String |
deepLink provided from API |