Share via


CallControl.FromId(String) Method

Definition

Returns a CallControl class that represents the audio communications device specified by the DeviceInformation ID being passed.

public:
 static CallControl ^ FromId(Platform::String ^ deviceId);
 static CallControl FromId(winrt::hstring const& deviceId);
public static CallControl FromId(string deviceId);
function fromId(deviceId)
Public Shared Function FromId (deviceId As String) As CallControl

Parameters

deviceId
String

Platform::String

winrt::hstring

The DeviceInformation ID of the specified audio communications device.

Returns

A class that represents the specified audio communications device.

Remarks

This method may return a NULL pointer if the device doesn't support this functionality.

Applies to