Application Model. Calls Namespace
Controls multiple aspects of how an application on the phone behaves, including lock-screen interaction, the phone call history, and various telephony options and information.
The LockScreenCallEndCallDeferral object signals when the app no longer needs to defer the removal of itself from the lock screen.
Controls the removal of an app from the lock screen.
Deprecated. Handles communication to and from the lock screen.
Controls the blocking of phone numbers as they are received.
A collection of information about a phone call for the call history.
Address book information for a contact used by PhoneCallHistoryEntry objects.
Options for querying the phone call entries.
Enables the calling app to read through the phone call history entries.
Provides APIs for the application to get access to the PhoneCallHistoryStore.
Provides APIs for the application to get access to the PhoneCallHistoryStore for a specific user.
A collection of phone call history entries.
Provides the ability to query the call status and launch phone calls.
Represents a collection of information about the phone lines available on a device.
Provides access to the video call capabilities for a PhoneLine instance.
Represents options for dialing a call.
Represents a phone line.
Provides detailed interaction with the cellular components of a phone line.
A collection of properties providing information about a phone line.
Represents the hardware device associated with a PhoneLine. Currently only supported for use with bluetooth devices.
Represents a class that monitors for new/removed/updated phone lines on the device and notifies listeners about any changes.
Represents a class that contains the information about which phone line was added, removed, or updated.
Represents the voice mail data associated with a PhoneLine instance.
Allows an application to manage VoIP calls.
Represents a VoIP phone call.
Indicates the type of dual tone multi-frequency (DTMF) used by a cellular phone.
The available audio endpoints you can use for dialing a phone call.
The type of media associated with a call.
The level of read access provided to other applications.
A filter used to retrieve call entries based on the contained media.
The type of address used by the PhoneCallHistoryEntryAddress.
The type of identifier that the PhoneCallHistoryEntry.SourceId refers to.
The type of store you want to retrieve.
The types of media available in a phone call.
The possible locations for displaying network operator information to the user.
The transport used by a particular phone line.
The current status of the PhoneLineWatcher.
Describes the network registration status of a phone line.
The current state of the SIM card for a cellular phone line.
The type of voice mail associated with a PhoneLine instance.
Specifies the media types used by a VoIP call.
Specifies the reason that an incoming call was rejected.
Indicates the result of attempting to reserve VoIP resources.
Specifies the state of a VoIP call.
This namespace is divided into three primary categories of classes and enumerations. These categories are the lock screen, the phone call history, and the telephony options and information.
The lock-screen-call contract lets an app, with user consent, perform these tasks:
- Raise a notification toast with up to three additional buttons: Accept with Video, Accept with Audio, Ignore.
- If the notification toast appears on the lock screen and the user chooses to accept the call, the app displays its call UI directly on the lock screen without requiring the user to unlock.
The telephony options and information classes use the CallsPhoneContract. In order to use these classes, you will need to declare the
phoneCall capability in your manifest.
If your application uses the phoneCall capability, you must request a waiver if you want to publish your application in China. Contact your premier support representative if you need the waiver.
An example that demonstrates how to use much of the functionality of the Windows.ApplicationModel.Calls API can be found here.