Clientz

interface Clientz : CleanUpz

Blueprint of the core logic of the library.

Types

Link copied to clipboard
interface ConnectionListener

Callback used to respond to a successful connection. INTERNAL USE ONLY

Link copied to clipboard
enum ConnectionStatus : Enum<Clientz.ConnectionStatus>
Link copied to clipboard
interface ReconnectListener

Interface for reconnection logic to the billing service INTERNAL USE ONLY

Functions

Link copied to clipboard
abstract fun checkConnection()

Verifies connection to the billing service

Link copied to clipboard
abstract fun connect()

Starts connection to GooglePlay INTERNAL USE ONLY

Link copied to clipboard
abstract fun destroy()

Apply to UI(main thread) dependent classes that require clean-up logic.

Link copied to clipboard
abstract fun disconnect()

Stops connection to GooglePlay INTERNAL USE ONLY

Link copied to clipboard
abstract fun init(context: Context?, connectionListener: Clientz.ConnectionListener)

Initialize the Android Billing Library INTERNAL USE ONLY

Link copied to clipboard
abstract fun initialized(): Boolean
Link copied to clipboard
abstract fun isReady(): Boolean

Properties

Link copied to clipboard
abstract var connectionState: MutableLiveData<Clientz.ConnectionStatus>