Interface SntpClient.InitializationCallback

    • Method Detail

      • onInitialized

        void onInitialized()
        Called when the device time offset has been initialized.
      • onInitializationFailed

        void onInitializationFailed​(IOException error)
        Called when the device time offset failed to initialize.
        Parameters:
        error - The error that caused the initialization failure.