Freigeben über


OutgoingVoipPhoneCallOptions Class

Definition

Represents options to use when creating a new call.

public ref class OutgoingVoipPhoneCallOptions sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Calls.IOutgoingVoipPhoneCallOptionsFactory, 327680, "Windows.ApplicationModel.Calls.CallsVoipContract")]
/// [Windows.Foundation.Metadata.Activatable(327680, "Windows.ApplicationModel.Calls.CallsVoipContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.CallsVoipContract, 327680)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class OutgoingVoipPhoneCallOptions final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Calls.IOutgoingVoipPhoneCallOptionsFactory), 327680, "Windows.ApplicationModel.Calls.CallsVoipContract")]
[Windows.Foundation.Metadata.Activatable(327680, "Windows.ApplicationModel.Calls.CallsVoipContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.CallsVoipContract), 327680)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class OutgoingVoipPhoneCallOptions
Public NotInheritable Class OutgoingVoipPhoneCallOptions
Inheritance
Object Platform::Object IInspectable OutgoingVoipPhoneCallOptions
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

Constructors

OutgoingVoipPhoneCallOptions()

Creates a default instance of OutgoingVoipPhoneCallOptions.

OutgoingVoipPhoneCallOptions(IIterable<String>)

Creates an instance of OutgoingVoipPhoneCallOptions from a list of device interface ids of call control devices to associate with the call.

Properties

AssociatedDeviceIds

Gets the list of device interface ids of call control devices that will be associated with the call on creation.

ContactName

Gets or sets the contact name or ID of the caller to be displayed on the call UI.

Context

Gets or sets a string that's passed to the VoIP app's foreground UI process as a deep link. This might be the contact name, or other data that helps the UI display more quickly.

Media

Gets or sets the media types of the new incoming call (either audio and video or audio only).

ServiceName

Gets or sets the name of the VoIP service or application.

Applies to