다음을 통해 공유


GattLocalService.CreateCharacteristicAsync 메서드

정의

이 로컬 서비스의 특성을 만듭니다.

public:
 virtual IAsyncOperation<GattLocalCharacteristicResult ^> ^ CreateCharacteristicAsync(Platform::Guid characteristicUuid, GattLocalCharacteristicParameters ^ parameters) = CreateCharacteristicAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattLocalCharacteristicResult> CreateCharacteristicAsync(winrt::guid const& characteristicUuid, GattLocalCharacteristicParameters const& parameters);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattLocalCharacteristicResult> CreateCharacteristicAsync(Guid characteristicUuid, GattLocalCharacteristicParameters parameters);
function createCharacteristicAsync(characteristicUuid, parameters)
Public Function CreateCharacteristicAsync (characteristicUuid As Guid, parameters As GattLocalCharacteristicParameters) As IAsyncOperation(Of GattLocalCharacteristicResult)

매개 변수

characteristicUuid
Guid

Platform::Guid

winrt::guid

특징적인 UUID입니다.

parameters
GattLocalCharacteristicParameters

특성 매개 변수입니다.

반환

비동기 작업

특성

Windows 요구 사항

앱 기능
bluetooth

적용 대상