Playtime Custom
This class provides methods for custom integration of the Playtime SDK.
Types
Properties
The user has just accepted the Terms of Service of your app. Trigger this event when the user has pressed "yes" (or other positive action) on the dialog asking for his agreement to the Playtime Terms of Service. See io.adjoe.sdk.Playtime.sendUserEvent.
The user has just declined the Terms of Service of your app. Trigger this event when the user has pressed "no" (or other negative action) on the dialog asking for his agreement to the Playtime Terms of Service. See io.adjoe.sdk.Playtime.sendUserEvent.
The user sees the Terms of Service of your app. Trigger this event every time the user sees the dialog asking for his agreement to the Playtime Terms of Service. See io.adjoe.sdk.Playtime.sendUserEvent.
The user has opened your app. Trigger this event when your app is launched, i.e. a new SDK App session for the user is initiated. See io.adjoe.sdk.Playtime.sendUserEvent.
You have just displayed the campaigns screen to the user. Trigger this event when the Playtime catalog is loaded with either advertised partner apps or already installed partner apps for signed-up users. See io.adjoe.sdk.Playtime.sendUserEvent.
The user sees the Playtime content, for example the onResume method of the activity displaying the Playtime content is called. Trigger this event on the following user actions: 1) the user has opened your app and started a new Playtime-related session, 2) the user has brought your app from the background to the foreground to continue his Playtime-related session (exception: the user has left your app to allow usage tracking in his phone settings). The event should be triggered in both cases regardless of whether the user has already signed up or not. See io.adjoe.sdk.Playtime.sendUserEvent.
The user has just given your app the access to the usage data. Trigger this event when the user has returned from his phone settings to your app for the first time with the permission for usage tracking via your app given. See io.adjoe.sdk.Playtime.sendUserEvent.
The user has denied to give your app the access to the usage data. Trigger this event when the user has pressed "no" (or other negative action) on the dialog asking for permission for usage tracking. See io.adjoe.sdk.Playtime.sendUserEvent.
The video for one of the partner apps has ended. Trigger this event when the video of an Playtime advertisement has reached its end. See io.adjoe.sdk.Playtime.sendUserEvent.
The user has paused the video for any of the partner apps. Trigger this event when the user has paused the video of an Playtime advertisement. See io.adjoe.sdk.Playtime.sendUserEvent.
The user has started the video for any of the partner apps. Trigger this event when the user has started the video of an Playtime advertisement. See io.adjoe.sdk.Playtime.sendUserEvent.
Functions
Pays out the user's collected rewards.
Requests a list of partner apps which the user has installed.
Requests a list of partner apps which the user would see in the catalog.
Requests the user's current rewards, including how many of them are available for payout and how many have already been paid out.
Accepts the Playtime Terms of Service (TOS).
Notifies Playtime when the user has given access to the usage statistics.
Opens the usage statistics system settings page so that the user can give access to it.