-
public interface LoginResultCallbackThe public API interface to listen for Login result updates.
-
-
Method Summary
Modifier and Type Method Description abstract voidonStart()Called on the user beginning the request to login after going through OAuth flow. abstract voidonSuccess(@NonNull() String accessToken)Called when login through Snapchat has succeeded. abstract voidonFailure(@NonNull() LoginException exception)Called when login through Snapchat has failed. -
-
Method Detail
-
onStart
abstract void onStart()
Called on the user beginning the request to login after going through OAuth flow.
-
onSuccess
abstract void onSuccess(@NonNull() String accessToken)
Called when login through Snapchat has succeeded.
- Parameters:
accessToken- Access token for the current user.
-
onFailure
abstract void onFailure(@NonNull() LoginException exception)
Called when login through Snapchat has failed.
- Parameters:
exception- The exception representing the failure reason.
-
-
-
-