AuthenticationCallback (API Reference)
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.
Callback passed to Authentication.authenticate(SDKNativeEngine).
This callback is called on the main thread asynchronously when an
authenticate call has completed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonTokenReceived(AuthenticationError authenticationError, AuthenticationData authenticationData) Callback passed toAuthentication.authenticate(SDKNativeEngine).
-
Method Details
-
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.
-