Class BluetoothGattDescriptor

Definition

Namespace:
Tizen.Network.Bluetooth
Assembly:
Tizen.Network.Bluetooth.dll
API Level:
3

The Bluetooth GATT descriptor.

C#
Copy
public class BluetoothGattDescriptor : BluetoothGattAttribute
Inheritance
System.Object
BluetoothGattDescriptor

Constructors

View Source

BluetoothGattDescriptor(String, BluetoothGattPermission, Byte[])

The constructor.

Declaration
C#
Copy
public 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#
Copy
public BluetoothGattCharacteristic GetCharacteristic()
Returns
Type Description
BluetoothGattCharacteristic

The characteristic instance, the specified descriptor belongs to.

API Level: 3