object VNTicket : BaseCoroutineScope
isHandlingLogin |
var isHandlingLogin: Boolean |
logout |
Call when the user logs out of the ticketing platform. fun logout(success: () -> Unit, error: (Exception) -> Unit): Unit |
onLoginFailure |
Call when the TicketingInterface you have implemented completes and the user did not complete login. fun onLoginFailure(): Unit |
onLoginSuccess |
Call when the TicketingInterface you have implemented completes with a successful login. This will attempt to fetch stub and loyalty data - if this fails, onLoginFailure will be called on all registered listeners. fun onLoginSuccess(data: TicketingLoginData): Job |
registerLoginResultListener |
Registers a listener for login callbacks. Callers should unregister this listener on a successful login or on a terminal lifecycle state. fun registerLoginResultListener(loginResultListener: LoginResultListener): Unit |
unregisterLoginResultListener |
fun unregisterLoginResultListener(loginResultListener: LoginResultListener): Unit |