Android APIs
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Call.Callback ()

Added in API level 23

Public Methods

public void onCallDestroyed (Call call)

Added in API level 23

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 The Call being destroyed.

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

Added in API level 23

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 The Call invoking this method.
cannedTextResponses The text messages useable as responses.

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

Added in API level 23

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

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

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

Added in API level 23

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

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

public void onDetailsChanged (Call call, Call.Details details)

Added in API level 23

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

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

public void onParentChanged (Call call, Call parent)

Added in API level 23

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

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

public void onPostDialWait (Call call, String remainingPostDialSequence)

Added in API level 23

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 The Call invoking this method.
remainingPostDialSequence The post-dial characters that remain to be sent.

public void onStateChanged (Call call, int state)

Added in API level 23

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

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

public void onVideoCallChanged (Call call, InCallService.VideoCall videoCall)

Added in API level 23

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

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