FileDocCategorySizeDatePackage
SmsResponse.javaAPI DocAndroid 5.1 API1555Thu Mar 12 22:22:54 GMT 2015com.android.internal.telephony

SmsResponse

public class SmsResponse extends Object
Object returned by the RIL upon successful completion of sendSMS. Contains message reference and ackPdu.

Fields Summary
int
mMessageRef
Message reference of the just-sent SMS.
String
mAckPdu
ackPdu for the just-sent SMS.
int
mErrorCode
errorCode: See 3GPP 27.005, 3.2.5 for GSM/UMTS, 3GPP2 N.S0005 (IS-41C) Table 171 for CDMA, -1 if unknown or not applicable.
Constructors Summary
public SmsResponse(int messageRef, String ackPdu, int errorCode)

        mMessageRef = messageRef;
        mAckPdu = ackPdu;
        mErrorCode = errorCode;
    
Methods Summary
public java.lang.StringtoString()

        String ret = "{ mMessageRef = " + mMessageRef
                        + ", mErrorCode = " + mErrorCode
                        + ", mAckPdu = " + mAckPdu
                        + "}";
        return ret;