다음을 통해 공유


GattSession.FromDeviceIdAsync(BluetoothDeviceId) 메서드

정의

지정된 deviceId에서 새 GattSession 개체를 만듭니다.

public:
 static IAsyncOperation<GattSession ^> ^ FromDeviceIdAsync(BluetoothDeviceId ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<GattSession> FromDeviceIdAsync(BluetoothDeviceId const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<GattSession> FromDeviceIdAsync(BluetoothDeviceId deviceId);
function fromDeviceIdAsync(deviceId)
Public Shared Function FromDeviceIdAsync (deviceId As BluetoothDeviceId) As IAsyncOperation(Of GattSession)

매개 변수

deviceId
BluetoothDeviceId

deviceId입니다.

반환

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

특성

Windows 요구 사항

앱 기능
bluetooth

적용 대상