IT. Expert System.

Android Reference

Telephony.Sms.Intents


android.provider

Class Telephony.Sms.Intents

  • Enclosing class:
    Telephony.Sms


    public static final class Telephony.Sms.Intents
    extends Object
    Contains info about SMS related Intents that are broadcast.
    • Field Detail

      • RESULT_SMS_HANDLED

        public static final int RESULT_SMS_HANDLED
        Set by BroadcastReceiver. Indicates the message was handled successfully.
        See Also:
        Constant Field Values
      • RESULT_SMS_GENERIC_ERROR

        public static final int RESULT_SMS_GENERIC_ERROR
        Set by BroadcastReceiver. Indicates a generic error while processing the message.
        See Also:
        Constant Field Values
      • RESULT_SMS_OUT_OF_MEMORY

        public static final int RESULT_SMS_OUT_OF_MEMORY
        Set by BroadcastReceiver. Indicates insufficient memory to store the message.
        See Also:
        Constant Field Values
      • RESULT_SMS_UNSUPPORTED

        public static final int RESULT_SMS_UNSUPPORTED
        Set by BroadcastReceiver. Indicates the message, while possibly valid, is of a format or encoding that is not supported.
        See Also:
        Constant Field Values
      • SMS_RECEIVED_ACTION

        public static final String SMS_RECEIVED_ACTION
        Broadcast Action: A new text based SMS message has been received by the device. The intent will have the following extra values:

        • pdus - An Object[] od byte[]s containing the PDUs that make up the message.

        The extra values can be extracted using getMessagesFromIntent(Intent).

        If a BroadcastReceiver encounters an error while processing this intent it should set the result code appropriately.

        See Also:
        Constant Field Values
      • DATA_SMS_RECEIVED_ACTION

        public static final String DATA_SMS_RECEIVED_ACTION
        Broadcast Action: A new data based SMS message has been received by the device. The intent will have the following extra values:

        • pdus - An Object[] of byte[]s containing the PDUs that make up the message.

        The extra values can be extracted using getMessagesFromIntent(Intent).

        If a BroadcastReceiver encounters an error while processing this intent it should set the result code appropriately.

        See Also:
        Constant Field Values
      • WAP_PUSH_RECEIVED_ACTION

        public static final String WAP_PUSH_RECEIVED_ACTION
        Broadcast Action: A new WAP PUSH message has been received by the device. The intent will have the following extra values:

        • transactionId (Integer) - The WAP transaction ID
        • pduType (Integer) - The WAP PDU type
        • header (byte[]) - The header of the message
        • data (byte[]) - The data payload of the message
        • contentTypeParameters (HashMap<String,String>) - Any parameters associated with the content type (decoded from the WSP Content-Type header)

        If a BroadcastReceiver encounters an error while processing this intent it should set the result code appropriately.

        The contentTypeParameters extra value is map of content parameters keyed by their names.

        If any unassigned well-known parameters are encountered, the key of the map will be 'unassigned/0x...', where '...' is the hex value of the unassigned parameter. If a parameter has No-Value the value in the map will be null.

        See Also:
        Constant Field Values
      • SMS_CB_RECEIVED_ACTION

        public static final String SMS_CB_RECEIVED_ACTION
        Broadcast Action: A new Cell Broadcast message has been received by the device. The intent will have the following extra values:

        • message - An SmsCbMessage object containing the broadcast message data. This is not an emergency alert, so ETWS and CMAS data will be null.

        The extra values can be extracted using getMessagesFromIntent(Intent).

        If a BroadcastReceiver encounters an error while processing this intent it should set the result code appropriately.

        See Also:
        Constant Field Values
      • SMS_EMERGENCY_CB_RECEIVED_ACTION

        public static final String SMS_EMERGENCY_CB_RECEIVED_ACTION
        Broadcast Action: A new Emergency Broadcast message has been received by the device. The intent will have the following extra values:

        • message - An SmsCbMessage object containing the broadcast message data, including ETWS or CMAS warning notification info if present.

        The extra values can be extracted using getMessagesFromIntent(Intent).

        If a BroadcastReceiver encounters an error while processing this intent it should set the result code appropriately.

        See Also:
        Constant Field Values
      • SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION

        public static final String SMS_SERVICE_CATEGORY_PROGRAM_DATA_RECEIVED_ACTION
        Broadcast Action: A new CDMA SMS has been received containing Service Category Program Data (updates the list of enabled broadcast channels). The intent will have the following extra values:

        • operations - An array of CdmaSmsCbProgramData objects containing the service category operations (add/delete/clear) to perform.

        The extra values can be extracted using getMessagesFromIntent(Intent).

        If a BroadcastReceiver encounters an error while processing this intent it should set the result code appropriately.

        See Also:
        Constant Field Values
      • SIM_FULL_ACTION

        public static final String SIM_FULL_ACTION
        Broadcast Action: The SIM storage for SMS messages is full. If space is not freed, messages targeted for the SIM (class 2) may not be saved.
        See Also:
        Constant Field Values
      • SMS_REJECTED_ACTION

        public static final String SMS_REJECTED_ACTION
        Broadcast Action: An incoming SMS has been rejected by the telephony framework. This intent is sent in lieu of any of the RECEIVED_ACTION intents. The intent will have the following extra value:

        See Also:
        Constant Field Values
    • Constructor Detail

      • Telephony.Sms.Intents

        public Telephony.Sms.Intents()


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: 323 / 158861596. Delta: 0.03631 с