Package ej.bluetooth
Class BluetoothAddress
- java.lang.Object
-
- ej.bluetooth.BluetoothAddress
-
public class BluetoothAddress extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intLENGTHNot in API.
-
Constructor Summary
Constructors Constructor Description BluetoothAddress(byte[] bytes, int offset, boolean isPublic)BluetoothAddress(java.lang.String string, boolean isPublic)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BluetoothAddressdeserialize(byte[] data, int offset)Not in API.booleanequals(java.lang.Object object)voidgetBytes(byte[] buffer, int offset)inthashCode()booleanisPublic()static voidserialize(BluetoothAddress address, byte[] buffer, int offset)Not in API.java.lang.StringtoString()
-
-
-
Field Detail
-
LENGTH
public static final int LENGTH
Not in API.- See Also:
- Constant Field Values
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object object)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-