HingeAngleSensor.FromIdAsync(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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