public final class TelephonyConstants extends Object
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static int |
CALL_STATE_IDLE |
Indicates that there is no ongoing call.
|
static int |
CALL_STATE_OFFHOOK |
Indicates that a least one call is in the dialing, active, or hold state, and there is no new incoming call
ringing or waiting.
|
static int |
CALL_STATE_RINGING |
Indicates that an incoming call is ringing or waiting.
|
static int |
CALL_STATE_UNKNOWN |
Indicates an invalid state, which is used when the call state fails to be obtained.
|
static int |
CT_NATIONAL_ROAMING_CARD |
Icc card type: China Telecom Internal Roaming Card (Dual Mode).
|
static int |
CU_DUAL_MODE_CARD |
Icc card type: China Unicom Dual Mode Card.
|
static int |
DEFAULT_SLOT_ID |
Indicates the default card slot index.
|
static int |
DUAL_MODE_CG_CARD |
Icc card type: Double card C+G.
|
static int |
DUAL_MODE_TELECOM_LTE_CARD |
Icc card type: China Telecom LTE Card (Dual Mode).
|
static int |
DUAL_MODE_UG_CARD |
Icc card type: Double card U+G.
|
static int |
INVALID_SLOT_ID |
Indicates the invalid card slot index.
|
static int |
MAX_SIM_COUNT_DUAL |
Indicates that two SIM cards are supported.
|
static int |
MAX_SIM_COUNT_SINGLE |
Indicates that only one SIM card is supported.
|
static int |
MAX_SIM_COUNT_TRIPLE |
Indicates that three SIM cards are supported.
|
static int |
NETWORK_SELECTION_AUTOMATIC |
Automatic network selection modes.
|
static int |
NETWORK_SELECTION_MANUAL |
Manual network selection modes.
|
static int |
NETWORK_SELECTION_UNKNOWN |
Unknown network selection modes.
|
static int |
NETWORK_TYPE_CDMA |
Indicates that the network type is CDMA.
|
static int |
NETWORK_TYPE_GSM |
Indicates that the network type is GSM.
|
static int |
NETWORK_TYPE_LTE |
Indicates that the network type is LTE.
|
static int |
NETWORK_TYPE_NR |
Indicates that the network type is 5G NR.
|
static int |
NETWORK_TYPE_TDSCDMA |
Indicates that the network type is TD-SCDMA.
|
static int |
NETWORK_TYPE_UNKNOWN |
Indicates unknown network type.
|
static int |
NETWORK_TYPE_WCDMA |
Indicates that the network type is WCDMA.
|
static int |
NR_OPTION_NSA_AND_SA |
Indicates that the NR networking mode is NSA and SA.
|
static int |
NR_OPTION_NSA_ONLY |
Indicates that the NR networking mode is NSA only.
|
static int |
NR_OPTION_SA_ONLY |
Indicates that the NR networking mode is SA only.
|
static int |
NR_OPTION_UNKNOWN |
Indicates unknown NR networking mode.
|
static int |
RADIO_TECHNOLOGY_1XRTT |
Indicates that RAT is code division multiple access (CDMA), including Interim Standard 95 (IS95) and
Single-Carrier Radio Transmission Technology (1xRTT).
|
static int |
RADIO_TECHNOLOGY_EHRPD |
Indicates that RAT is evolved high rate packet data (EHRPD).
|
static int |
RADIO_TECHNOLOGY_EVDO |
Indicates that RAT is evolution data only (EVDO), including EVDO Rev.0, EVDO Rev.A, and EVDO Rev.B.
|
static int |
RADIO_TECHNOLOGY_GSM |
Indicates that RAT is global system for mobile communications (GSM), including GSM, general packet
radio system (GPRS), and enhanced data rates for GSM evolution (EDGE).
|
static int |
RADIO_TECHNOLOGY_HSPA |
Indicates that RAT is high-speed packet access (HSPA), including HSPA, high-speed downlink packet
access (HSDPA), and high-speed uplink packet access (HSUPA).
|
static int |
RADIO_TECHNOLOGY_HSPAP |
Indicates that RAT is evolved high-speed packet access (HSPA+), including HSPA+ and dual-carrier
HSPA+ (DC-HSPA+).
|
static int |
RADIO_TECHNOLOGY_IWLAN |
Indicates that RAT is interworking WLAN (I-WLAN).
|
static int |
RADIO_TECHNOLOGY_LTE |
Indicates that RAT is long term evolution (LTE).
|
static int |
RADIO_TECHNOLOGY_LTE_CA |
Indicates that RAT is LTE carrier aggregation (LTE-CA).
|
static int |
RADIO_TECHNOLOGY_NR |
Indicates that RAT is 5G new radio (NR).
|
static int |
RADIO_TECHNOLOGY_TD_SCDMA |
Indicates that RAT is time division-synchronous code division multiple access (TD-SCDMA).
|
static int |
RADIO_TECHNOLOGY_UNKNOWN |
Indicates unknown radio access technology (RAT).
|
static int |
RADIO_TECHNOLOGY_WCDMA |
Indicates that RAT is wideband code division multiple address (WCDMA).
|
static int |
RESULT_ERROR |
Indicates an interface call failure.
|
static int |
SIM_STATE_LOADED |
Indicates that the SIM card is in the loaded state, that is, the SIM card is in position and
is working properly.
|
static int |
SIM_STATE_LOCKED |
Indicates that the SIM card is in the locked state, that is, the SIM card is locked by the
personal identification number (PIN)/PIN unblocking key (PUK) or network.
|
static int |
SIM_STATE_NOT_PRESENT |
Indicates that the SIM card is in the not present state, that is, no SIM card is inserted
into the card slot.
|
static int |
SIM_STATE_NOT_READY |
Indicates that the SIM card is in the not ready state, that is, the SIM card is in position
but cannot work properly.
|
static int |
SIM_STATE_READY |
Indicates that the SIM card is in the ready state, that is, the SIM card is in position and
is working properly.
|
static int |
SIM_STATE_UNKNOWN |
Indicates unknown SIM card state, that is, the accurate status cannot be obtained.
|
static int |
SINGLE_MODE_RUIM_CARD |
Icc card type: Single ruim card type.
|
static int |
SINGLE_MODE_SIM_CARD |
Icc card type: Single sim card type.
|
static int |
SINGLE_MODE_USIM_CARD |
Icc card type: Single usim card type.
|
static int |
SLOT_ID_0 |
Indicates the index of card slot 1.
|
static int |
SLOT_ID_1 |
Indicates the index of card slot 2.
|
static int |
SLOT_ID_2 |
Indicates the index of card slot 3 (only for models supporting the SkyTone service).
|
static int |
UNKNOWN_CARD |
Icc card type: Unknown type Card.
|
| 构造器 | 说明 |
|---|---|
TelephonyConstants() |
public static final int CALL_STATE_IDLE
public static final int CALL_STATE_OFFHOOK
public static final int CALL_STATE_RINGING
public static final int CALL_STATE_UNKNOWN
public static final int CT_NATIONAL_ROAMING_CARD
public static final int CU_DUAL_MODE_CARD
public static final int DEFAULT_SLOT_ID
public static final int DUAL_MODE_CG_CARD
public static final int DUAL_MODE_TELECOM_LTE_CARD
public static final int DUAL_MODE_UG_CARD
public static final int INVALID_SLOT_ID
public static final int MAX_SIM_COUNT_DUAL
public static final int MAX_SIM_COUNT_SINGLE
public static final int MAX_SIM_COUNT_TRIPLE
public static final int NETWORK_SELECTION_AUTOMATIC
public static final int NETWORK_SELECTION_MANUAL
public static final int NETWORK_SELECTION_UNKNOWN
public static final int NETWORK_TYPE_CDMA
public static final int NETWORK_TYPE_GSM
public static final int NETWORK_TYPE_LTE
public static final int NETWORK_TYPE_NR
public static final int NETWORK_TYPE_TDSCDMA
public static final int NETWORK_TYPE_UNKNOWN
public static final int NETWORK_TYPE_WCDMA
public static final int NR_OPTION_NSA_AND_SA
public static final int NR_OPTION_NSA_ONLY
public static final int NR_OPTION_SA_ONLY
public static final int NR_OPTION_UNKNOWN
public static final int RADIO_TECHNOLOGY_1XRTT
public static final int RADIO_TECHNOLOGY_EHRPD
public static final int RADIO_TECHNOLOGY_EVDO
public static final int RADIO_TECHNOLOGY_GSM
public static final int RADIO_TECHNOLOGY_HSPA
public static final int RADIO_TECHNOLOGY_HSPAP
public static final int RADIO_TECHNOLOGY_IWLAN
public static final int RADIO_TECHNOLOGY_LTE
public static final int RADIO_TECHNOLOGY_LTE_CA
public static final int RADIO_TECHNOLOGY_NR
public static final int RADIO_TECHNOLOGY_TD_SCDMA
public static final int RADIO_TECHNOLOGY_UNKNOWN
public static final int RADIO_TECHNOLOGY_WCDMA
public static final int RESULT_ERROR
public static final int SIM_STATE_LOADED
public static final int SIM_STATE_LOCKED
public static final int SIM_STATE_NOT_PRESENT
public static final int SIM_STATE_NOT_READY
public static final int SIM_STATE_READY
public static final int SIM_STATE_UNKNOWN
public static final int SINGLE_MODE_RUIM_CARD
public static final int SINGLE_MODE_SIM_CARD
public static final int SINGLE_MODE_USIM_CARD
public static final int SLOT_ID_0
public static final int SLOT_ID_1
public static final int SLOT_ID_2
public static final int UNKNOWN_CARD