-
- All Implemented Interfaces:
-
android.os.Parcelable
public class CancelledCallInvite implements Parcelable
Represents an incoming call cancellation.
-
-
Method Summary
Modifier and Type Method Description StringgetFrom()Returns the caller information. StringgetTo()Returns the callee information. StringgetCallSid()Returns the CallSid. Map<String, String>getCustomParameters()Returns the custom parameters. intdescribeContents()voidwriteToParcel(Parcel dest, int flags)booleanequals(Object o)-
-
Method Detail
-
getCallSid
@NonNull() String getCallSid()
Returns the CallSid.
-
getCustomParameters
@NonNull() Map<String, String> getCustomParameters()
Returns the custom parameters.
NOTE: While the value field passed into <Parameter> gets URI encoded by the Twilioinfrastructure and URI decoded when parsed during the creation of a CancelledCallInvite, thename does not get URI encoded or decoded. As a result, it is recommended that the name fieldonly use ASCII characters.{@code * // Pass custom parameters in TwiML * * * * * }`cancelledCallInvite.getCustomParameters()` returns a map of key-value pair passed in the TwiML.{@code * "caller_first_name" -> "alice" * "caller_last_name" -> "smith" * }
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-