GattLocalCharacteristic GattLocalCharacteristic GattLocalCharacteristic GattLocalCharacteristic GattLocalCharacteristic Class

Definition

This class represents a local characteristic.

public : sealed class GattLocalCharacteristic
struct winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic
public sealed class GattLocalCharacteristic
Public NotInheritable Class GattLocalCharacteristic
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 Creators Update (introduced v10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v4)
Capabilities
bluetooth

Properties

CharacteristicProperties CharacteristicProperties CharacteristicProperties CharacteristicProperties CharacteristicProperties

Gets the local characteristic properties.

Descriptors Descriptors Descriptors Descriptors Descriptors

Gets a vector list of all the descriptors for this local characteristic.

PresentationFormats PresentationFormats PresentationFormats PresentationFormats PresentationFormats

Gets the presentation formats for this local characteristic.

ReadProtectionLevel ReadProtectionLevel ReadProtectionLevel ReadProtectionLevel ReadProtectionLevel

Gets the read protection level of this local characteristic.

StaticValue StaticValue StaticValue StaticValue StaticValue

Gets the static value for this local GATT characteristic.

SubscribedClients SubscribedClients SubscribedClients SubscribedClients SubscribedClients

Gets a vector list of all clients that are subscribed to this local characteristic.

UserDescription UserDescription UserDescription UserDescription UserDescription

Gets the user-friendly description for this local characteristic.

Uuid Uuid Uuid Uuid Uuid

Gets the BluetoothSIG-defined UUID for this local characteristic.

WriteProtectionLevel WriteProtectionLevel WriteProtectionLevel WriteProtectionLevel WriteProtectionLevel

Gets the write protection level of this local characteristic.

Methods

CreateDescriptorAsync(Guid, GattLocalDescriptorParameters) CreateDescriptorAsync(Guid, GattLocalDescriptorParameters) CreateDescriptorAsync(Guid, GattLocalDescriptorParameters) CreateDescriptorAsync(Guid, GattLocalDescriptorParameters) CreateDescriptorAsync(Guid, GattLocalDescriptorParameters)

Creates descriptor for this local characteristic.

NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer) NotifyValueAsync(IBuffer)

Send and notifies all subscribed clients a GattSubscribedClient of a value.

NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient) NotifyValueAsync(IBuffer, GattSubscribedClient)

Sends and notifies a GattSubscribedClient of a value.

Events

ReadRequested ReadRequested ReadRequested ReadRequested ReadRequested

An event that is triggered when a GATT client requests a read operation.

SubscribedClientsChanged SubscribedClientsChanged SubscribedClientsChanged SubscribedClientsChanged SubscribedClientsChanged

An event that triggers when the clients subscribed to this local characteristic changes.

WriteRequested WriteRequested WriteRequested WriteRequested WriteRequested

This is an event that is triggered when a write was requested.