Share via


VoipPhoneCall.GetAssociatedCallControlDevices Method

Definition

Retrieves the list of call control device IDs that are associated with the call.

public:
 virtual IVectorView<Platform::String ^> ^ GetAssociatedCallControlDevices() = GetAssociatedCallControlDevices;
IVectorView<winrt::hstring> GetAssociatedCallControlDevices();
/// [Windows.Foundation.Metadata.Experimental]
IVectorView<winrt::hstring> GetAssociatedCallControlDevices();
public IReadOnlyList<string> GetAssociatedCallControlDevices();
[Windows.Foundation.Metadata.Experimental]
public IReadOnlyList<string> GetAssociatedCallControlDevices();
function getAssociatedCallControlDevices()
Public Function GetAssociatedCallControlDevices () As IReadOnlyList(Of String)

Returns

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

The list of call control device IDs that are associated with the call.

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

The returned list of device IDs is only those that were manually added on call creation, or via another method that modifies the associated call control devices list. If the call's IsUsingAssociatedDevicesList is false, then GetAssociatedCallControlDevices will return an empty list but all connected call control devices will be able to interact with the call. Note that a device’s ID is not automatically removed from this list when that device is disconnected, and that that device will still be able to interact with the call if it is later reconnected.

Applies to