Class BluetoothGattDescriptor
Definition
- Assembly:
- Tizen.Network.Bluetooth.dll
The Bluetooth GATT descriptor.
public class BluetoothGattDescriptor : BluetoothGattAttribute
- Inheritance
Constructors
View SourceBluetoothGattDescriptor(string, BluetoothGattPermission, byte[])
The constructor.
Declaration
public BluetoothGattDescriptor(string uuid, BluetoothGattPermission permisions, byte[] value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | uuid | The UUID of the descriptor. |
| BluetoothGattPermission | permisions | Permissions for the descriptor. |
| 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. |
Methods
View SourceGetCharacteristic()
Gets the characteristic instance, which the specified descriptor belongs to.
Declaration
public BluetoothGattCharacteristic GetCharacteristic()
Returns
| Type | Description |
|---|---|
| BluetoothGattCharacteristic | The characteristic instance, the specified descriptor belongs to. |