Package 

Interface TimeZoneCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void onTimeZoneReceived(@NonNull() BluetoothDevice device, @IntRange(from = -720, to = 840) int offset) Callback called when time zone packet has been received.
      abstract void onUnknownTimeZoneReceived(@NonNull() BluetoothDevice device) Callback called when the time zone packet was received with value -128 (unknown time zone).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onTimeZoneReceived

         abstract void onTimeZoneReceived(@NonNull() BluetoothDevice device, @IntRange(from = -720, to = 840) int offset)

        Callback called when time zone packet has been received.

        Parameters:
        device - the target device.
        offset - the offset from UTC in minutes, in 15 min intervals (e.g.
      • onUnknownTimeZoneReceived

         abstract void onUnknownTimeZoneReceived(@NonNull() BluetoothDevice device)

        Callback called when the time zone packet was received with value -128 (unknown time zone).

        Parameters:
        device - the target device.