Package ej.bluetooth

Class BluetoothAddress


  • public class BluetoothAddress
    extends java.lang.Object
    • Constructor Detail

      • BluetoothAddress

        public BluetoothAddress​(byte[] bytes,
                                int offset,
                                boolean isPublic)
      • BluetoothAddress

        public BluetoothAddress​(java.lang.String string,
                                boolean isPublic)
    • Method Detail

      • deserialize

        public static BluetoothAddress deserialize​(byte[] data,
                                                   int offset)
        Not in API.
      • serialize

        public static void serialize​(BluetoothAddress address,
                                     byte[] buffer,
                                     int offset)
        Not in API.
      • getBytes

        public void getBytes​(byte[] buffer,
                             int offset)
      • isPublic

        public boolean isPublic()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(@Nullable
                              java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object