AppInitiatedVoipPhoneCallOptions Class
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.
Represents options to use when creating a new call.
public ref class AppInitiatedVoipPhoneCallOptions sealed
/// [Windows.Foundation.Metadata.Activatable(327680, "Windows.ApplicationModel.Calls.CallsVoipContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Calls.IAppInitiatedVoipPhoneCallOptionsFactory, 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 AppInitiatedVoipPhoneCallOptions final
[Windows.Foundation.Metadata.Activatable(327680, "Windows.ApplicationModel.Calls.CallsVoipContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Calls.IAppInitiatedVoipPhoneCallOptionsFactory), 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 AppInitiatedVoipPhoneCallOptions
Public NotInheritable Class AppInitiatedVoipPhoneCallOptions
- Inheritance
- 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
AppInitiatedVoipPhoneCallOptions() |
Creates a default instance of AppInitiatedVoipPhoneCallOptions. |
AppInitiatedVoipPhoneCallOptions(IIterable<String>) |
Creates an instance of AppInitiatedVoipPhoneCallOptions 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 of the caller to be displayed on the call UI. |
Context |
Gets or sets a string that's passed to the associated foreground app as a deep link. |
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. |