In-app messages
Set OnInAppListener
Sets inAppListener to injector.
Method name: setOnInAppListener(OnInAppListener listener)
Declaration
public static void setOnInAppListener(OnInAppListener listener)
Parameters
Parameter | Type | Mandatory | Default | Description |
---|---|---|---|---|
listener | OnInAppListener | yes | - | Listener |
Return Value
No value returned.
Example
Injector.setOnInAppListener(listener);
Remove OnInAppListener
Removes inAppListener from injector.
Method name: removeInAppListener()
Declaration
public static void removeInAppListener()
Parameters
No parameters.
Return Value
No value returned.
Example
Injector.removeInAppListener();