Class CurrentTimeConstants


  • public class CurrentTimeConstants
    extends java.lang.Object
    Provides constants and static methods related to the standard current time service.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ej.bluetooth.BluetoothUuid CURRENT_TIME_UUID
      The UUID of the current time characteristic.
      static ej.bluetooth.BluetoothUuid LOCAL_TIME_INFO_UUID
      The UUID of the local time info characteristic.
      static ej.bluetooth.BluetoothUuid SERVICE_UUID
      The UUID of the current time service.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static ej.bluetooth.BluetoothServiceDefinition getServiceDefinition​(int securityLevel)
      Gets the definition of the current time service.
      • Methods inherited from class java.lang.Object

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

      • SERVICE_UUID

        public static final ej.bluetooth.BluetoothUuid SERVICE_UUID
        The UUID of the current time service.
      • CURRENT_TIME_UUID

        public static final ej.bluetooth.BluetoothUuid CURRENT_TIME_UUID
        The UUID of the current time characteristic.
      • LOCAL_TIME_INFO_UUID

        public static final ej.bluetooth.BluetoothUuid LOCAL_TIME_INFO_UUID
        The UUID of the local time info characteristic.
    • Method Detail

      • getServiceDefinition

        public static ej.bluetooth.BluetoothServiceDefinition getServiceDefinition​(int securityLevel)
        Gets the definition of the current time service.
        Parameters:
        securityLevel - the security level (see SecurityLevels).
        Returns:
        the definition of the current time service.