Delen via


GattLocalDescriptor Class

Definition

This class defines a descriptor of a local characteristic.

public ref class GattLocalDescriptor sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class GattLocalDescriptor final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GattLocalDescriptor final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class GattLocalDescriptor
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GattLocalDescriptor
Public NotInheritable Class GattLocalDescriptor
Inheritance
Object Platform::Object IInspectable GattLocalDescriptor
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)
App capabilities
bluetooth

Properties

ReadProtectionLevel

Gets the read protection level of this local characteristic descriptor.

StaticValue

Gets the static value for this local characteristic descriptor.

Uuid

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

WriteProtectionLevel

Gets the write protection level.

Events

ReadRequested

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

WriteRequested

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

Applies to