Interface AuthenticationCallback
Package com.here.sdk.core
Interface AuthenticationCallback
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AuthenticationCallbackCallback passed to
Authentication.authenticate(SDKNativeEngine). This callback is called on the main thread asynchronously when an authenticate call has completed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonTokenReceived(AuthenticationError authenticationError, AuthenticationData authenticationData)Callback passed toAuthentication.authenticate(SDKNativeEngine).
-
-
-
Method Detail
-
onTokenReceived
void onTokenReceived(@Nullable AuthenticationError authenticationError, @Nullable AuthenticationData authenticationData)Callback passed to
Authentication.authenticate(SDKNativeEngine). This callback is called on the main thread asynchronously when an authenticate call has completed.- Parameters:
authenticationError-Represents the operation status. It is 'null' for an operation that succeeds.
authenticationData-Represents the authentication data.
-
-