VoipPhoneCall.AddAssociatedCallControlDevice(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.
Adds to the list of associated devices for a call.
public:
virtual void AddAssociatedCallControlDevice(Platform::String ^ deviceId) = AddAssociatedCallControlDevice;
void AddAssociatedCallControlDevice(winrt::hstring const& deviceId);
/// [Windows.Foundation.Metadata.Experimental]
void AddAssociatedCallControlDevice(winrt::hstring const& deviceId);
public void AddAssociatedCallControlDevice(string deviceId);
[Windows.Foundation.Metadata.Experimental]
public void AddAssociatedCallControlDevice(string deviceId);
function addAssociatedCallControlDevice(deviceId)
Public Sub AddAssociatedCallControlDevice (deviceId As String)
Parameters
- deviceId
-
String
Platform::String
winrt::hstring
A new device ID to add to the list of associated devices for a call while it's active. If the ID is already in the list, then it will be ignored. The ID of a device whose VoipCallControlDeviceKind isn't currently supported for association will still be added, but will have no effect. If the ID is already present in the list, then trying to add it with AddAssociatedCallControlDevice will have no effect.
- Attributes
Windows requirements
Device family |
Windows 11, version 24H2 (introduced in 10.0.26100.0)
|
API contract |
Windows.ApplicationModel.Calls.CallsVoipContract (introduced in v5.0)
|
App capabilities |
voipCall
|
Remarks
If this is the first time any device ID has been added to the list, then the call's IsUsingAssociatedDevicesList will be set to true
; and only this device will be used going forward.