CoreTelephony Namespace
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.
The CoreTelephony namespace provides classes that provide information about the cellular network provider and the current call.
Classes
| Name | Description |
|---|---|
| CTCall |
Encapsulates a unique identifier for a call and it's state. |
| CTCallCenter |
Holds a list of current calls and triggers events when their states change. |
| CTCarrier |
Contains information about the application user's home cellular service provider. |
| CTCellularData | |
| CTCellularPlanLifecycleProperties |
Represents lifecycle properties for a cellular plan. |
| CTCellularPlanProperties | |
| CTCellularPlanProvisioning | |
| CTCellularPlanProvisioningRequest | |
| CTCellularPlanStatus | |
| CTCellularPlanStatusHintResult |
This class holds the return values for an asynchronous operation. |
| CTQuickSwitchManager |
Enables an app to register for and query a device's quick-switch state. |
| CTQuickSwitchManagerDelegate |
Methods for responding to changes in a device's quick-switch state. |
| CTRadioAccessTechnology |
Defines constants describing various telephone radio technogies. |
| CTSubscriber |
Carrier information for a subscriber. |
| CTSubscriberInfo |
Information on a subscriber to a telephone service. |
| CTTelephonyNetworkInfo |
A class that holds information on the application user's cellular service provider. |
| CTTelephonyNetworkInfo.Notifications |
Notifications posted by the CTTelephonyNetworkInfo class. |
| CTTelephonyNetworkInfoDelegate |
This is a class that implements the interface ICTTelephonyNetworkInfoDelegate (for the protocol Subclass this class to easily create a type that implements the protocol. An alternative is to create a subclass of NSObject and then implemented the interface ICTTelephonyNetworkInfoDelegate. |
| CTTelephonyNetworkInfoDelegate_Extensions |
Extension methods to the ICTTelephonyNetworkInfoDelegate interface to support all the methods from the CTTelephonyNetworkInfoDelegate protocol. |
Interfaces
| Name | Description |
|---|---|
| ICTQuickSwitchManagerDelegate |
Methods for responding to changes in a device's quick-switch state. |
| ICTSubscriberDelegate |
This interface represents the Objective-C protocol |
| ICTTelephonyNetworkInfoDelegate |
This interface represents the Objective-C protocol |
Enums
| Name | Description |
|---|---|
| CTCellularDataRestrictedState |
Enumerates data restrictions for RestrictedState. |
| CTCellularPlanCapability | |
| CTCellularPlanProvisioningAddPlanResult |
Enumerates the results of adding a cellular plan. |
| CTCellularPlanStatusAuthorization |
Constants that indicate the authorization status for accessing cellular plan information for a phone number. |
| CTCellularPlanStatusAvailability |
Constants that indicate whether the device has a cellular plan for a phone number. |
| CTCellularPlanStatusAvailabilityConfidence |
Constants that indicate the system's confidence that the device has a cellular plan for a phone number. |
| CTErrorDomain |
An enumeration whose values specify an error domain. |
| CTQuickSwitchState |
Values that describe a device's quick-switch status. |
Delegates
| Name | Description |
|---|---|
| CTCellularPlanProvisioningAddPlanCompletionHandler | |
| CTCellularPlanProvisioningUpdateCellularPlanCompletionHandler | |
| CTCellularPlanStatusAuthorizationCompletionHandler |
Handles the result of a cellular plan status authorization operation. |
| CTCellularPlanStatusCheckValidityCompletionHandler | |
| CTCellularPlanStatusGetTokenCompletionHandler | |
| CTCellularPlanStatusHintCompletionHandler |
Handles the result of a cellular plan status hint operation. |
| CTQuickSwitchManagerCompletionHandler |
Handles the completion of a quick-switch manager operation. |
| CTQuickSwitchManagerStateCompletionHandler |
Handles the result of a quick-switch state query. |
Remarks
The APIs in this namespace are used to fetch information about the cellular network provider and the current call.