GattCharacteristic.WriteValueWithResultAsync 메서드

정의

오버로드

WriteValueWithResultAsync(IBuffer)

Bluetooth LE 디바이스에 특성 값 쓰기를 수행합니다.

WriteValueWithResultAsync(IBuffer, GattWriteOption)

Bluetooth LE 디바이스에 특성 값 쓰기를 수행합니다.

WriteValueWithResultAsync(IBuffer)

Bluetooth LE 디바이스에 특성 값 쓰기를 수행합니다.

public:
 virtual IAsyncOperation<GattWriteResult ^> ^ WriteValueWithResultAsync(IBuffer ^ value) = WriteValueWithResultAsync;
/// [Windows.Foundation.Metadata.Overload("WriteValueWithResultAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattWriteResult> WriteValueWithResultAsync(IBuffer const& value);
[Windows.Foundation.Metadata.Overload("WriteValueWithResultAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattWriteResult> WriteValueWithResultAsync(IBuffer value);
function writeValueWithResultAsync(value)
Public Function WriteValueWithResultAsync (value As IBuffer) As IAsyncOperation(Of GattWriteResult)

매개 변수

value
IBuffer

Bluetooth LE 디바이스에 쓸 데이터를 포함하는 Windows.Storage.Streams.IBuffer 개체입니다.

반환

GattWriteResult 개체로 완료되는 비동기 작업입니다.

특성

Windows 요구 사항

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

적용 대상

WriteValueWithResultAsync(IBuffer, GattWriteOption)

Bluetooth LE 디바이스에 특성 값 쓰기를 수행합니다.

public:
 virtual IAsyncOperation<GattWriteResult ^> ^ WriteValueWithResultAsync(IBuffer ^ value, GattWriteOption writeOption) = WriteValueWithResultAsync;
/// [Windows.Foundation.Metadata.Overload("WriteValueWithResultAndOptionAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<GattWriteResult> WriteValueWithResultAsync(IBuffer const& value, GattWriteOption const& writeOption);
[Windows.Foundation.Metadata.Overload("WriteValueWithResultAndOptionAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<GattWriteResult> WriteValueWithResultAsync(IBuffer value, GattWriteOption writeOption);
function writeValueWithResultAsync(value, writeOption)
Public Function WriteValueWithResultAsync (value As IBuffer, writeOption As GattWriteOption) As IAsyncOperation(Of GattWriteResult)

매개 변수

value
IBuffer

Bluetooth LE 디바이스에 쓸 데이터를 포함하는 Windows.Storage.Streams.IBuffer 개체입니다.

writeOption
GattWriteOption

수행해야 하는 GATT 쓰기 유형을 지정합니다.

반환

GattWriteResult 개체로 완료되는 비동기 작업입니다.

특성

Windows 요구 사항

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

적용 대상