IT. Expert System.

Android Reference

SmsCbCmasInfo


android.telephony

Class SmsCbCmasInfo

  • All Implemented Interfaces:
    Parcelable


    public class SmsCbCmasInfo
    extends Object
    implements Parcelable
    Contains CMAS warning notification Type 1 elements for a SmsCbMessage. Supported values for each element are defined in TIA-1149-0-1 (CMAS over CDMA) and 3GPP TS 23.041 (for GSM/UMTS).
    • Field Detail

      • CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT

        public static final int CMAS_CLASS_PRESIDENTIAL_LEVEL_ALERT
        Presidential-level alert (Korean Public Alert System Class 0 message).
        See Also:
        Constant Field Values
      • CMAS_CLASS_EXTREME_THREAT

        public static final int CMAS_CLASS_EXTREME_THREAT
        Extreme threat to life and property (Korean Public Alert System Class 1 message).
        See Also:
        Constant Field Values
      • CMAS_CLASS_SEVERE_THREAT

        public static final int CMAS_CLASS_SEVERE_THREAT
        Severe threat to life and property (Korean Public Alert System Class 1 message).
        See Also:
        Constant Field Values
      • CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY

        public static final int CMAS_CLASS_CHILD_ABDUCTION_EMERGENCY
        Child abduction emergency (AMBER Alert).
        See Also:
        Constant Field Values
      • CMAS_CLASS_REQUIRED_MONTHLY_TEST

        public static final int CMAS_CLASS_REQUIRED_MONTHLY_TEST
        CMAS test message.
        See Also:
        Constant Field Values
      • CMAS_CLASS_CMAS_EXERCISE

        public static final int CMAS_CLASS_CMAS_EXERCISE
        CMAS exercise.
        See Also:
        Constant Field Values
      • CMAS_CLASS_OPERATOR_DEFINED_USE

        public static final int CMAS_CLASS_OPERATOR_DEFINED_USE
        CMAS category for operator defined use.
        See Also:
        Constant Field Values
      • CMAS_CLASS_UNKNOWN

        public static final int CMAS_CLASS_UNKNOWN
        CMAS category for warning types that are reserved for future extension.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_GEO

        public static final int CMAS_CATEGORY_GEO
        CMAS alert category: Geophysical including landslide.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_MET

        public static final int CMAS_CATEGORY_MET
        CMAS alert category: Meteorological including flood.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_SAFETY

        public static final int CMAS_CATEGORY_SAFETY
        CMAS alert category: General emergency and public safety.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_SECURITY

        public static final int CMAS_CATEGORY_SECURITY
        CMAS alert category: Law enforcement, military, homeland/local/private security.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_RESCUE

        public static final int CMAS_CATEGORY_RESCUE
        CMAS alert category: Rescue and recovery.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_FIRE

        public static final int CMAS_CATEGORY_FIRE
        CMAS alert category: Fire suppression and rescue.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_HEALTH

        public static final int CMAS_CATEGORY_HEALTH
        CMAS alert category: Medical and public health.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_ENV

        public static final int CMAS_CATEGORY_ENV
        CMAS alert category: Pollution and other environmental.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_TRANSPORT

        public static final int CMAS_CATEGORY_TRANSPORT
        CMAS alert category: Public and private transportation.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_INFRA

        public static final int CMAS_CATEGORY_INFRA
        CMAS alert category: Utility, telecom, other non-transport infrastructure.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_CBRNE

        public static final int CMAS_CATEGORY_CBRNE
        CMAS alert category: Chem, bio, radiological, nuclear, high explosive threat or attack.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_OTHER

        public static final int CMAS_CATEGORY_OTHER
        CMAS alert category: Other events.
        See Also:
        Constant Field Values
      • CMAS_CATEGORY_UNKNOWN

        public static final int CMAS_CATEGORY_UNKNOWN
        CMAS 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.
        See Also:
        Constant Field Values
      • CMAS_RESPONSE_TYPE_SHELTER

        public static final int CMAS_RESPONSE_TYPE_SHELTER
        CMAS response type: Take shelter in place.
        See Also:
        Constant Field Values
      • CMAS_RESPONSE_TYPE_EVACUATE

        public static final int CMAS_RESPONSE_TYPE_EVACUATE
        CMAS response type: Evacuate (Relocate).
        See Also:
        Constant Field Values
      • CMAS_RESPONSE_TYPE_PREPARE

        public static final int CMAS_RESPONSE_TYPE_PREPARE
        CMAS response type: Make preparations.
        See Also:
        Constant Field Values
      • CMAS_RESPONSE_TYPE_EXECUTE

        public static final int CMAS_RESPONSE_TYPE_EXECUTE
        CMAS response type: Execute a pre-planned activity.
        See Also:
        Constant Field Values
      • CMAS_RESPONSE_TYPE_MONITOR

        public static final int CMAS_RESPONSE_TYPE_MONITOR
        CMAS response type: Attend to information sources.
        See Also:
        Constant Field Values
      • CMAS_RESPONSE_TYPE_AVOID

        public static final int CMAS_RESPONSE_TYPE_AVOID
        CMAS response type: Avoid hazard.
        See Also:
        Constant Field Values
      • CMAS_RESPONSE_TYPE_ASSESS

        public static final int CMAS_RESPONSE_TYPE_ASSESS
        CMAS response type: Evaluate the information in this message (not for public warnings).
        See Also:
        Constant Field Values
      • CMAS_RESPONSE_TYPE_NONE

        public static final int CMAS_RESPONSE_TYPE_NONE
        CMAS response type: No action recommended.
        See Also:
        Constant Field Values
      • CMAS_RESPONSE_TYPE_UNKNOWN

        public static final int CMAS_RESPONSE_TYPE_UNKNOWN
        CMAS 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.
        See Also:
        Constant Field Values
      • CMAS_SEVERITY_EXTREME

        public static final int CMAS_SEVERITY_EXTREME
        CMAS severity type: Extraordinary threat to life or property.
        See Also:
        Constant Field Values
      • CMAS_SEVERITY_SEVERE

        public static final int CMAS_SEVERITY_SEVERE
        CMAS severity type: Significant threat to life or property.
        See Also:
        Constant Field Values
      • CMAS_SEVERITY_UNKNOWN

        public static final int CMAS_SEVERITY_UNKNOWN
        CMAS 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).
        See Also:
        Constant Field Values
      • CMAS_URGENCY_IMMEDIATE

        public static final int CMAS_URGENCY_IMMEDIATE
        CMAS urgency type: Responsive action should be taken immediately.
        See Also:
        Constant Field Values
      • CMAS_URGENCY_EXPECTED

        public static final int CMAS_URGENCY_EXPECTED
        CMAS urgency type: Responsive action should be taken within the next hour.
        See Also:
        Constant Field Values
      • CMAS_URGENCY_UNKNOWN

        public static final int CMAS_URGENCY_UNKNOWN
        CMAS 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).
        See Also:
        Constant Field Values
      • CMAS_CERTAINTY_OBSERVED

        public static final int CMAS_CERTAINTY_OBSERVED
        CMAS certainty type: Determined to have occurred or to be ongoing.
        See Also:
        Constant Field Values
      • CMAS_CERTAINTY_LIKELY

        public static final int CMAS_CERTAINTY_LIKELY
        CMAS certainty type: Likely (probability > ~50%).
        See Also:
        Constant Field Values
      • CMAS_CERTAINTY_UNKNOWN

        public static final int CMAS_CERTAINTY_UNKNOWN
        CMAS 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).
        See Also:
        Constant Field Values
    • Constructor Detail

      • SmsCbCmasInfo

        public SmsCbCmasInfo(int messageClass,
                     int category,
                     int responseType,
                     int severity,
                     int urgency,
                     int certainty)
        Create a new SmsCbCmasInfo object with the specified values.
    • Method Detail

      • writeToParcel

        public void writeToParcel(Parcel dest,
                         int flags)
        Flatten this object into a Parcel.
        Specified by:
        writeToParcel in interface Parcelable
        Parameters:
        dest - The Parcel in which the object should be written.
        flags - Additional flags about how the object should be written (ignored).
      • getCategory

        public int getCategory()
        Returns the CMAS category, e.g. CMAS_CATEGORY_GEO.
        Returns:
        one of the CMAS_CATEGORY values
      • getResponseType

        public int getResponseType()
        Returns the CMAS response type, e.g. CMAS_RESPONSE_TYPE_SHELTER.
        Returns:
        one of the CMAS_RESPONSE_TYPE values
      • getSeverity

        public int getSeverity()
        Returns the CMAS severity, e.g. CMAS_SEVERITY_EXTREME.
        Returns:
        one of the CMAS_SEVERITY values
      • getUrgency

        public int getUrgency()
        Returns the CMAS urgency, e.g. CMAS_URGENCY_IMMEDIATE.
        Returns:
        one of the CMAS_URGENCY values
      • getCertainty

        public int getCertainty()
        Returns the CMAS certainty, e.g. CMAS_CERTAINTY_OBSERVED.
        Returns:
        one of the CMAS_CERTAINTY values
      • toString

        public String toString()
        Description copied from class: Object
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.
      • describeContents

        public int describeContents()
        Describe the kinds of special objects contained in the marshalled representation.
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating this Parcelable contains no special objects


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 124 / 158780271. Delta: 0.03777 с