HingeAngleSensor.FromIdAsync(String) 方法

定义

从标识符获取铰链角度传感器。

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

参数

deviceId
String

Platform::String

winrt::hstring

传感器标识符。

返回

来自其标识符的 HingeAngleSensor 对象。

属性

适用于