SntpClient.InitializationCallback


public interface SntpClient.InitializationCallback


Callback for calls to initialize.

Summary

Public methods

abstract void

Called when the device time offset failed to initialize.

abstract void

Called when the device time offset has been initialized.

Public methods

onInitializationFailed

abstract void onInitializationFailed(IOException error)

Called when the device time offset failed to initialize.

Parameters
IOException error

The error that caused the initialization failure.

onInitialized

abstract void onInitialized()

Called when the device time offset has been initialized.