次の方法で共有


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

適用対象