public interface LiveStreamEventServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
LiveStreamEvent[] |
createLiveStreamEvents(LiveStreamEvent[] liveStreamEvents)
Creates new
LiveStreamEvent objects. |
LiveStreamEventPage |
getLiveStreamEventsByStatement(Statement filterStatement)
|
UpdateResult |
performLiveStreamEventAction(LiveStreamEventAction liveStreamEventAction,
Statement filterStatement)
Performs actions on
LiveStreamEvent objects that match
the given
Statement.query. |
String[] |
registerSessionsForMonitoring(String[] sessionIds)
Registers the specified list of
sessionIds for monitoring. |
LiveStreamEvent[] |
updateLiveStreamEvents(LiveStreamEvent[] liveStreamEvents)
Updates the specified
LiveStreamEvent objects. |
LiveStreamEvent[] createLiveStreamEvents(LiveStreamEvent[] liveStreamEvents) throws RemoteException, ApiException
LiveStreamEvent objects.
The following fields are required:
liveStreamEvents - the live stream events to createRemoteExceptionApiExceptionLiveStreamEventPage getLiveStreamEventsByStatement(Statement filterStatement) throws RemoteException, ApiException
LiveStreamEventPage of LiveStreamEvent
objects that
satisfy the given Statement.query. The following fields
are
supported for filtering:
| PQL Property | Object Property |
|---|---|
id |
LiveStreamEvent.id |
filterStatement - a Publisher Query Language statement to filter
a
list of live stream eventsRemoteExceptionApiExceptionUpdateResult performLiveStreamEventAction(LiveStreamEventAction liveStreamEventAction, Statement filterStatement) throws RemoteException, ApiException
LiveStreamEvent objects that match
the given
Statement.query.liveStreamEventAction - the action to performfilterStatement - a Publisher Query Language statement used to
filter
a set of live stream eventsRemoteExceptionApiExceptionString[] registerSessionsForMonitoring(String[] sessionIds) throws RemoteException, ApiException
sessionIds for monitoring.
Once the session IDs have
been registered, all logged information about the sessions
will be persisted and can be viewed
via the Ad Manager UI.
A session ID is a unique identifier of a single user watching a live stream event.
sessionIds - a list of session IDs to register for monitoringApiException - if there is an error registering any of the session
IDsRemoteExceptionLiveStreamEvent[] updateLiveStreamEvents(LiveStreamEvent[] liveStreamEvents) throws RemoteException, ApiException
LiveStreamEvent objects.liveStreamEvents - the live stream events to updateApiException - if there is an error updating the live stream
eventsRemoteExceptionCopyright © 2020. All rights reserved.