vnticket / com.venuenext.vnticket / VNTicket / onLoginSuccess

onLoginSuccess

fun onLoginSuccess(data: TicketingLoginData): Job

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.

Parameters

ticketingLoginData - Object containing the user's email address, user's ID, first name, last name, and account ID used for display that come from the ticketing provider Note: If you do not want to display an account ID to the user in the UI, pass null for the displayAccountID.

See Also

com.venuenext.vncore.protocol.TicketingInterface.startLoginFlow