IncomingVoipPhoneCallOptions 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 IncomingVoipPhoneCallOptions sealed
/// [Windows.Foundation.Metadata.Activatable(327680, "Windows.ApplicationModel.Calls.CallsVoipContract")]
/// [Windows.Foundation.Metadata.Activatable(Windows.ApplicationModel.Calls.IIncomingVoipPhoneCallOptionsFactory, 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 IncomingVoipPhoneCallOptions final
[Windows.Foundation.Metadata.Activatable(327680, "Windows.ApplicationModel.Calls.CallsVoipContract")]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.ApplicationModel.Calls.IIncomingVoipPhoneCallOptionsFactory), 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 IncomingVoipPhoneCallOptions
Public NotInheritable Class IncomingVoipPhoneCallOptions
- 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
IncomingVoipPhoneCallOptions() |
Creates a default instance of IncomingVoipPhoneCallOptions. |
IncomingVoipPhoneCallOptions(IIterable<String>) |
Creates an instance of IncomingVoipPhoneCallOptions 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. |
BrandingImage |
Gets or sets the uri of an audio asset file containing the branding image of the VoIP service or application. |
CallDetails |
Gets or sets a string containing details of the call. |
ContactImage |
Gets or sets the contact image of the caller to be displayed on the call UI. |
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. |
ContactRemoteId |
Gets or sets the remote ID of the caller. |
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). |
RingTimeout |
Gets or sets the timeout value of the call. |
Ringtone |
Gets or sets the uri of an audio asset file containing the ringtone. |
ServiceName |
Gets or sets the name of the VoIP service or application. |