public interface LoginListener
onLoginSuccess(LineLoginResult) method
is called if the login is successful; the onLoginFailure(LineLoginResult) is called
otherwise.LoginButton| Modifier and Type | Method and Description |
|---|---|
void |
onLoginFailure(LineLoginResult result)
Called by
LoginHandler if the login fails. |
void |
onLoginSuccess(LineLoginResult result)
Called by
LoginHandler if the login succeeds. |
void onLoginSuccess(@NonNull
LineLoginResult result)
LoginHandler if the login succeeds.result - The login result for a successful login. It contains information about the login.void onLoginFailure(@Nullable
LineLoginResult result)
LoginHandler if the login fails.result - The login result for a failed login. It contains error information that can be used to diagnose the failure. Null if
the login is cancelled.