CallControl.FromId(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.
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.