Playtime Studio
object PlaytimeStudio
The entry point of Adjoe Playtime SDK in Studio version. This class provides methods to fetch campaigns and installed apps to show them in your custom UI. This class also provide other functions related to permissions and open the campaigns in store.
Functions
Link copied to clipboard
Get the list of offers that a user can install.
fun getCampaigns(context: Context, token: List<String>, options: PlaytimeOptions?, listener: PlaytimeCampaignsListener)
Get a campaign by the specified token.
Link copied to clipboard
fun getInstalledCampaigns(context: Context, options: PlaytimeOptions?, listener: PlaytimeCampaignsListener)
Get the list of apps the user has already installed and that will contain the progress the user has made already.
Link copied to clipboard
Get user's permissions.
Link copied to clipboard
fun openInstalledCampaign(context: Context, campaign: PlaytimeCampaign, listener: PlaytimeOpenInstalledCampaignListener)
Use this method to open installed application.
Link copied to clipboard
Use this method to forward the user to the store.
Link copied to clipboard
Show the prompt requesting user's permissions.