Dela via


HingeAngleSensor.FromIdAsync(String) Method

Definition

Obtains the hinge angle sensor from the identifier.

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)

Parameters

deviceId
String

Platform::String

winrt::hstring

The sensor identifier.

Returns

The HingeAngleSensor object from its identifier.

Attributes

Applies to