GattLocalCharacteristic 클래스

정의

이 클래스는 로컬 특성을 나타냅니다.

public ref class GattLocalCharacteristic 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 GattLocalCharacteristic final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class GattLocalCharacteristic 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 GattLocalCharacteristic
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class GattLocalCharacteristic
Public NotInheritable Class GattLocalCharacteristic
상속
Object Platform::Object IInspectable GattLocalCharacteristic
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Creators Update (10.0.15063.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v4.0에서 도입되었습니다.)
앱 기능
bluetooth

설명

구독 된 클라이언트에 알림 보내기도 참조하세요.

속성

CharacteristicProperties

로컬 특성 속성을 가져옵니다.

Descriptors

이 로컬 특성에 대한 모든 설명자의 벡터 목록을 가져옵니다.

PresentationFormats

이 로컬 특성에 대한 프레젠테이션 형식을 가져옵니다.

ReadProtectionLevel

이 로컬 특성의 읽기 보호 수준을 가져옵니다.

StaticValue

이 로컬 GATT 특성에 대한 정적 값을 가져옵니다.

SubscribedClients

이 로컬 특성을 구독하는 모든 클라이언트의 벡터 목록을 가져옵니다.

UserDescription

이 로컬 특성에 대한 사용자에게 친숙한 설명을 가져옵니다.

Uuid

이 로컬 특성에 대한 BluetoothSIG 정의 UUID를 가져옵니다.

WriteProtectionLevel

이 로컬 특성의 쓰기 보호 수준을 가져옵니다.

메서드

CreateDescriptorAsync(Guid, GattLocalDescriptorParameters)

이 로컬 특성에 대한 설명자를 만듭니다.

NotifyValueAsync(IBuffer)

구독된 모든 클라이언트에 값의 GattSubscribedClient를 보내고 알 수 있습니다.

NotifyValueAsync(IBuffer, GattSubscribedClient)

값의 GattSubscribedClient를 보내고 알 수 있습니다.

이벤트

ReadRequested

GATT 클라이언트가 읽기 작업을 요청할 때 트리거되는 이벤트입니다.

SubscribedClientsChanged

이 로컬 특성에 가입한 클라이언트의 컬렉션이 변경될 때 발생하는 이벤트입니다(즉, 클라이언트가 해당 컬렉션에 추가되거나 제거됨).

WriteRequested

쓰기가 요청되었을 때 트리거되는 이벤트입니다.

적용 대상

추가 정보