BluetoothAdapter.FromIdAsync(String) 메서드

정의

지정된 DeviceId로 식별된 BluetoothAdapter 개체를 가져옵니다.

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

매개 변수

deviceId
String

Platform::String

winrt::hstring

BluetoothAdapter instance 식별하는 DeviceId 값입니다. 이는 MatchingDeviceId, MAC 주소 및 디바이스 클래스를 나타내는 GUID 를 포함하는 레지스트리 정보를 결합하는 복합 문자열입니다. 이것은 Windows.Devices.Enumeration.DeviceInformation.Id 다릅니다. 그러나 둘 다 식별자 문자열 내에 포함된 Bluetooth 라디오 디바이스의 MAC 주소를 포함합니다.

반환

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

특성

Windows 요구 사항

앱 기능
bluetooth

적용 대상