public static interface PCLogin.GetLoginTransactionCallback
PCLogin.GetLoginTransactionCallback
Modifier and Type | Method and Description |
---|---|
void |
error(PCError error,
PCNetError netError)
Called when transaction wasn't obtained successfully
|
void |
success(PCTransaction transaction)
Called when transaction for given user is created successfully and user can login.
|
void error(PCError error, PCNetError netError)
error
- PCError
which might happen in case of internal failure (e.g.
inappropriate PCUser
is passed to
PCLogin.requestLoginTransaction(PCUser, GetLoginTransactionCallback)
or QR-code has already expired)netError
- PCNetError
which might happen in case of unsuccessful network
requestvoid success(PCTransaction transaction)
PCLogin.confirm(PCGeneralCallback)
instead for logging in and PCLogin.decline(PCGeneralCallback)
to cancel logging in.transaction
- PCTransaction
which will be used to login