Freigeben über


AcceptedVoipPhoneCallOptions Class

Definition

Represents options to use when creating a new call.

public ref class AcceptedVoipPhoneCallOptions sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Calls.IAcceptedVoipPhoneCallOptionsFactory, 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 AcceptedVoipPhoneCallOptions final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Calls.IAcceptedVoipPhoneCallOptionsFactory), 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 AcceptedVoipPhoneCallOptions
Public NotInheritable Class AcceptedVoipPhoneCallOptions
Inheritance
Object Platform::Object IInspectable AcceptedVoipPhoneCallOptions
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

AcceptedVoipPhoneCallOptions()

Creates a default instance of AcceptedVoipPhoneCallOptions.

AcceptedVoipPhoneCallOptions(IIterable<String>)

Creates an instance of AcceptedVoipPhoneCallOptions 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.

ContactNumber

Gets or sets the phone number (if applicable) 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