interface TicketingInterface
Interface to be implemented for starting the login flow for your ticketing provider. (ex: Ticketmaster, SeatGeek)
The startLoginFlow function is called in the VenueNextSDK when VenueNext needs to link wallet functionality with a user's third-party ticketing provider. The information an integrator needs to provide to VenueNext is the user's email address and the ID assigned to them by the ticketing provider. This information will be used to link the user with their wallet account and to retrieve any virtual currency balance they may have. When startLoginFlow is called, please pass the result of the login flow back by using the VNTicket object: When data is able to be successfully passed: VNTicket.onLoginSuccess(ticketingLoginData: TicketingLoginData) where ticketingLoginData contains the aforementioned required data When data is not able to be successfully passed: VNTicket.onLoginFailure()
See Also
startLoginFlow |
Called when an SDK component requires a login abstract fun startLoginFlow(): Unit |