Package com.twilio.voice
Class CancelledCallInvite
java.lang.Object
com.twilio.voice.CancelledCallInvite
- All Implemented Interfaces:
android.os.Parcelable
Represents an incoming call cancellation.
-
Nested Class Summary
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Returns the CallSid.Returns the custom parameters.getFrom()
Returns the caller information.getTo()
Returns the callee information.void
writeToParcel
(android.os.Parcel dest, int flags)
-
Field Details
-
CREATOR
public static final android.os.Parcelable.Creator CREATOR
-
-
Method Details
-
getFrom
Returns the caller information. -
getTo
Returns the callee information. -
getCallSid
Returns the CallSid. -
getCustomParameters
Returns the custom parameters.// Pass custom parameters in TwiML <?xml version="1.0" encoding="UTF-8"?> <Response> <Dial answerOnBridge="false" callerId="client:alice"> <Client> <Identity>bob</Identity> <Parameter name="caller_first_name" value="alice" /> <Parameter name="caller_last_name" value="smith" /> </Client> </Dial> </Response>
`cancelledCallInvite.getCustomParameters()` returns a map of key-value pair passed in the TwiML."caller_first_name" -> "alice" "caller_last_name" -> "smith"
-
describeContents
public int describeContents()- Specified by:
describeContents
in interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
-
equals
-