public interface StreamActivityMonitorServiceInterface extends Remote
| Modifier and Type | Method and Description |
|---|---|
SamSession[] |
getSamSessionsByStatement(Statement statement)
Returns the logging information for a DAI session.
|
String[] |
registerSessionsForMonitoring(String[] sessionIds)
Registers the specified list of
sessionIds for monitoring. |
SamSession[] getSamSessionsByStatement(Statement statement) throws RemoteException, ApiException
registerSessionsForMonitoring method before it can be accessed.
There may be some delay before
the session is available.
The number of sessions requested is limited to 25. The following fields are supported for filtering:
| Entity property | PQL filter |
|---|---|
| Session id | 'sessionId' |
| Debug key | 'debugKey" |
statement - PQL specifying the sessionId or debugKey to fetch
logging information for.
Only '=' and 'IN' expressions are supported.ApiException - if there is an error while fetching the logging
information or if there is
no SAM session is associated with any of the sessionIds.RemoteExceptionString[] 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
IDsRemoteExceptionCopyright © 2021. All rights reserved.