Class BluetoothGattDescriptor
Definition
- Namespace:
- Tizen.Network.Bluetooth
- Assembly:
- Tizen.Network.Bluetooth.dll
- API Level:
- 3
The Bluetooth GATT descriptor.
C#Copypublic class BluetoothGattDescriptor : BluetoothGattAttribute
- Inheritance
Constructors
Declaration
C#Copypublic BluetoothGattDescriptor(string uuid, BluetoothGattPermission permisions, byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.String | uuid | The UUID of the descriptor. |
BluetoothGattPermission | permisions | Permissions for the descriptor. |
System.Byte[] | value | The value associated with the descriptor. |
Remarks
throws in case of internal error.
Exceptions
Type | Condition |
---|---|
System.InvalidOperationException | Thrown when the create GATT descriptor procedure fails. |
API Level: 3
Methods
View Source
GetCharacteristic()
Gets the characteristic instance, which the specified descriptor belongs to.
Declaration
C#Copypublic BluetoothGattCharacteristic GetCharacteristic()
Returns
Type | Description |
---|---|
BluetoothGattCharacteristic | The characteristic instance, the specified descriptor belongs to. |