public class CharacteristicDefinition
extends java.lang.Object
Constructor and Description |
---|
CharacteristicDefinition(java.lang.String name,
BluetoothServiceDefinition serviceDefinition,
java.util.UUID uuid,
boolean mandatory,
int mandatoryProperties,
int recommendedProperties,
int permissions) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getMandatoryProperties() |
java.lang.String |
getName() |
int |
getPermissions() |
int |
getRecommendedProperties() |
BluetoothServiceDefinition |
getServiceDefinition() |
java.util.UUID |
getUuid() |
int |
hashCode() |
boolean |
isMandatory() |
boolean |
matchesCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic) |
java.lang.String |
toString() |
java.lang.String |
toStringShort() |
void |
validateDefinitionIsSatisfiedByCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic) |
public CharacteristicDefinition(java.lang.String name, BluetoothServiceDefinition serviceDefinition, java.util.UUID uuid, boolean mandatory, int mandatoryProperties, int recommendedProperties, int permissions)
public BluetoothServiceDefinition getServiceDefinition()
public java.lang.String getName()
public java.util.UUID getUuid()
public boolean isMandatory()
public int getMandatoryProperties()
public int getRecommendedProperties()
public int getPermissions()
public void validateDefinitionIsSatisfiedByCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic) throws LDSDKError
LDSDKError
public boolean matchesCharacteristic(android.bluetooth.BluetoothGattCharacteristic characteristic)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringShort()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object