public
static
abstract
class
Call.Callback
extends Object
java.lang.Object | |
↳ | android.telecom.Call.Callback |
Public constructors | |
---|---|
Call.Callback()
|
Public methods | |
---|---|
void
|
onCallDestroyed(Call call)
Invoked when the |
void
|
onCannedTextResponsesLoaded(Call call, List<String> cannedTextResponses)
Invoked when the text messages that can be used as responses to the incoming
|
void
|
onChildrenChanged(Call call, List<Call> children)
Invoked when the children of this |
void
|
onConferenceableCallsChanged(Call call, List<Call> conferenceableCalls)
Invoked upon changes to the set of |
void
|
onDetailsChanged(Call call, Call.Details details)
Invoked when the details of this |
void
|
onParentChanged(Call call, Call parent)
Invoked when the parent of this |
void
|
onPostDialWait(Call call, String remainingPostDialSequence)
Invoked when the post-dial sequence in the outgoing |
void
|
onStateChanged(Call call, int state)
Invoked when the state of this |
void
|
onVideoCallChanged(Call call, InCallService.VideoCall videoCall)
Invoked when the |
Inherited methods | |
---|---|
From
class
java.lang.Object
|
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.
|
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.
|
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 .
|
void onConferenceableCallsChanged (Call call, List<Call> conferenceableCalls)
Invoked upon changes to the set of Call
s with which this Call
can be
conferenced.
Parameters | |
---|---|
call |
Call :
The Call being updated. |
conferenceableCalls |
List :
The Call s with which this Call can be
conferenced.
|
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 .
|
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 .
|
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.
|
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 .
|
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 .
|