public interface NARegistrationListener
This interface is a listener which is called asynchronously when an attempt to check the application key fails for some reason.
The NewAer SDK requires developers to provide a valid application key when constructing the platform.
In order to support starting NewAer enabled applications while not connected to the Internet, the check of this key is performed asynchronously. Applications are given a significant grace to operate entirely off-line, however, after this grace period the device discovery features of the SDK are disabled until Internet is restored, and an application key check is successful.
Additionally, if the key entered is invalid, or the SDK version is no longer supported, proximity features will also be disabled.
Modifier and Type | Method and Description |
---|---|
void |
onDisabled()
Called when an attempt to check the applications key has failed.
|
void |
onEnabled()
Called when connectivity has been restored
and a successful check made.
|
void onDisabled()
void onEnabled()