CustomSensor.GetDeviceSelector(Guid) Method

Definition

Gets the device selector from the given interface identifier.

public:
 static Platform::String ^ GetDeviceSelector(Platform::Guid interfaceId);
 static winrt::hstring GetDeviceSelector(winrt::guid const& interfaceId);
public static string GetDeviceSelector(Guid interfaceId);
function getDeviceSelector(interfaceId)
Public Shared Function GetDeviceSelector (interfaceId As Guid) As String

Parameters

interfaceId
Guid

Platform::Guid

winrt::guid

The interface Guid that is associated with the custom sensor. This Guid is defined and registered by the sensor.

Returns

String

Platform::String

winrt::hstring

Returns the device selector, if it exists; otherwise, null.

Applies to