public static interface Broadcaster.TalkbackObserver
setTalkbackObserver(observer) to receive callbacks about
talkback stream state changes. All callbacks are done on the main UI thread.| Modifier and Type | Method and Description |
|---|---|
void |
onTalkbackStateChanged(TalkbackState state,
int id,
String caller,
String request)
Called whenever the internal state for a talkback stream changes.
|
void onTalkbackStateChanged(TalkbackState state, int id, String caller, String request)
TalkbackState to know what each
state implies and how each state should be handled by your app.state - Any of the values in TalkbackState.id - An integer id identifying the talkback stream source this
callback relates to. This should be passed back into methods such
as acceptTalkback(id).caller - The sender of the talkback requestrequest - A message included in the talkback request