Package com.bambuser.broadcaster
Interface Broadcaster.TalkbackObserver
-
- Enclosing class:
- Broadcaster
public static interface Broadcaster.TalkbackObserver
An Observer interface that should be passed tosetTalkbackObserver(observer)
to receive callbacks about talkback stream state changes. All callbacks are done on the main UI thread.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onTalkbackStateChanged(TalkbackState state, int id, String caller, String request)
Called whenever the internal state for a talkback stream changes.
-
-
-
Method Detail
-
onTalkbackStateChanged
void onTalkbackStateChanged(TalkbackState state, int id, String caller, String request)
Called whenever the internal state for a talkback stream changes. See the documentation forTalkbackState
to know what each state implies and how each state should be handled by your app.- Parameters:
state
- Any of the values inTalkbackState
.id
- An integer id identifying the talkback stream source this callback relates to. This should be passed back into methods such asacceptTalkback(id)
.caller
- The sender of the talkback requestrequest
- A message included in the talkback request
-
-