| Interface | Description |
|---|---|
| LiveEventListener.EventListener |
The listener to listen events sent by
LiveEventListener. |
| MediaException | |
| StraasMediaCore.UiContainer | |
| VideoCustomMetadata |
| Class | Description |
|---|---|
| ImaHelper | |
| LiveEventListener |
This is for developer to listen live event state changes, you should call
LiveEventListener.initWithLiveId(Identity, EventListener) to get the instance. |
| StraasMediaCore |
The core which will create a
MediaBrowserCompat for you to connect to the Straas MediaBrowserServiceCompat,
also handles the video and ad rendering layers. |
| StraasMediaCore.ErrorReason | |
| StraasMediaCore.ImaHelperBase | |
| StraasMediaCore.MediaCoreConfig |
Configuration for the
StraasMediaCore |
| StraasMediaCore.MediaCoreConfig.Builder |
The builder of
StraasMediaCore.MediaCoreConfig. |
| Exception | Description |
|---|---|
| MediaException.CancelledException |
Current task is cancelled by developer.
|
| MediaException.DataDeserializationException |
Caused when SDK received unexpected response from server.
|
| MediaException.InternalException |
This means an unexpected error occurs, please report issue.
|
| MediaException.InvalidLiveIdException |
Thrown when live event id is null or empty string, please make sure the live event id is
correct and try again.
|
| MediaException.NetworkException |
Couldn't connect to server.
|
| MediaException.NotFoundException |
Couldn't find the media.
|
| MediaException.PermissionDeniedException |
This task is not permitted by server since what you want to do is not allowed or the
Identity of the user has no permission to access the media (e.g. |
| MediaException.RequestRejectedException |
This occurs when developer is trying to invoke a method with wrong parameter causing
IllegalArgumentException or calling a method in wrong state
causing IllegalStateException. |
| MediaException.ServerException |
An error occurs on server side.
|
| MediaException.SocketConnectionException |
Establishing socket connection failed or unexpected errors on socket happened, may be the
local issues or errors on server side.
|
| MediaException.TooManyRequestException |
Too many requests to server simultaneously, please try again later.
|
| MediaException.UnauthorizedException |
The user is unauthorized.
|
| MediaException.UnavailableException |
The "
available" flag of the live event is set to false. |
| MediaException.UnprocessableEntityException |
This means an unexpected error occurs, please report issue.
|
| Annotation Type | Description |
|---|---|
| LiveEventListener.State |
The state of
LiveEventListener, may be LiveEventListener.STATE_IDLE, LiveEventListener.STATE_STARTING,
or LiveEventListener.STATE_STARTED. |
| StraasMediaCore.DisplayMode | |
| StraasMediaCore.ErrorReason.ErrorReasonType | |
| StraasMediaCore.PlaneProjectionMode |