Class SntpClient


  • @Deprecated
    public final class SntpClient
    extends Object
    Deprecated.
    com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
    Static utility to retrieve the device time offset using SNTP.

    Based on the Android framework SntpClient.