VoipPhoneCall.RemoveAssociatedCallControlDevice(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.
Removes from the list of associated devices for a call.
public:
virtual void RemoveAssociatedCallControlDevice(Platform::String ^ deviceId) = RemoveAssociatedCallControlDevice;
void RemoveAssociatedCallControlDevice(winrt::hstring const& deviceId);
/// [Windows.Foundation.Metadata.Experimental]
void RemoveAssociatedCallControlDevice(winrt::hstring const& deviceId);
public void RemoveAssociatedCallControlDevice(string deviceId);
[Windows.Foundation.Metadata.Experimental]
public void RemoveAssociatedCallControlDevice(string deviceId);
function removeAssociatedCallControlDevice(deviceId)
Public Sub RemoveAssociatedCallControlDevice (deviceId As String)
Parameters
- deviceId
-
String
Platform::String
winrt::hstring
A device ID to be removed from the list of associated devices for a call while it's active. If the ID isn't present in the list, then trying to remove it with RemoveAssociatedCallControlDevice 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 removing this device ID leaves the list empty, then no call control device will be able to interact with the call. But the call's IsUsingAssociatedDevicesList won't be set back to false
.