Package 

Class DSTOffsetDataCallback

  • All Implemented Interfaces:
    android.os.Parcelable , no.nordicsemi.android.ble.callback.DataReceivedCallback , no.nordicsemi.android.ble.callback.profile.ProfileDataCallback , no.nordicsemi.android.ble.common.profile.DSTOffsetCallback

    
    public abstract class DSTOffsetDataCallback
    extends ProfileReadResponse implements DSTOffsetCallback
                        

    Data callback that parses 1-byte value into a DSTOffset. If the value received is shorter than 1 byte the onInvalidDataReceived callback will be called.

    • Method Summary

      Modifier and Type Method Description
      void onDataReceived(@NonNull() BluetoothDevice device, @NonNull() Data data)
      static DSTOffsetCallback.DSTOffset readDSTOffset(@NonNull() Data data, int offset) Returns the Daylight Saving Time Offset, or null if offset is out of data range.
      • Methods inherited from class no.nordicsemi.android.ble.callback.profile.ProfileReadResponse

        isValid, onInvalidDataReceived, writeToParcel
      • Methods inherited from class no.nordicsemi.android.ble.response.ReadResponse

        describeContents, getBluetoothDevice, getRawData, onDataReceived
      • Methods inherited from class no.nordicsemi.android.ble.common.profile.DSTOffsetCallback

        onDSTOffsetReceived
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait