Most visited

Recently visited

Added in API level 23

Call.Callback

public static abstract class Call.Callback
extends Object

java.lang.Object
   ↳ android.telecom.Call.Callback


Summary

Public constructors

Call.Callback()

Public methods

void onCallDestroyed(Call call)

Invoked when the Call is destroyed.

void onCannedTextResponsesLoaded(Call call, List<String> cannedTextResponses)

Invoked when the text messages that can be used as responses to the incoming Call are loaded from the relevant database.

void onChildrenChanged(Call call, List<Call> children)

Invoked when the children of this Call have changed.

void onConferenceableCallsChanged(Call call, List<Call> conferenceableCalls)

Invoked upon changes to the set of Calls with which this Call can be conferenced.

void onDetailsChanged(Call call, Call.Details details)

Invoked when the details of this Call have changed.

void onParentChanged(Call call, Call parent)

Invoked when the parent of this Call has changed.

void onPostDialWait(Call call, String remainingPostDialSequence)

Invoked when the post-dial sequence in the outgoing Call has reached a pause character.

void onStateChanged(Call call, int state)

Invoked when the state of this Call has changed.

void onVideoCallChanged(Call call, InCallService.VideoCall videoCall)

Invoked when the Call.VideoCall of the Call has changed.

Inherited methods

From class java.lang.Object

Public constructors

Call.Callback

Added in API level 23
Call.Callback ()

Public methods

onCallDestroyed

Added in API level 23
void onCallDestroyed (Call call)

Invoked when the Call is destroyed. Clients should refrain from cleaning up their UI for the Call in response to state transitions. Specifically, clients should not assume that a onStateChanged(Call, int) with a state of STATE_DISCONNECTED is the final notification the Call will send. Rather, clients should wait for this method to be invoked.

Parameters
call Call: The Call being destroyed.

onCannedTextResponsesLoaded

Added in API level 23
void onCannedTextResponsesLoaded (Call call, 
                List<String> cannedTextResponses)

Invoked when the text messages that can be used as responses to the incoming Call are loaded from the relevant database. See getCannedTextResponses().

Parameters
call Call: The Call invoking this method.
cannedTextResponses List: The text messages useable as responses.

onChildrenChanged

Added in API level 23
void onChildrenChanged (Call call, 
                List<Call> children)

Invoked when the children of this Call have changed. See getChildren().

Parameters
call Call: The Call invoking this method.
children List: The new children of the Call.

onConferenceableCallsChanged

Added in API level 23
void onConferenceableCallsChanged (Call call, 
                List<Call> conferenceableCalls)

Invoked upon changes to the set of Calls with which this Call can be conferenced.

Parameters
call Call: The Call being updated.
conferenceableCalls List: The Calls with which this Call can be conferenced.

onDetailsChanged

Added in API level 23
void onDetailsChanged (Call call, 
                Call.Details details)

Invoked when the details of this Call have changed. See getDetails().

Parameters
call Call: The Call invoking this method.
details Call.Details: A Details object describing the Call.

onParentChanged

Added in API level 23
void onParentChanged (Call call, 
                Call parent)

Invoked when the parent of this Call has changed. See getParent().

Parameters
call Call: The Call invoking this method.
parent Call: The new parent of the Call.

onPostDialWait

Added in API level 23
void onPostDialWait (Call call, 
                String remainingPostDialSequence)

Invoked when the post-dial sequence in the outgoing Call has reached a pause character. This causes the post-dial signals to stop pending user confirmation. An implementation should present this choice to the user and invoke postDialContinue(boolean) when the user makes the choice.

Parameters
call Call: The Call invoking this method.
remainingPostDialSequence String: The post-dial characters that remain to be sent.

onStateChanged

Added in API level 23
void onStateChanged (Call call, 
                int state)

Invoked when the state of this Call has changed. See getState().

Parameters
call Call: The Call invoking this method.
state int: The new state of the Call.

onVideoCallChanged

Added in API level 23
void onVideoCallChanged (Call call, 
                InCallService.VideoCall videoCall)

Invoked when the Call.VideoCall of the Call has changed.

Parameters
call Call: The Call invoking this method.
videoCall InCallService.VideoCall: The Call.VideoCall associated with the Call.

Hooray!