public interface

SntpClient.InitializationCallback

 androidx.media3.exoplayer.util.SntpClient.InitializationCallback

Overview

Callback for calls to SntpClient.initialize(Loader, SntpClient.InitializationCallback).

Summary

Methods
public voidonInitializationFailed(java.io.IOException error)

Called when the device time offset failed to initialize.

public voidonInitialized()

Called when the device time offset has been initialized.

Methods

public void onInitialized()

Called when the device time offset has been initialized.

public void onInitializationFailed(java.io.IOException error)

Called when the device time offset failed to initialize.

Parameters:

error: The error that caused the initialization failure.