Android.Telephony Namespace

Classes

AccessNetworkConstants

Contains access network related constants.

AccessNetworkConstants.AccessNetworkType
AccessNetworkConstants.EutranBand

Frequency bands for EUTRAN.

AccessNetworkConstants.GeranBand

Frequency bands for GERAN.

AccessNetworkConstants.NgranBands

Frequency bands for NGRAN https://www.

AccessNetworkConstants.UtranBand

Frequency bands for UTRAN.

AvailableNetworkInfo

Defines available network information which includes corresponding subscription id, network plmns and corresponding priority to be used for network selection by Opportunistic Network Service when passed through TelephonyManager#updateAvailableNetworks

AvailableNetworkInfo.Builder

Provides a convenient way to set the fields of a AvailableNetworkInfo when creating a new instance.

AvailableNetworkInfo.InterfaceConsts
BarringInfo

Provides the barring configuration for a particular service type.

BarringInfo.BarringServiceInfo

Describe the current barring configuration of a cell

BarringInfo.BarringServiceInfo.InterfaceConsts
BarringInfo.InterfaceConsts
CarrierConfigManager

Provides access to telephony configuration values that are carrier-specific.

CarrierConfigManager.Apn

Configs used for APN setup.

CarrierConfigManager.Bsf

This groups the BSF (BootStrapping Function) related configs.

CarrierConfigManager.CarrierConfigChangeEventArgs
CarrierConfigManager.Gps

GPS configs.

CarrierConfigManager.Ims

Configs used by the IMS stack.

CarrierConfigManager.ImsEmergency

Emergency Call/E911.

CarrierConfigManager.ImsRtt

IMS RTT configs.

CarrierConfigManager.ImsServiceEntitlement

Configs used by ImsServiceEntitlement.

CarrierConfigManager.ImsSms

IMS SMS configs.

CarrierConfigManager.ImsSs

IMS supplementary services configs.

CarrierConfigManager.ImsVoice

IMS Voice configs.

CarrierConfigManager.ImsVt

IMS Video Telephony configs.

CarrierConfigManager.ImsWfc

WiFi Calling.

CarrierConfigManager.Iwlan

Configs used for epdg tunnel bring up.

CellIdentity

CellIdentity represents the identity of a unique cell.

CellIdentity.InterfaceConsts
CellIdentityCdma

CellIdentity is to represent a unique CDMA cell

CellIdentityGsm

CellIdentity to represent a unique GSM cell

CellIdentityLte

CellIdentity is to represent a unique LTE cell

CellIdentityNr

Information to represent a unique NR(New Radio 5G) cell.

CellIdentityTdscdma

CellIdentity is to represent a unique TD-SCDMA cell

CellIdentityWcdma

CellIdentity to represent a unique UMTS cell

CellInfo

Immutable cell information from a point in time.

CellInfo.InterfaceConsts
CellInfoCdma

A CellInfo representing a CDMA cell that provides identity and measurement info.

CellInfoGsm

A CellInfo representing a GSM cell that provides identity and measurement info.

CellInfoLte

A CellInfo representing an LTE cell that provides identity and measurement info.

CellInfoNr

A CellInfo representing an 5G NR cell that provides identity and measurement info.

CellInfoTdscdma

A CellInfo representing a TD-SCDMA cell that provides identity and measurement info.

CellInfoWcdma

A CellInfo representing a WCDMA cell that provides identity and measurement info.

CellLocation

Abstract class that represents the location of the device.

CellSignalStrength

Abstract base class for cell phone signal strength related information.

CellSignalStrengthCdma

Signal strength related information.

CellSignalStrengthCdma.InterfaceConsts
CellSignalStrengthGsm

GSM signal strength related information.

CellSignalStrengthGsm.InterfaceConsts
CellSignalStrengthLte

LTE signal strength related information.

CellSignalStrengthLte.InterfaceConsts
CellSignalStrengthNr

5G NR signal strength related information.

CellSignalStrengthNr.InterfaceConsts
CellSignalStrengthTdscdma

Tdscdma signal strength related information.

CellSignalStrengthTdscdma.InterfaceConsts
CellSignalStrengthWcdma

Wcdma signal strength related information.

CellSignalStrengthWcdma.InterfaceConsts
ClosedSubscriberGroupInfo

Information to represent a closed subscriber group.

ClosedSubscriberGroupInfo.InterfaceConsts
DataFailCause

DataFailCause collects data connection failure causes code from different sources.

DisconnectCause

Describes the cause of a disconnected call.

IccOpenLogicalChannelResponse

Response to the TelephonyManager#iccOpenLogicalChannel command.

IccOpenLogicalChannelResponse.InterfaceConsts
MbmsDownloadSession

This class provides functionality for file download over MBMS.

MbmsGroupCallSession

This class provides functionality for accessing group call functionality over MBMS.

MbmsStreamingSession

This class provides functionality for streaming media over MBMS.

NeighboringCellInfo

Represents the neighboring cell information, including Received Signal Strength and Cell ID location.

NeighboringCellInfo.InterfaceConsts
NetworkRegistrationInfo

Description of a mobile network registration info

NetworkRegistrationInfo.InterfaceConsts
NetworkScan

The caller of TelephonyManager#requestNetworkScan(NetworkScanRequest, Executor, NetworkScanCallback) will receive an instance of NetworkScan, which contains a callback method #stopScan() for stopping the in-progress scan.

NetworkScanRequest

Defines a request to perform a network scan.

NetworkScanRequest.InterfaceConsts
PhoneNumberFormattingTextWatcher

Watches a android.widget.TextView and if a phone number is entered will format it.

PhoneNumberUtils

Various utilities for dealing with phone number strings.

PhoneStateListener

A listener class for monitoring changes in specific telephony states on the device, including service state, signal strength, message waiting indicator (voicemail), and others.

PhysicalChannelConfig
PhysicalChannelConfig.InterfaceConsts
PreciseDataConnectionState

Contains precise data connection state.

PreciseDataConnectionState.InterfaceConsts
RadioAccessSpecifier

Describes a particular radio access network to be scanned.

RadioAccessSpecifier.InterfaceConsts
ServiceState

Contains phone state and service related information.

ServiceState.InterfaceConsts
SignalStrength

Contains phone signal strength related information.

SignalStrength.InterfaceConsts
SignalStrengthUpdateRequest

Request used to register SignalThresholdInfo to be notified when the signal strength breach the specified thresholds.

SignalStrengthUpdateRequest.Builder

Builder class to create SignalStrengthUpdateRequest object.

SignalStrengthUpdateRequest.InterfaceConsts
SignalThresholdInfo

Defines the threshold value of the signal strength.

SignalThresholdInfo.Builder

Builder class to create SignalThresholdInfo objects.

SignalThresholdInfo.InterfaceConsts
SmsManager

Manages SMS operations such as sending data, text, and pdu SMS messages.

SmsManager.FinancialSmsCallback

callback for providing asynchronous sms messages for financial app.

SmsMessage

A Short Message Service message.

SmsMessage.MessageClass

SMS Class enumeration.

SmsMessage.SubmitPdu
SubscriptionInfo

A Parcelable class for Subscription Information.

SubscriptionInfo.InterfaceConsts
SubscriptionManager

Subscription manager provides the mobile subscription information.

SubscriptionManager.OnOpportunisticSubscriptionsChangedListener

A listener class for monitoring changes to SubscriptionInfo records of opportunistic subscriptions.

SubscriptionManager.OnSubscriptionsChangedListener

A listener class for monitoring changes to SubscriptionInfo records.

SubscriptionPlan

Description of a billing relationship plan between a carrier and a specific subscriber.

SubscriptionPlan.Builder

Builder for a SubscriptionPlan.

SubscriptionPlan.InterfaceConsts
TelephonyCallback

A callback class for monitoring changes in specific telephony states on the device, including service state, signal strength, message waiting indicator (voicemail), and others.

TelephonyCallback.ActiveDataSubscriptionIdEventArgs
TelephonyCallback.BarringInfoEventArgs
TelephonyCallback.CallDisconnectCauseEventArgs
TelephonyCallback.CallForwardingIndicatorEventArgs
TelephonyCallback.CallStateEventArgs
TelephonyCallback.CarrierNetworkEventArgs
TelephonyCallback.CellInfoEventArgs
TelephonyCallback.CellLocationEventArgs
TelephonyCallback.DataActivationStateEventArgs
TelephonyCallback.DataActivityEventArgs
TelephonyCallback.DataConnectionStateEventArgs
TelephonyCallback.DisplayInfoEventArgs
TelephonyCallback.EmergencyNumberListEventArgs
TelephonyCallback.ImsCallDisconnectCauseEventArgs
TelephonyCallback.MessageWaitingIndicatorEventArgs
TelephonyCallback.PhysicalChannelConfigEventArgs
TelephonyCallback.PreciseDataConnectionStateEventArgs
TelephonyCallback.RegistrationFailedEventArgs
TelephonyCallback.ServiceStateEventArgs
TelephonyCallback.SignalStrengthsEventArgs
TelephonyCallback.UserMobileDataStateEventArgs
TelephonyDisplayInfo

TelephonyDisplayInfo contains telephony-related information used for display purposes only.

TelephonyDisplayInfo.InterfaceConsts
TelephonyManager

Provides access to information about the telephony services on the device.

TelephonyManager.CallComposerException

Exception that may be supplied to the callback in #uploadCallComposerPicture if something goes awry.

TelephonyManager.CellInfoCallback

Callback for providing asynchronous CellInfo on request

TelephonyManager.ModemErrorException

Exception that is supplied to the callback in #getNetworkSlicingConfiguration if the modem returned a failure.

TelephonyManager.NetworkSlicingException

Exception that may be supplied to the callback in #getNetworkSlicingConfiguration if something goes awry.

TelephonyManager.TimeoutException

Exception that is supplied to the callback in #getNetworkSlicingConfiguration if the system timed out waiting for a response from the Radio.

TelephonyManager.UssdResponseCallback

Used to notify callers of TelephonyManager#sendUssdRequest(String, UssdResponseCallback, Handler) when the network either successfully executes a USSD request, or if there was a failure while executing the request.

TelephonyScanManager

Manages the radio access network scan requests and callbacks.

TelephonyScanManager.NetworkScanCallback

The caller of TelephonyManager#requestNetworkScan(NetworkScanRequest, Executor, NetworkScanCallback) should implement and provide this callback so that the scan results or errors can be returned.

UiccCardInfo

The UiccCardInfo represents information about a currently inserted UICC or embedded eUICC.

UiccCardInfo.InterfaceConsts
UiccPortInfo

UiccPortInfo class represents information about a single port contained on UiccCardInfo.

UiccPortInfo.InterfaceConsts
VisualVoicemailService

This service is implemented by dialer apps that wishes to handle OMTP or similar visual voicemails.

VisualVoicemailService.VisualVoicemailTask

Represents a visual voicemail event which needs to be handled.

VisualVoicemailSms

Represents the content of a visual voicemail SMS.

VisualVoicemailSms.InterfaceConsts
VisualVoicemailSmsFilterSettings

Class to represent various settings for the visual voicemail SMS filter.

VisualVoicemailSmsFilterSettings.Builder

Builder class for VisualVoicemailSmsFilterSettings objects.

VisualVoicemailSmsFilterSettings.InterfaceConsts

Interfaces

CarrierConfigManager.ICarrierConfigChangeListener

Listener interface to get a notification when the carrier configurations have changed.

TelephonyCallback.IActiveDataSubscriptionIdListener

Interface for active data subscription ID listener.

TelephonyCallback.IBarringInfoListener

Interface for barring information listener.

TelephonyCallback.ICallDisconnectCauseListener

Interface for call disconnect cause listener.

TelephonyCallback.ICallForwardingIndicatorListener

Interface for call-forwarding indicator listener.

TelephonyCallback.ICallStateListener

Interface for call state listener.

TelephonyCallback.ICarrierNetworkListener

Interface for carrier network listener.

TelephonyCallback.ICellInfoListener

Interface for cell info listener.

TelephonyCallback.ICellLocationListener

Interface for device cell location listener.

TelephonyCallback.IDataActivationStateListener

Interface for SIM data activation state listener.

TelephonyCallback.IDataActivityListener

Interface for data activity state listener.

TelephonyCallback.IDataConnectionStateListener

Interface for data connection state listener.

TelephonyCallback.IDisplayInfoListener

Interface for display info listener.

TelephonyCallback.IEmergencyNumberListListener

Interface for the current emergency number list listener.

TelephonyCallback.IImsCallDisconnectCauseListener

Interface for IMS call disconnect cause listener.

TelephonyCallback.IMessageWaitingIndicatorListener

Interface for message waiting indicator listener.

TelephonyCallback.IPhysicalChannelConfigListener

Interface for current physical channel configuration listener.

TelephonyCallback.IPreciseDataConnectionStateListener

Interface for precise data connection state listener.

TelephonyCallback.IRegistrationFailedListener

Interface for registration failures listener.

TelephonyCallback.IServiceStateListener

Interface for service state listener.

TelephonyCallback.ISignalStrengthsListener

Interface for network signal strengths listener.

TelephonyCallback.IUserMobileDataStateListener

Interface for user mobile data state listener.

Enums

AllowedNetworkTypesReason
AutheenticationType
AvailableNetworkInfoPriority
BarringServiceType
BarringType
BcdExtendedType
CallComposerErrorCode
CallComposerStatus
CallDisconnectCause
CallState

Enumerates values returned by several types and taken as a parameter of the F:Android.Telephony.PhoneStateListener.OnCallStateChanged member.

CarrierCallWaitingSyncType
CarrierImsSmsFormat
CarrierImsSupplementaryService
CarrierRestrictionStatus
CellConnectionStatus
D2DSharing
DataActivity

Enumerates values returned by several types and taken as a parameter of the F:Android.Telephony.PhoneStateListener.OnDataActivity member.

DataConnectionStatus
DataEnabledReason
DataFailCauseType
DataLimitBehavior
DataRoamingMode
DuplexMode
EnhancedRoamingIndicator
IccOpenLogicalChannelResponseStatus

Enumerates values returned by several types.

ImsGeolocationPidfFor
ImsIpsecAuthenticationAlgorithm
ImsIpsecEncryptionAlgorithm
ImsNetworkType
ImsPreferredTransport
ImsRequestUriFormat
ImsVoiceConferenceSubscribeType
ImsVoiceEvsEncodedBwType
ImsVoiceEvsOperationalMode
ImsVoiceEvsPrimaryModeBitrate
ImsVoicePayloadFormat
ImsVoiceSessionPrivacyType
ImsVoiceSessionRefresherType
ImsVoiceSessionRefreshMethod
ImsVoiceSrvccSupport
IncludeLocationDataType
IwlanAuthenticationMethod
IwlanEpdgAddressPreference
IwlanEpdgAddressType
IwlanIdType
MmsError

Enumerates values returned by several methods of MmsError.

MultiSimMode
NetworkRegistrationInfoDomain
NetworkRegistrationInfoNrState
NetworkRegistrationInfoServiceType
NetworkScanType
NetworkSelectionMode
NetworkType
OverrideNetworkType
PhoneNumberFormat

Enumerates values returned by several types and taken as a parameter of the F:Android.Telephony.PhoneNumberUtils.FormatNumber member.

PhoneNumberSource
PhoneNumberToa

Enumerates values returned by several types and taken as a parameter of the F:Android.Telephony.PhoneNumberUtils.StringFromStringAndTOA member.

PhoneState

Enumerates values returned by several types and taken as a parameter of the F:Android.Telephony.TelephonyManager.Listen, and F:Android.Telephony.TelephonyManager.Listen members.

PhoneStateListenerFlags

Enumerates values returned by several methods of PhoneStateListenerFlags and taken as a parameter of the F:Android.Telephony.TelephonyManager.Listen member.

PhoneType

Enumerates values returned by several types.

PhysicalChannelConnectionStatus
PremiumCapability
PurchasePremiumCapabilityResult
ScanResultCode
SignalMeasurementType
SimState

Enumerates values returned by several types.

SmsEncoding

Enumerates values returned by several methods of SmsEncoding.

SmsResult
SmsResultError

Enumerates values returned by several methods of SmsResultError.

SmsRpCause
SmsStatus

Enumerates values returned by several types.

SubscriptionType
TelephonyManagerErrorCode
UiccApplicationType
UsageSetting
UssdResultCode