Premium

object Premium : Base<Premium>

Set of utilities to simplify the verification and purchase process of the premium version of the app.

Types

Link copied to clipboard
object Controller

Controller for the purchase and verification process of the premium version of the app.

Link copied to clipboard
interface Listener

Listener for events relating to app premium billing.

Link copied to clipboard
enum State : Enum<Premium.State>

Define the possible states when checking if a user has premium privileges in the app.

Functions

Link copied to clipboard
fun getCurrentState(): Premium.State

Returns the current premium state.

Properties

Link copied to clipboard
var firebaseAnalyticsEnabled: Boolean

Determines if the event log in Firebase Analytics is enabled for the class instance, for the event log, the static property of the companion object firebaseAnalyticsInstance must also be assigned, if that property is null, no events will be logged, since what is required.