BluetoothDevice.FromIdAsync(String) 메서드

정의

지정된 DeviceId로 식별된 BluetoothDevice 개체를 반환합니다.

public:
 static IAsyncOperation<BluetoothDevice ^> ^ FromIdAsync(Platform::String ^ deviceId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<BluetoothDevice> FromIdAsync(winrt::hstring const& deviceId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<BluetoothDevice> FromIdAsync(string deviceId);
function fromIdAsync(deviceId)
Public Shared Function FromIdAsync (deviceId As String) As IAsyncOperation(Of BluetoothDevice)

매개 변수

deviceId
String

Platform::String

winrt::hstring

BluetoothDevice instance 식별하는 DeviceId 값입니다.

반환

비동기 작업이 완료되면 지정된 DeviceId로 식별된 BluetoothDevice 개체를 반환합니다.

특성

Windows 요구 사항

앱 기능
bluetooth

설명

이 메서드는 UI 스레드에서 호출해야 합니다.

적용 대상