GattLocalDescriptor GattLocalDescriptor GattLocalDescriptor GattLocalDescriptor Class

Definition

This class defines a descriptor of a local characteristic.

public : sealed class GattLocalDescriptor : IGattLocalDescriptorpublic sealed class GattLocalDescriptor : IGattLocalDescriptorPublic NotInheritable Class GattLocalDescriptor Implements IGattLocalDescriptor// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)

Properties

ReadProtectionLevel ReadProtectionLevel ReadProtectionLevel ReadProtectionLevel

Gets the read protection level of this local characteristic descriptor.

public : GattProtectionLevel ReadProtectionLevel { get; }public GattProtectionLevel ReadProtectionLevel { get; }Public ReadOnly Property ReadProtectionLevel As GattProtectionLevel// You can use this property in JavaScript.
Value
GattProtectionLevel GattProtectionLevel GattProtectionLevel GattProtectionLevel

The read protection level of this local characteristic descriptor.

StaticValue StaticValue StaticValue StaticValue

Gets the static value for this local characteristic descriptor.

public : IBuffer StaticValue { get; }public IBuffer StaticValue { get; }Public ReadOnly Property StaticValue As IBuffer// You can use this property in JavaScript.
Value
IBuffer IBuffer IBuffer IBuffer

The static value for this local characteristic descriptor.

Uuid Uuid Uuid Uuid

Gets the Bluetooth SIG-defined UUID for this local characteristic descriptor.

public : PlatForm::Guid Uuid { get; }public Guid Uuid { get; }Public ReadOnly Property Uuid As Guid// You can use this property in JavaScript.
Value
PlatForm::Guid Guid Guid Guid

The Bluetooth SIG-defined UUID for this local characteristic descriptor.

WriteProtectionLevel WriteProtectionLevel WriteProtectionLevel WriteProtectionLevel

Gets the write protection level.

public : GattProtectionLevel WriteProtectionLevel { get; }public GattProtectionLevel WriteProtectionLevel { get; }Public ReadOnly Property WriteProtectionLevel As GattProtectionLevel// You can use this property in JavaScript.

Events

ReadRequested ReadRequested ReadRequested ReadRequested

An event that is triggered when a read has been requested.

public : event TypedEventHandler ReadRequested<GattLocalDescriptor,  GattReadRequestedEventArgs>public event TypedEventHandler ReadRequested<GattLocalDescriptor,  GattReadRequestedEventArgs>Public Event ReadRequested<GattLocalDescriptor,  GattReadRequestedEventArgs>// You can use this event in JavaScript.

WriteRequested WriteRequested WriteRequested WriteRequested

An event that is triggered when a write has been requested.

public : event TypedEventHandler WriteRequested<GattLocalDescriptor,  GattWriteRequestedEventArgs>public event TypedEventHandler WriteRequested<GattLocalDescriptor,  GattWriteRequestedEventArgs>Public Event WriteRequested<GattLocalDescriptor,  GattWriteRequestedEventArgs>// You can use this event in JavaScript.