FileDocCategorySizeDatePackage
SmsCbConstants.javaAPI DocAndroid 5.1 API6322Thu Mar 12 22:22:54 GMT 2015com.android.internal.telephony.gsm

SmsCbConstants

public class SmsCbConstants extends Object
Constants used in SMS Cell Broadcast messages (see 3GPP TS 23.041). This class is used by the boot-time broadcast channel enable and database upgrade code in CellBroadcastReceiver, so it is public, but should be avoided in favor of the radio technology independent constants in {@link android.telephony.SmsCbMessage}, {@link android.telephony.SmsCbEtwsInfo}, and {@link android.telephony.SmsCbCmasInfo} classes. {@hide}

Fields Summary
public static final int
MESSAGE_ID_PWS_FIRST_IDENTIFIER
Start of PWS Message Identifier range (includes ETWS and CMAS).
public static final int
MESSAGE_ID_ETWS_TYPE_MASK
Bitmask for messages of ETWS type (including future extensions).
public static final int
MESSAGE_ID_ETWS_TYPE
Value for messages of ETWS type after applying {@link #MESSAGE_ID_ETWS_TYPE_MASK}.
public static final int
MESSAGE_ID_ETWS_EARTHQUAKE_WARNING
ETWS Message Identifier for earthquake warning message.
public static final int
MESSAGE_ID_ETWS_TSUNAMI_WARNING
ETWS Message Identifier for tsunami warning message.
public static final int
MESSAGE_ID_ETWS_EARTHQUAKE_AND_TSUNAMI_WARNING
ETWS Message Identifier for earthquake and tsunami combined warning message.
public static final int
MESSAGE_ID_ETWS_TEST_MESSAGE
ETWS Message Identifier for test message.
public static final int
MESSAGE_ID_ETWS_OTHER_EMERGENCY_TYPE
ETWS Message Identifier for messages related to other emergency types.
public static final int
MESSAGE_ID_CMAS_FIRST_IDENTIFIER
Start of CMAS Message Identifier range.
public static final int
MESSAGE_ID_CMAS_ALERT_PRESIDENTIAL_LEVEL
CMAS Message Identifier for Presidential Level alerts.
public static final int
MESSAGE_ID_CMAS_ALERT_EXTREME_IMMEDIATE_OBSERVED
CMAS Message Identifier for Extreme alerts, Urgency=Immediate, Certainty=Observed.
public static final int
MESSAGE_ID_CMAS_ALERT_EXTREME_IMMEDIATE_LIKELY
CMAS Message Identifier for Extreme alerts, Urgency=Immediate, Certainty=Likely.
public static final int
MESSAGE_ID_CMAS_ALERT_EXTREME_EXPECTED_OBSERVED
CMAS Message Identifier for Extreme alerts, Urgency=Expected, Certainty=Observed.
public static final int
MESSAGE_ID_CMAS_ALERT_EXTREME_EXPECTED_LIKELY
CMAS Message Identifier for Extreme alerts, Urgency=Expected, Certainty=Likely.
public static final int
MESSAGE_ID_CMAS_ALERT_SEVERE_IMMEDIATE_OBSERVED
CMAS Message Identifier for Severe alerts, Urgency=Immediate, Certainty=Observed.
public static final int
MESSAGE_ID_CMAS_ALERT_SEVERE_IMMEDIATE_LIKELY
CMAS Message Identifier for Severe alerts, Urgency=Immediate, Certainty=Likely.
public static final int
MESSAGE_ID_CMAS_ALERT_SEVERE_EXPECTED_OBSERVED
CMAS Message Identifier for Severe alerts, Urgency=Expected, Certainty=Observed.
public static final int
MESSAGE_ID_CMAS_ALERT_SEVERE_EXPECTED_LIKELY
CMAS Message Identifier for Severe alerts, Urgency=Expected, Certainty=Likely.
public static final int
MESSAGE_ID_CMAS_ALERT_CHILD_ABDUCTION_EMERGENCY
CMAS Message Identifier for Child Abduction Emergency (Amber Alert).
public static final int
MESSAGE_ID_CMAS_ALERT_REQUIRED_MONTHLY_TEST
CMAS Message Identifier for the Required Monthly Test.
public static final int
MESSAGE_ID_CMAS_ALERT_EXERCISE
CMAS Message Identifier for CMAS Exercise.
public static final int
MESSAGE_ID_CMAS_ALERT_OPERATOR_DEFINED_USE
CMAS Message Identifier for operator defined use.
public static final int
MESSAGE_ID_CMAS_ALERT_PRESIDENTIAL_LEVEL_LANGUAGE
CMAS Message Identifier for Presidential Level alerts for Additional Languages.
public static final int
MESSAGE_ID_CMAS_LAST_IDENTIFIER
End of CMAS Message Identifier range (including future extensions).
public static final int
MESSAGE_ID_PWS_LAST_IDENTIFIER
End of PWS Message Identifier range (includes ETWS, CMAS, and future extensions).
public static final int
SERIAL_NUMBER_ETWS_ACTIVATE_POPUP
ETWS serial number flag to activate the popup display.
public static final int
SERIAL_NUMBER_ETWS_EMERGENCY_USER_ALERT
ETWS serial number flag to activate the emergency user alert.
public static final int
ETWS_WARNING_TYPE_EARTHQUAKE
ETWS warning type value for earthquake.
public static final int
ETWS_WARNING_TYPE_TSUNAMI
ETWS warning type value for tsunami.
public static final int
ETWS_WARNING_TYPE_EARTHQUAKE_AND_TSUNAMI
ETWS warning type value for earthquake and tsunami.
public static final int
ETWS_WARNING_TYPE_TEST
ETWS warning type value for test broadcast.
public static final int
ETWS_WARNING_TYPE_OTHER
ETWS warning type value for other notifications.
Constructors Summary
private SmsCbConstants()
Private constructor for utility class.

 
Methods Summary