SntpClient.InitializationCallback


interface SntpClient.InitializationCallback


Callback for calls to initialize.

Summary

Public functions

Unit

Called when the device time offset failed to initialize.

Unit

Called when the device time offset has been initialized.

Public functions

onInitializationFailed

fun onInitializationFailed(error: IOException!): Unit

Called when the device time offset failed to initialize.

Parameters
error: IOException!

The error that caused the initialization failure.

onInitialized

fun onInitialized(): Unit

Called when the device time offset has been initialized.