public static interface SntpClient.InitializationCallback
SntpClient.initialize(Loader, InitializationCallback).| Modifier and Type | Method | Description |
|---|---|---|
void |
onInitializationFailed(IOException error) |
Called when the device time offset failed to initialize.
|
void |
onInitialized() |
Called when the device time offset has been initialized.
|
void onInitialized()
void onInitializationFailed(IOException error)
error - The error that caused the initialization failure.