Fields Summary |
---|
public static final int | CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERTPresidential-level alert (Korean Public Alert System Class 0 message). |
public static final int | CMAS_CLASS_EXTREME_THREATExtreme threat to life and property (Korean Public Alert System Class 1 message). |
public static final int | CMAS_CLASS_SEVERE_THREATSevere threat to life and property (Korean Public Alert System Class 1 message). |
public static final int | CMAS_CLASS_CHILD_ABDUCTION_EMERGENCYChild abduction emergency (AMBER Alert). |
public static final int | CMAS_CLASS_REQUIRED_MONTHLY_TESTCMAS test message. |
public static final int | CMAS_CLASS_CMAS_EXERCISECMAS exercise. |
public static final int | CMAS_CLASS_OPERATOR_DEFINED_USECMAS category for operator defined use. |
public static final int | CMAS_CLASS_UNKNOWNCMAS category for warning types that are reserved for future extension. |
public static final int | CMAS_CATEGORY_GEOCMAS alert category: Geophysical including landslide. |
public static final int | CMAS_CATEGORY_METCMAS alert category: Meteorological including flood. |
public static final int | CMAS_CATEGORY_SAFETYCMAS alert category: General emergency and public safety. |
public static final int | CMAS_CATEGORY_SECURITYCMAS alert category: Law enforcement, military, homeland/local/private security. |
public static final int | CMAS_CATEGORY_RESCUECMAS alert category: Rescue and recovery. |
public static final int | CMAS_CATEGORY_FIRECMAS alert category: Fire suppression and rescue. |
public static final int | CMAS_CATEGORY_HEALTHCMAS alert category: Medical and public health. |
public static final int | CMAS_CATEGORY_ENVCMAS alert category: Pollution and other environmental. |
public static final int | CMAS_CATEGORY_TRANSPORTCMAS alert category: Public and private transportation. |
public static final int | CMAS_CATEGORY_INFRACMAS alert category: Utility, telecom, other non-transport infrastructure. |
public static final int | CMAS_CATEGORY_CBRNECMAS alert category: Chem, bio, radiological, nuclear, high explosive threat or attack. |
public static final int | CMAS_CATEGORY_OTHERCMAS alert category: Other events. |
public static final int | CMAS_CATEGORY_UNKNOWNCMAS alert category is unknown. The category is only available for CDMA broadcasts
containing a type 1 elements record, so GSM and UMTS broadcasts always return unknown. |
public static final int | CMAS_RESPONSE_TYPE_SHELTERCMAS response type: Take shelter in place. |
public static final int | CMAS_RESPONSE_TYPE_EVACUATECMAS response type: Evacuate (Relocate). |
public static final int | CMAS_RESPONSE_TYPE_PREPARECMAS response type: Make preparations. |
public static final int | CMAS_RESPONSE_TYPE_EXECUTECMAS response type: Execute a pre-planned activity. |
public static final int | CMAS_RESPONSE_TYPE_MONITORCMAS response type: Attend to information sources. |
public static final int | CMAS_RESPONSE_TYPE_AVOIDCMAS response type: Avoid hazard. |
public static final int | CMAS_RESPONSE_TYPE_ASSESSCMAS response type: Evaluate the information in this message (not for public warnings). |
public static final int | CMAS_RESPONSE_TYPE_NONECMAS response type: No action recommended. |
public static final int | CMAS_RESPONSE_TYPE_UNKNOWNCMAS response type is unknown. The response type is only available for CDMA broadcasts
containing a type 1 elements record, so GSM and UMTS broadcasts always return unknown. |
public static final int | CMAS_SEVERITY_EXTREMECMAS severity type: Extraordinary threat to life or property. |
public static final int | CMAS_SEVERITY_SEVERECMAS severity type: Significant threat to life or property. |
public static final int | CMAS_SEVERITY_UNKNOWNCMAS alert severity is unknown. The severity is available for CDMA warning alerts
containing a type 1 elements record and for all GSM and UMTS alerts except for the
Presidential-level alert class (Korean Public Alert System Class 0). |
public static final int | CMAS_URGENCY_IMMEDIATECMAS urgency type: Responsive action should be taken immediately. |
public static final int | CMAS_URGENCY_EXPECTEDCMAS urgency type: Responsive action should be taken within the next hour. |
public static final int | CMAS_URGENCY_UNKNOWNCMAS alert urgency is unknown. The urgency is available for CDMA warning alerts
containing a type 1 elements record and for all GSM and UMTS alerts except for the
Presidential-level alert class (Korean Public Alert System Class 0). |
public static final int | CMAS_CERTAINTY_OBSERVEDCMAS certainty type: Determined to have occurred or to be ongoing. |
public static final int | CMAS_CERTAINTY_LIKELYCMAS certainty type: Likely (probability > ~50%). |
public static final int | CMAS_CERTAINTY_UNKNOWNCMAS alert certainty is unknown. The certainty is available for CDMA warning alerts
containing a type 1 elements record and for all GSM and UMTS alerts except for the
Presidential-level alert class (Korean Public Alert System Class 0). |
private final int | mMessageClassCMAS message class. |
private final int | mCategoryCMAS category. |
private final int | mResponseTypeCMAS response type. |
private final int | mSeverityCMAS severity. |
private final int | mUrgencyCMAS urgency. |
private final int | mCertaintyCMAS certainty. |
public static final Parcelable.Creator | CREATORCreator for unparcelling objects. |
Methods Summary |
---|
public int | describeContents()Describe the kinds of special objects contained in the marshalled representation.
return 0;
|
public int | getCategory()Returns the CMAS category, e.g. {@link #CMAS_CATEGORY_GEO}.
return mCategory;
|
public int | getCertainty()Returns the CMAS certainty, e.g. {@link #CMAS_CERTAINTY_OBSERVED}.
return mCertainty;
|
public int | getMessageClass()Returns the CMAS message class, e.g. {@link #CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT}.
return mMessageClass;
|
public int | getResponseType()Returns the CMAS response type, e.g. {@link #CMAS_RESPONSE_TYPE_SHELTER}.
return mResponseType;
|
public int | getSeverity()Returns the CMAS severity, e.g. {@link #CMAS_SEVERITY_EXTREME}.
return mSeverity;
|
public int | getUrgency()Returns the CMAS urgency, e.g. {@link #CMAS_URGENCY_IMMEDIATE}.
return mUrgency;
|
public java.lang.String | toString()
return "SmsCbCmasInfo{messageClass=" + mMessageClass + ", category=" + mCategory
+ ", responseType=" + mResponseType + ", severity=" + mSeverity
+ ", urgency=" + mUrgency + ", certainty=" + mCertainty + '}";
|
public void | writeToParcel(android.os.Parcel dest, int flags)Flatten this object into a Parcel.
dest.writeInt(mMessageClass);
dest.writeInt(mCategory);
dest.writeInt(mResponseType);
dest.writeInt(mSeverity);
dest.writeInt(mUrgency);
dest.writeInt(mCertainty);
|