onLogoutResult
client.onLogoutResult( requestCode, intent, success, failure, )
About this command
This method handles returning to the app from the custom tab initiated by logout
.
Examples
client.onLogoutResult(
requestCode: Int,
intent: Intent?,
success: Success<Unit>,
failure: Failure<ReachFiveError>,
)
Parameters
The Android request code obtained in |
|
The intent received from the activity lauching the logout Custom Tab. |
|
Callback called once the logout Custom Tab has successfully returned. |
|
Callback called once the request has failed. You’ll get a |
Response
Type: Unit
ReachFiveError
message |
The message of the error. |
||||||||||||||
getErrorCode() |
The error code’s enumeration value. |
||||||||||||||
code |
The HTTP status code or SDK error code. |
||||||||||||||
exception |
The stack trace of the error. |
||||||||||||||
data |
Additional data about the error.
|