GattServiceProviderTrigger 클래스

정의

백그라운드에서 유지할 수 있는 GATT(제네릭 특성) 서비스를 생성합니다.

public ref class GattServiceProviderTrigger sealed : IBackgroundTrigger
/// [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 GattServiceProviderTrigger final : IBackgroundTrigger
[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 GattServiceProviderTrigger : IBackgroundTrigger
Public NotInheritable Class GattServiceProviderTrigger
Implements IBackgroundTrigger
상속
Object Platform::Object IInspectable GattServiceProviderTrigger
특성
구현

Windows 요구 사항

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

설명

GATT는 연결된 Bluetooth LE(저에너지) 디바이스에 노출되는 계층적 데이터 구조를 정의합니다.

속성

AdvertisingParameters

라디오가 연결/검색 가능한지 여부를 제어하는 광고 매개 변수를 가져옵니다.

Service

이 트리거와 연결된 서비스를 가져옵니다.

TriggerId

트리거 식별자를 가져옵니다.

메서드

CreateAsync(String, Guid)

GATT 공급자 서비스를 만듭니다.

적용 대상

추가 정보