public class SsaiClient extends java.lang.Object implements UnitManager, APSMediaPlayerTrackingEventListener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
managerIdentifier |
| Constructor and Description |
|---|
SsaiClient() |
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
void |
onTrackingEventReceived(APSMediaTrackingEvents.MediaEventType type,
Bundle additionalInfo)
Called when a player emits an event.
|
void |
poll() |
void |
start(APSMediaUnit unit) |
static java.lang.String |
type() |
public static java.lang.String type()
public void start(APSMediaUnit unit)
start in interface UnitManagerpublic void end()
end in interface UnitManagerpublic void poll()
poll in interface UnitManagerpublic void onTrackingEventReceived(APSMediaTrackingEvents.MediaEventType type, Bundle additionalInfo)
APSMediaPlayerTrackingEventListeneronTrackingEventReceived in interface APSMediaPlayerTrackingEventListenertype - The type of event getting firedadditionalInfo - A bundle of additional metadata, such as the current position in CLOCK_TICK events