Skip navigation links
A B C D E F G H I K L M N O P R S T U V W 

A

ACTION_CLEAR - Static variable in class io.straas.android.sdk.media.notification.NotificationOptions
This action will trigger stop() and clear current Notification.
ACTION_NEXT - Static variable in class io.straas.android.sdk.media.notification.NotificationOptions
This action will trigger skipToNext().
ACTION_PREV - Static variable in class io.straas.android.sdk.media.notification.NotificationOptions
This action will trigger skipToPrevious().
ACTION_TOGGLE_PLAYBACK - Static variable in class io.straas.android.sdk.media.notification.NotificationOptions
This action will depend on playback state to trigger play() or pause().
AD_PLAYBACK_ID - Static variable in class io.straas.android.sdk.media.StraasMediaCore
One of the id in PlaybackStateCompat.getActiveQueueItemId(), means it is playing an ad now.
addAllEventListener(EventListener...) - Method in class io.straas.android.sdk.messaging.ChatroomManager
 
addAllEventListener(EventListener...) - Method in class io.straas.android.sdk.streaming.StreamManager
 
addEventListener(EventListener) - Method in class io.straas.android.sdk.messaging.ChatroomManager
 
addEventListener(EventListener) - Method in class io.straas.android.sdk.streaming.StreamManager
 
addFakeMessage(Message) - Method in class io.straas.android.sdk.messaging.ChatroomManager
 
AggregatedData - Class in io.straas.android.sdk.messaging
AggregatedData(Parcel, ClassLoader) - Constructor for class io.straas.android.sdk.messaging.AggregatedData
 
ASCENDING_ORDER - Static variable in class io.straas.android.sdk.messaging.message.MessageRequest
Indicates the ascending order.

B

BannedWordException() - Constructor for exception io.straas.android.sdk.messaging.MessagingException.BannedWordException
 
BASE_HIT_COUNT - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The hit count inherited from related media.
BASE_PLAY_COUNT - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The play count inherited from related media.
BASE_PLAY_DURATION - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The play duration inherited from related media.
BaseImageFilter - Class in io.straas.android.sdk.streaming
BaseImageFilter is a base filter for Straas streaming SDK.
BaseImageFilter() - Constructor for class io.straas.android.sdk.streaming.BaseImageFilter
 
blockUsers(List<User>) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Block target users.
BROADCAST_STARTED_AT - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The starting time of the live streaming.
BROADCAST_STATE_DVR_PLAYBACK_AVAILABLE - Static variable in class io.straas.android.sdk.media.LiveEventListener
Means the live event state is still available for playback within amount of time temporarily when this event is not broadcasting for live dvr enabled live event.
BROADCAST_STATE_ENDED - Static variable in class io.straas.android.sdk.media.LiveEventListener
Means the live event state is ended.
BROADCAST_STATE_STARTED - Static variable in class io.straas.android.sdk.media.LiveEventListener
Means the live event is broadcasting.
BROADCAST_STATE_STOPPED - Static variable in class io.straas.android.sdk.media.LiveEventListener
Means the live event is not broadcasting and state is not ended.
BROADCAST_STATE_UNKNOWN - Static variable in class io.straas.android.sdk.media.LiveEventListener
The initial value before fetching any information about the live event.
BROADCAST_STATE_WAITING_FOR_STREAM - Static variable in class io.straas.android.sdk.media.LiveEventListener
Means the live event is waiting for stream.
build() - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Builds a Notification by this builder.
build() - Method in class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig.Builder
Creates a StraasMediaCore.MediaCoreConfig with the configuration.
build() - Method in class io.straas.android.sdk.messaging.ChatroomManager.ChatroomConfig.Builder
Creates a ChatroomManager.ChatroomConfig with the configuration.
build() - Method in class io.straas.android.sdk.messaging.Message.Builder
Builds message
build() - Method in class io.straas.android.sdk.messaging.message.MessageRequest.Builder
Creates a MessageRequest by this builder.
build() - Method in class io.straas.android.sdk.messaging.RawData.Builder
 
build() - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Creates a LiveEventConfig by this builder.
build() - Method in class io.straas.android.sdk.streaming.ScreencastStreamConfig.Builder
 
build() - Method in class io.straas.android.sdk.streaming.StreamConfig.Builder
 
buildCreatedDate(long) - Method in class io.straas.android.sdk.messaging.Message.Builder
Sets created date.
buildCreator(User) - Method in class io.straas.android.sdk.messaging.Message.Builder
Sets creator.
Builder() - Constructor for class io.straas.android.sdk.media.notification.NotificationOptions.Builder
 
Builder() - Constructor for class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig.Builder
Builder() - Constructor for class io.straas.android.sdk.messaging.ChatroomManager.ChatroomConfig.Builder
Builder(String) - Constructor for class io.straas.android.sdk.messaging.Message.Builder
Constructor
Builder() - Constructor for class io.straas.android.sdk.messaging.message.MessageRequest.Builder
Constructor of MessageRequest.Builder.
Builder() - Constructor for class io.straas.android.sdk.messaging.RawData.Builder
 
Builder() - Constructor for class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Constructor of LiveEventConfig.Builder.
Builder() - Constructor for class io.straas.android.sdk.streaming.ScreencastStreamConfig.Builder
 
Builder() - Constructor for class io.straas.android.sdk.streaming.StreamConfig.Builder
 
buildText(String) - Method in class io.straas.android.sdk.messaging.Message.Builder
Sets text.

C

camera(int) - Method in class io.straas.android.sdk.streaming.StreamConfig.Builder
Sets which is the default camera.
CAMERA_BACK - Static variable in class io.straas.android.sdk.streaming.StreamConfig
Indicates the camera in the back side.
CAMERA_FRONT - Static variable in class io.straas.android.sdk.streaming.StreamConfig
Indicates the camera in the front side.
CameraController - Class in io.straas.android.sdk.streaming
CameraController provides methods for camera and flash related operation and status getter.
CameraController(CameraInterface) - Constructor for class io.straas.android.sdk.streaming.CameraController
 
CameraInitFailException() - Constructor for exception io.straas.android.sdk.streaming.error.PrepareException.CameraInitFailException
 
CameraInitFailException(Throwable) - Constructor for exception io.straas.android.sdk.streaming.error.PrepareException.CameraInitFailException
 
CameraInitFailException(String) - Constructor for exception io.straas.android.sdk.streaming.error.PrepareException.CameraInitFailException
 
CancelledException() - Constructor for exception io.straas.android.sdk.media.MediaException.CancelledException
 
category(Integer) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Sets category id of the live event.
CCU - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The live event's number of concurrent users at the last update time.
CCU_UPDATED_AT - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The VideoCustomMetadata.CCU last updated time.
charAt(int) - Method in class io.straas.android.sdk.messaging.Message
 
ChatMetadata - Class in io.straas.android.sdk.messaging
ChatMetadata provides the meta data that you can get from a chatroom.
ChatMode - Enum in io.straas.android.sdk.messaging
Describes the mode that which type of users can send message in this chatroom.
CHATROOM_NAME - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The chatroom name of the live streaming.
ChatroomInfo - Class in io.straas.android.sdk.messaging
Contains information about a chatroom.
ChatroomInfo(ChatMode, String, int, int, int, List<Sticker>) - Constructor for class io.straas.android.sdk.messaging.ChatroomInfo
 
ChatroomInputView - Class in io.straas.android.sdk.messaging.ui
Widget for providing user input UI with a chatroom.
ChatroomInputView(Context) - Constructor for class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
ChatroomInputView(Context, AttributeSet) - Constructor for class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
ChatroomInputView(Context, AttributeSet, int) - Constructor for class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
ChatroomManager - Class in io.straas.android.sdk.messaging
ChatroomManager is used to manage a chatroom or a message board.
ChatroomManager.ChatroomConfig - Class in io.straas.android.sdk.messaging
Configuration for ChatroomManager.
ChatroomManager.ChatroomConfig.Builder - Class in io.straas.android.sdk.messaging
ChatroomNameNotFoundException() - Constructor for exception io.straas.android.sdk.messaging.MessagingException.ChatroomNameNotFoundException
 
ChatroomNameNotFoundException(String) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.ChatroomNameNotFoundException
 
ChatroomOutputView - Class in io.straas.android.sdk.messaging.ui
Widget for providing chatroom messages list.
ChatroomOutputView(Context) - Constructor for class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Constructor.
ChatroomOutputView(Context, AttributeSet) - Constructor for class io.straas.android.sdk.messaging.ui.ChatroomOutputView
 
ChatroomOutputView(Context, AttributeSet, int) - Constructor for class io.straas.android.sdk.messaging.ui.ChatroomOutputView
 
ChatroomState - Enum in io.straas.android.sdk.messaging
Describes the chatroom connection state.
ChatroomViewBase - Class in io.straas.android.sdk.messaging.ui
 
ChatroomViewBase(Context, AttributeSet, int) - Constructor for class io.straas.android.sdk.messaging.ui.ChatroomViewBase
 
cleanLiveEvent(String) - Method in class io.straas.android.sdk.streaming.StreamManager
Deprecated.
clearMessages() - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Clear all messages stored in this widget.
COMMAND_DISABLE_AUDIO - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Command to disable/re-enable audio output immediately and all future media playback.
COMMAND_FOREGROUND - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Enable foreground flag, this will make the Straas MediaBrowserServiceCompat run in foreground when player state is not PlaybackStateCompat.STATE_PAUSED, PlaybackStateCompat.STATE_STOPPED, or PlaybackStateCompat.STATE_NONE.
COMMAND_GET_LOCATION - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Command to get the current Location which is set by StraasMediaCore.COMMAND_SET_LOCATION.
COMMAND_GET_PLAYBACK_SPEED - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Command for getting playback speed.
COMMAND_GET_VIDEO_FORMATS - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Command for getting all video tracks formats.
COMMAND_PLAY_AT_LIVE_EDGE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Command to seek the current playback position to the real-time coverage of live (live edge) and play automatically.
COMMAND_PLAYER_RETRY - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Command to try again to play the last played media.
COMMAND_SET_FORMAT_INDEX - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Action command for set new video format index.
COMMAND_SET_LOCATION - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Action command to set the location information when a Straas media is playing.
COMMAND_SET_PLAYBACK_SPEED - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Action command for set playback speed.
COMMAND_STOP_FOREGROUND - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Remove the Straas MediaBrowserServiceCompat from foreground state and clear the Notification.
connect(String, Identity) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Connects to a chatroom.
connect(String, Identity, ChatroomManager.ChatroomConfig) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Connect to a chatroom.
connect(String, Identity) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Connect to a chatroom.
COORDS_PER_VERTEX - Static variable in class io.straas.android.sdk.streaming.BaseImageFilter
How many elements per shape vertex in BaseImageFilter.mShapeCoordinate.
COVER_URL - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The image shown in the Straas web player when a live streaming is off air.
createLiveEvent(LiveEventConfig) - Method in class io.straas.android.sdk.streaming.StreamManager
Create a live event.
CREATOR - Static variable in class io.straas.android.sdk.authentication.identity.Identity
 
CREATOR - Static variable in class io.straas.android.sdk.media.notification.NotificationOptions
 
CREATOR - Static variable in class io.straas.android.sdk.messaging.AggregatedData
 
CREATOR - Static variable in class io.straas.android.sdk.messaging.Message
 
CREATOR - Static variable in class io.straas.android.sdk.messaging.RawData
 
CREATOR - Static variable in class io.straas.android.sdk.messaging.User
 
CredentialAuthorizeListener - Interface in io.straas.android.sdk.messaging.ui.interfaces
CredentialAuthorizeListener provides developer events about credential authorization result.
CredentialFailException - Interface in io.straas.android.sdk.authentication.credential
Describes the failure reason that occurs when developer initializes Straas SDK.
CredentialFailException - Interface in io.straas.android.sdk.base.credential
Deprecated.
CredentialFailException.NetworkException - Exception in io.straas.android.sdk.authentication.credential
Couldn't connect to server.
CredentialFailException.NetworkException - Exception in io.straas.android.sdk.base.credential
CredentialFailException.ServerException - Exception in io.straas.android.sdk.authentication.credential
An error occurs at server side, please try later.
CredentialFailException.ServerException - Exception in io.straas.android.sdk.base.credential
CredentialFailException.WrongInformationException - Exception in io.straas.android.sdk.authentication.credential
Wrong developers information.
CredentialFailException.WrongInformationException - Exception in io.straas.android.sdk.base.credential
currentCamera() - Method in class io.straas.android.sdk.streaming.CameraController
Gets current camera id.
CUSTOM_METADATA_ACCOUNT - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
 
CUSTOM_METADATA_IS_LIVE_LOW_LATENCY - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
CUSTOM_METADATA_IS_PUBLIC - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
 

D

DATA_DESERIALIZE_ERROR - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Caused by SDK can't handle the current server response format.
DATA_SOURCE_ERROR - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Occurs when an error is encountered when trying to read from the streams of data.
densityDpi(int) - Method in class io.straas.android.sdk.streaming.ScreencastStreamConfig.Builder
Sets the density of the virtual display in dpi for screencast.
DESCENDING_ORDER - Static variable in class io.straas.android.sdk.messaging.message.MessageRequest
Indicates the descending order.
describeContents() - Method in class io.straas.android.sdk.authentication.identity.Identity
 
describeContents() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
 
describeContents() - Method in class io.straas.android.sdk.messaging.AggregatedData
 
describeContents() - Method in class io.straas.android.sdk.messaging.Message
 
describeContents() - Method in class io.straas.android.sdk.messaging.RawData
 
describeContents() - Method in class io.straas.android.sdk.messaging.User
 
destroy() - Method in class io.straas.android.sdk.streaming.StreamManager
Destroy StreamManager.
destroyService() - Method in interface io.straas.android.sdk.streaming.screencast.ScreencastSession.SessionListener
ScreencastSession notify the screencast Service to destroy itself
disableUpdate() - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
disableUpdate() - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
 
disableUpdate() - Method in class io.straas.android.sdk.messaging.ui.ChatroomViewBase
Disable UI change.
disconnect() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Disconnect from current server.
disconnect() - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Disconnect to chatroom.
DISPLAY_MODE_CARDBOARD - Static variable in class io.straas.android.sdk.media.StraasMediaCore
video frame is divided into two windows for left and right eye respectively, useful when user put device into cardboard.
DISPLAY_MODE_NORMAL - Static variable in class io.straas.android.sdk.media.StraasMediaCore
video frame window is displayed normally.
DRM_KEY_REQUEST_PROPERTIES - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
DRM_LICENSE_URL - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
DRM_SCHEME_UUID_EXTRA - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
dvrEnabled(boolean) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Set whether to enable live DVR feature for a live event.

E

enableRelativeTime(boolean) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Decides messages to show relative time or absolute time, default is true.
enableUpdate() - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
enableUpdate() - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
 
enableUpdate() - Method in class io.straas.android.sdk.messaging.ui.ChatroomViewBase
Enable UI change according to ChatroomManager.
endLiveEvent(String) - Method in class io.straas.android.sdk.streaming.StreamManager
Sets a live event state to ended.
equals(Object) - Method in class io.straas.android.sdk.messaging.AggregatedData
 
equals(Object) - Method in class io.straas.android.sdk.messaging.Message
Indicates whether some other Message is "equal to" this one.
equals(Object) - Method in class io.straas.android.sdk.messaging.RawData
 
equals(Object) - Method in class io.straas.android.sdk.messaging.User
Compare if it's the same user.
ErrorReason() - Constructor for class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
 
EVENT_MEDIA_BROWSER_SERVICE_ERROR - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
EVENT_PLAYER_ERROR_MESSAGE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
EVENT_TYPE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
EventExpiredException() - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.EventExpiredException
 
EventListener - Interface in io.straas.android.sdk.messaging.interfaces
EventListener provides developer events about connection and real-time action of other people in the chatroom to listen.
EventListener - Interface in io.straas.android.sdk.streaming.interfaces
EventListener provides developer events about connection of a StreamManager.
EXTRA_CONTENT_TYPE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Extra Bundle key only if you want to use playFromUri to play content outside of Straas server storage without explicit filename extension (e.g. *.mp4, *.m3u8).
EXTRA_IS_AUDIO_DISABLED - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Deprecated.
EXTRA_SERVICE_FOREGROUND_IS_ENABLED - Static variable in class io.straas.android.sdk.media.StraasMediaCore
EXTRA_TEXT_TRACKS_INFO - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Extra Bundle key .

F

fitAllCamera(boolean) - Method in class io.straas.android.sdk.streaming.StreamConfig.Builder
Sets if the final resolution should fit all camera in current device.
fps(int) - Method in class io.straas.android.sdk.streaming.StreamConfig.Builder
Sets the video frame rate in format frames/sec.
frontCameraFlipHorizontally(boolean) - Method in class io.straas.android.sdk.streaming.StreamConfig.Builder
If you enable this, you will stream the horizontally flipped screen of preview when you use the StreamConfig.CAMERA_FRONT.

G

getActions() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the list of actions to show in the Notification.
getAdContainer() - Method in interface io.straas.android.sdk.media.StraasMediaCore.UiContainer
 
getAggregatedData(MessageRequest) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Get aggregated-data history in this chatroom.
getAvatar() - Method in class io.straas.android.sdk.messaging.User
Returns user avatar link.
getBitrate() - Method in class io.straas.android.sdk.streaming.StreamStatsReport
Gets the actual bitrate in bits per second.
getBrightnessLevel() - Method in class io.straas.android.sdk.streaming.filter.SkinBeautifyFilter
Gets the brightness level.
getBroadcastStartTimeInMS() - Method in class io.straas.android.sdk.media.LiveEventListener
Gets the broadcast start time of the live event.
getBroadcastStateV2() - Method in class io.straas.android.sdk.media.LiveEventListener
Gets the broadcastStateV2.
getCamera() - Method in class io.straas.android.sdk.streaming.StreamConfig
Gets default camera type.
getCategory() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets category id of the live event.
getCCU() - Method in class io.straas.android.sdk.media.LiveEventListener
Gets the CCU of the live event.
getChannel() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the NotificationChannel that will be set to this Notification.
getChatMode() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Returns ChatMode.
getChatroomInfo() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Gets ChatroomInfo of current chatroom.
getChatroomManager() - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Get ChatroomManager instance.
getChatroomState() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Returns current chatroom state.
getClearDrawableResId() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the resource ID of the icon that indicates NotificationOptions.ACTION_CLEAR.
getCmsHost() - Method in class io.straas.android.sdk.messaging.ChatroomManager.ChatroomConfig
Gets the host of CMS restful API server.
getColor() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the color that will be use to build the Notification.
getCompatActionIndices() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns a copy of the indices of the actions which should be shown in the compact form of the notification.
getConnectionCallback() - Method in class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig
Gets the callback for connection related events.
getCreatedDate() - Method in class io.straas.android.sdk.messaging.AggregatedData
Returns the created date of AggregatedData.getData().
getCreatedDate() - Method in class io.straas.android.sdk.messaging.Message
Returns the created date of the message.
getCreator() - Method in class io.straas.android.sdk.messaging.Message
Returns message creator.
getCurrentUser() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Returns current user.
getData() - Method in class io.straas.android.sdk.messaging.AggregatedData
Returns the data which received via EventListener.onAggregatedDataAdded(SimpleArrayMap).
getDensityDpi() - Method in class io.straas.android.sdk.streaming.ScreencastStreamConfig
Gets the density of the virtual display in dpi.
getDisplayMode() - Method in class io.straas.android.sdk.media.StraasMediaCore
 
getDvrEnabled() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets whether to enable live DVR feature for a live event.
getErrorCode() - Method in exception io.straas.android.sdk.streaming.error.StreamException.PublishException
Gets the publish error code.
getFitAllCamera() - Method in class io.straas.android.sdk.streaming.StreamConfig
Gets if the final resolution should fit all cameras in current device.
getFps() - Method in class io.straas.android.sdk.streaming.StreamConfig
Gets the video frame rate in format frames/sec.
getFps() - Method in class io.straas.android.sdk.streaming.StreamStatsReport
Gets the actual video frame sent rate in frames per second.
getFrontCameraFlipHorizontally() - Method in class io.straas.android.sdk.streaming.StreamConfig
Gets if the stream of front camera should be flipped horizontally from preview.
getHighestResolution() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets highest resolution of the live event.
getHitCount() - Method in class io.straas.android.sdk.media.LiveEventListener
Gets the hit count of the live event.
getId() - Method in class io.straas.android.sdk.messaging.Message
Returns Message id.
getIdentity() - Method in class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig
Gets the Identity of the user.
getInputMaxLines() - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
The maximum number of lines displayed in the text input area.
getJsonText() - Method in class io.straas.android.sdk.messaging.RawData
 
getJsonTextAsData(Class<T>) - Method in class io.straas.android.sdk.messaging.RawData
Try to deserialize the RawData.getJsonText() as the given JSON (RFC 7159) model class.
getKey() - Method in class io.straas.android.sdk.messaging.ChatMetadata
Gets the key.
getLabel() - Method in class io.straas.android.sdk.messaging.User
Returns user label.
getLargeIcon() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the bitmap of the large icon that will be used to build the Notification.
getLatestDate() - Method in class io.straas.android.sdk.messaging.message.MessageRequest
Gets the latest date of messages request.
getListed() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets if the live event should be listed.
getLiveId() - Method in class io.straas.android.sdk.media.LiveEventListener
Gets the id of current listening live event.
getLiveId() - Method in exception io.straas.android.sdk.streaming.error.StreamException.LiveCountLimitException
Gets current not-ended live event id.
getMaxBitrate() - Method in class io.straas.android.sdk.streaming.StreamConfig
Gets the maximum video bitrate in bits/sec.
getMaxVideoHeight() - Method in class io.straas.android.sdk.streaming.StreamConfig
Gets the max video height in pixel.
getMediaBrowser() - Method in class io.straas.android.sdk.media.StraasMediaCore
This instance reference MAY change any time, DO-NOT keep this reference.
getMediaController() - Method in class io.straas.android.sdk.media.StraasMediaCore
 
getMediaProjection() - Method in class io.straas.android.sdk.streaming.ScreencastStreamConfig
Gets mediaProjection for screencast.
getMessages(MessageRequest) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Get Message history in this chatroom.
getMetadata(String...) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Gets the meta data from current chatroom.
getName() - Method in class io.straas.android.sdk.messaging.User
Returns user name
getNotification() - Method in interface io.straas.android.sdk.streaming.screencast.ScreencastSession
Called when the screencast Service started in foreground and you have to provide customized Notification to indicate the screencast is running.
getNotificationChannel() - Method in interface io.straas.android.sdk.streaming.screencast.ScreencastSession
Called when the screencast Service tries to call NotificationManager.createNotificationChannel(NotificationChannel) based on your customized NotificationChannel here.
getOldestDate() - Method in class io.straas.android.sdk.messaging.message.MessageRequest
Gets oldest date of messages request.
getOrder() - Method in class io.straas.android.sdk.messaging.message.MessageRequest
Gets the Message creation time order of the messages request.
getOutputHeight() - Method in class io.straas.android.sdk.streaming.ScreencastStreamConfig
Gets output video height.
getOutputHeight() - Method in class io.straas.android.sdk.streaming.StreamConfig
Gets output video height.
getOutputWidth() - Method in class io.straas.android.sdk.streaming.ScreencastStreamConfig
Gets output video width.
getOutputWidth() - Method in class io.straas.android.sdk.streaming.StreamConfig
Gets output video width.
getPage() - Method in class io.straas.android.sdk.messaging.message.MessageRequest
Gets target page of messages request.
getPauseDrawableResId() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the resource ID of the icon that indicates "pause".
getPerPage() - Method in class io.straas.android.sdk.messaging.message.MessageRequest
Gets message count per page of messages request.
getPinnedMessage() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Returns the pinned message in current chatroom.
getPlaneProjectionMode() - Method in class io.straas.android.sdk.media.StraasMediaCore
 
getPlayDrawableResId() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the resource ID of the icon that indicates "play".
getProfile() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets profile of the live event.
getRawData(MessageRequest) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Get RawData history in this chatroom.
getRawData() - Method in class io.straas.android.sdk.messaging.Message
Returns message text as the RawData.
getRestHost() - Method in class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig
Gets the host of the restful API server.
getRestHost() - Method in class io.straas.android.sdk.messaging.ChatroomManager.ChatroomConfig
Gets the host of the chatroom restful API server.
getRole() - Method in class io.straas.android.sdk.messaging.User
Returns user role.
getSendMessageInterval() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Returns send message interval of current chatroom.
getSize() - Method in enum io.straas.android.sdk.streaming.Resolution
 
getSkinSmoothnessLevel() - Method in class io.straas.android.sdk.streaming.filter.SkinBeautifyFilter
Gets the skin smoothness level.
getSkipNextDrawableResId() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the resource ID of the icon that indicates NotificationOptions.ACTION_NEXT.
getSkipPrevDrawableResId() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the resource ID of the icon that indicates NotificationOptions.ACTION_PREV.
getSmallIcon() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the resource ID of the small icon that will be used to build the Notification.
getSocketHost() - Method in class io.straas.android.sdk.messaging.ChatroomManager.ChatroomConfig
Gets the host of the chatroom socket server.
getState() - Method in class io.straas.android.sdk.media.LiveEventListener
Gets the state of LiveEventListener.
getStatusCode() - Method in exception io.straas.android.sdk.messaging.MessagingException.ServerException
Gets the http status code.
getSticker() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Returns available stickers.
getStickerUrl() - Method in class io.straas.android.sdk.messaging.Message
 
getStreamState() - Method in class io.straas.android.sdk.streaming.StreamManager
Gets current StreamManager state.
getStreamStatsReport() - Method in class io.straas.android.sdk.streaming.StreamManager
Gets the instant snapshot for StreamStatsReport.
getSynopsis() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets synopsis of the live event.
getTargetClassName() - Method in class io.straas.android.sdk.media.notification.NotificationOptions
Returns the name of the Activity that will be launched when user clicks the content area of the Notification.
getText() - Method in class io.straas.android.sdk.messaging.Message
Returns message text.
getTitle() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets title of the live event.
getToken() - Method in class io.straas.android.sdk.authentication.identity.Identity
Gets user token.
getTotalAggregatedData() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Retrieve total aggregated data.
getUiContainer() - Method in class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig
Gets the UI container for the player view.
getUserCount() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Returns current user count.
getUsers(UserType) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Gets users in this chatroom.
getValue() - Method in class io.straas.android.sdk.messaging.ChatMetadata
Gets the value.
getValue(Class<T>) - Method in class io.straas.android.sdk.messaging.ChatMetadata
Gets the value.
getVideoContainer() - Method in interface io.straas.android.sdk.media.StraasMediaCore.UiContainer
 
getVodAvailable() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets whether the new vod of this live event is available by users.
getVodListed() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets whether the new vod of this live event is listed.
getVodMerge() - Method in class io.straas.android.sdk.streaming.LiveEventConfig
Gets whether to merge all VoDs of the live event together.
GUEST - Static variable in class io.straas.android.sdk.authentication.identity.Identity
Identity represents a guest.
GUEST - Static variable in class io.straas.android.sdk.base.identity.Identity
Deprecated.
use Identity instead

H

highestResolution(Resolution) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
highestResolution(Resolution) - Method in class io.straas.android.sdk.streaming.StreamConfig.Builder
HIT_COUNT_SUM - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The sum of number of times the media (Live or VOD) hit.

I

Identity - Class in io.straas.android.sdk.authentication.identity
Identity represents a member.
Identity(String) - Constructor for class io.straas.android.sdk.authentication.identity.Identity
Put member token in to get the Identity represents the user.
Identity() - Constructor for class io.straas.android.sdk.authentication.identity.Identity
 
Identity - Class in io.straas.android.sdk.base.identity
Deprecated.
use Identity instead
Identity(String) - Constructor for class io.straas.android.sdk.base.identity.Identity
Deprecated.
use Identity instead
ImaHelper - Class in io.straas.android.sdk.media
 
ImaHelperBase() - Constructor for class io.straas.android.sdk.media.StraasMediaCore.ImaHelperBase
 
initialize() - Static method in class io.straas.android.sdk.messaging.ChatroomManager
Constructs a ChatroomManager if you are a authorized developer.
initialize(ChatroomManager.ChatroomConfig) - Static method in class io.straas.android.sdk.messaging.ChatroomManager
Constructs a ChatroomManager if you are a authorized developer.
initialize(Identity) - Static method in class io.straas.android.sdk.streaming.StreamManager
Constructs a StreamManager if you are a authorized developer.
initialize(Identity, Bundle) - Static method in class io.straas.android.sdk.streaming.StreamManager
Constructs a StreamManager and return it to your class implementing ScreencastSession via the callback ScreencastSession.onStreamManagerInitComplete(Task<>) if you are a authorized developer.
initWithLiveId(Identity, LiveEventListener.EventListener) - Static method in class io.straas.android.sdk.media.LiveEventListener
Constructs a LiveEventListener if you are a authorized developer.
INTERNAL_ERROR - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Caused by undefined player error.
InternalException() - Constructor for exception io.straas.android.sdk.messaging.MessagingException.InternalException
 
InternalException(Throwable) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.InternalException
 
InternalException(String) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.InternalException
 
InternalException() - Constructor for exception io.straas.android.sdk.streaming.error.PrepareException.InternalException
 
InternalException(String) - Constructor for exception io.straas.android.sdk.streaming.error.PrepareException.InternalException
 
InternalException() - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.InternalException
 
InternalException(Throwable) - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.InternalException
 
InternalException(String) - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.InternalException
 
InterruptedException() - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.InterruptedException
 
io.straas.android.sdk.authentication.credential - package io.straas.android.sdk.authentication.credential
 
io.straas.android.sdk.authentication.identity - package io.straas.android.sdk.authentication.identity
 
io.straas.android.sdk.base.credential - package io.straas.android.sdk.base.credential
 
io.straas.android.sdk.base.identity - package io.straas.android.sdk.base.identity
 
io.straas.android.sdk.base.interfaces - package io.straas.android.sdk.base.interfaces
 
io.straas.android.sdk.media - package io.straas.android.sdk.media
 
io.straas.android.sdk.media.notification - package io.straas.android.sdk.media.notification
 
io.straas.android.sdk.messaging - package io.straas.android.sdk.messaging
 
io.straas.android.sdk.messaging.interfaces - package io.straas.android.sdk.messaging.interfaces
 
io.straas.android.sdk.messaging.message - package io.straas.android.sdk.messaging.message
 
io.straas.android.sdk.messaging.ui - package io.straas.android.sdk.messaging.ui
 
io.straas.android.sdk.messaging.ui.interfaces - package io.straas.android.sdk.messaging.ui.interfaces
 
io.straas.android.sdk.messaging.user - package io.straas.android.sdk.messaging.user
 
io.straas.android.sdk.streaming - package io.straas.android.sdk.streaming
 
io.straas.android.sdk.streaming.error - package io.straas.android.sdk.streaming.error
 
io.straas.android.sdk.streaming.filter - package io.straas.android.sdk.streaming.filter
 
io.straas.android.sdk.streaming.interfaces - package io.straas.android.sdk.streaming.interfaces
 
io.straas.android.sdk.streaming.screencast - package io.straas.android.sdk.streaming.screencast
 
IS_AUDIO_DISABLED - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
Bundle key in MediaSessionCompat extra to indicate whether the audio output is disabled.
isAudioEnabled() - Method in class io.straas.android.sdk.streaming.StreamManager
Returns the enabled status of audio.
isflashOpening() - Method in class io.straas.android.sdk.streaming.CameraController
Gets if flashlight is opening.
isGuest() - Method in class io.straas.android.sdk.authentication.identity.Identity
Shows if the Identity is a guest.
isGuest() - Method in class io.straas.android.sdk.messaging.User
Returns true if the user is a guest.
isOnline() - Method in class io.straas.android.sdk.messaging.User
Returns true if the user is online.
isSticker() - Method in class io.straas.android.sdk.messaging.Message
 
ITEM_ID_PLAYLIST_PREFIX - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Item id prefix to query a playlist info using getItem.

K

KEY_ALL_VIDEO_FORMATS - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle key in the result of ResultReceiver.onReceiveResult(int, Bundle) to get all video tracks formats.
KEY_CURRENT_PLAYBACK_SPEED - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle key in the result of ResultReceiver.onReceiveResult(int, Bundle) to get and set playback speed.
KEY_CURRENT_VIDEO_FORMAT_INDEX - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Use this Bundle key to get and set current format index.
KEY_DISABLE_AUDIO - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Use this Bundle key to set whether the audio output should be disabled or not to the Straas MediaBrowserServiceCompat.
KEY_EXTRA_TEXT_TRACKS - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Deprecated.
KEY_LOCATION - Static variable in class io.straas.android.sdk.media.StraasMediaCore
The Bundle key to set or get the Location.
KEY_MEDIA_BROWSER_ERROR_MESSAGE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
KEY_MEDIA_BROWSER_ERROR_REASON - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
KEY_NOTIFICATION_OPTIONS - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Use this Bundle key to set a NotificationOptions to the Straas MediaBrowserServiceCompat.
KEY_PAGE_TOKEN - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle key we put in the last MediaBrowserCompat.MediaItem of a list to indicate what next parent id is.
KEY_TEXT_TRACKS - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
Bundle key in MediaSessionCompat extra to indicate the subtitle list.
KEY_VIDEO_RENDER_TYPE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Extra Bundle key only if you want to use playFromUri to play content outside of Straas server storage and want to control different render type.

L

latestDate(Long) - Method in class io.straas.android.sdk.messaging.message.MessageRequest.Builder
Sets latest date of request messages.
length() - Method in class io.straas.android.sdk.messaging.Message
 
listed(boolean) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Sets if the live event should be listed.
LIVE_BROADCAST_START_TIME - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
Bundle key for indicate that the broadcast start time of the live event, also means that it is on LIVE now.
LIVE_BROADCAST_STATE_V2 - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
Bundle key in MediaSessionCompat extra to indicate the broadcast status of the live event(v2).
LIVE_DVR_ENABLED - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
Whether to enable live DVR feature for a live event.
LIVE_EXTRA_BROADCAST_START_TIME - Static variable in class io.straas.android.sdk.media.StraasMediaCore
LIVE_EXTRA_BROADCAST_STATE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
LIVE_EXTRA_BROADCAST_STATE_LIVE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle value for indicate that the broadcast status of the live event is on LIVE now.
LIVE_EXTRA_BROADCAST_STATE_V2 - Static variable in class io.straas.android.sdk.media.StraasMediaCore
LIVE_EXTRA_BROADCAST_STATE_WAIT_STREAM - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle value for indicate that the live event meets a trouble now, our server is waiting for the streaming.
LIVE_EXTRA_CURRENT_DATE_TIME - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle key in PlaybackStateCompat extra to indicate the current live date time from HLS EXT-X-PROGRAM-DATE-TIME tag.
LIVE_EXTRA_EVENT_STATE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
LIVE_EXTRA_EVENT_STATE_ENDED - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle value for indicate that the live event is ended.
LIVE_EXTRA_EVENT_STATE_READY - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle value for indicate that the live event is ready to broadcast.
LIVE_EXTRA_EVENT_STATE_STARTED - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle value for indicate that the live event is on LIVE now, while the the broadcast status may be StraasMediaCore.LIVE_EXTRA_BROADCAST_STATE_LIVE or StraasMediaCore.LIVE_EXTRA_BROADCAST_STATE_WAIT_STREAM.
LIVE_EXTRA_STATISTICS_CCU - Static variable in class io.straas.android.sdk.media.StraasMediaCore
LIVE_EXTRA_STATISTICS_HIT_COUNT - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Deprecated.
LIVE_ID_PREFIX - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Item id prefix to query or play a live event info.
LIVE_STATISTICS_CCU - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
Bundle key in MediaSessionCompat extra to indicate the concurrent users of the live event.
LIVE_STATISTICS_HIT_COUNT - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
Bundle key in MediaSessionCompat extra to indicate the media hit count of the live event.
LiveCountLimitException(String) - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.LiveCountLimitException
 
LiveEventConfig - Class in io.straas.android.sdk.streaming
Configuration of a live event.
LiveEventConfig.Builder - Class in io.straas.android.sdk.streaming
Builder of LiveEventConfig.
LiveEventListener - Class in io.straas.android.sdk.media
This is for developer to listen live event state changes, you should call LiveEventListener.initWithLiveId(Identity, EventListener) to get the instance.
LiveEventListener.EventListener - Interface in io.straas.android.sdk.media
The listener to listen events sent by LiveEventListener.
LiveEventListener.State - Annotation Type in io.straas.android.sdk.media

M

maxBitrate(Integer) - Method in class io.straas.android.sdk.streaming.StreamConfig.Builder
Sets the maximum video bitrate in bits/sec.
maxVideoHeight(int) - Method in class io.straas.android.sdk.streaming.StreamConfig.Builder
Sets the max video height in pixel, which the video height will be limited by.
mChatMode - Variable in class io.straas.android.sdk.messaging.ChatroomInfo
Chatroom send message mode
mChatroomName - Variable in class io.straas.android.sdk.messaging.ChatroomInfo
Chatroom name.
MEDIA_PERMISSION_DENIAL - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Caused by this media may have monetization rules and the user has to pay for it.
MediaException - Interface in io.straas.android.sdk.media
 
MediaException.CancelledException - Exception in io.straas.android.sdk.media
Current task is cancelled by developer.
MediaException.DataDeserializationException - Exception in io.straas.android.sdk.media
Caused when SDK received unexpected response from server.
MediaException.InternalException - Exception in io.straas.android.sdk.media
This means an unexpected error occurs, please report issue.
MediaException.InvalidLiveIdException - Exception in io.straas.android.sdk.media
Thrown when live event id is null or empty string, please make sure the live event id is correct and try again.
MediaException.NetworkException - Exception in io.straas.android.sdk.media
Couldn't connect to server.
MediaException.NotFoundException - Exception in io.straas.android.sdk.media
Couldn't find the media.
MediaException.PermissionDeniedException - Exception in io.straas.android.sdk.media
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 - Exception in io.straas.android.sdk.media
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 - Exception in io.straas.android.sdk.media
An error occurs on server side.
MediaException.SocketConnectionException - Exception in io.straas.android.sdk.media
Establishing socket connection failed or unexpected errors on socket happened, may be the local issues or errors on server side.
MediaException.TooManyRequestException - Exception in io.straas.android.sdk.media
Too many requests to server simultaneously, please try again later.
MediaException.UnauthorizedException - Exception in io.straas.android.sdk.media
The user is unauthorized.
MediaException.UnavailableException - Exception in io.straas.android.sdk.media
The "available" flag of the live event is set to false.
MediaException.UnprocessableEntityException - Exception in io.straas.android.sdk.media
This means an unexpected error occurs, please report issue.
mediaProjection(MediaProjection) - Method in class io.straas.android.sdk.streaming.ScreencastStreamConfig.Builder
Sets mediaProjection to capture screen contents for screencast live stream.
Message - Class in io.straas.android.sdk.messaging
Provides necessary information of a message in a chatroom.
Message(Parcel, ClassLoader) - Constructor for class io.straas.android.sdk.messaging.Message
 
Message.Builder - Class in io.straas.android.sdk.messaging
Builder of Message
MessageOperationDialogFragment - Class in io.straas.android.sdk.messaging.ui
 
MessageOperationDialogFragment() - Constructor for class io.straas.android.sdk.messaging.ui.MessageOperationDialogFragment
 
MessageRequest - Class in io.straas.android.sdk.messaging.message
MessageRequest.Builder - Class in io.straas.android.sdk.messaging.message
Builder of MessageRequest.
MessageRequest.Order - Annotation Type in io.straas.android.sdk.messaging.message
Defines the order.
MessagingException - Interface in io.straas.android.sdk.messaging
Describes the error that occurs when developer call methods in ChatroomManager.
MessagingException.BannedWordException - Exception in io.straas.android.sdk.messaging
The message you sent contains banned word(s), please see document for more information.
MessagingException.ChatroomNameNotFoundException - Exception in io.straas.android.sdk.messaging
This occurs when developer is trying to connect to a chatroom that doesn't exist.
MessagingException.InternalException - Exception in io.straas.android.sdk.messaging
Internal error occurs.
MessagingException.NetworkException - Exception in io.straas.android.sdk.messaging
Couldn't connect to server.
MessagingException.NotFoundException - Exception in io.straas.android.sdk.messaging
Target resource couldn't be found.
MessagingException.PermissionException - Exception in io.straas.android.sdk.messaging
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 execute the task.
MessagingException.RequestRejectedException - Exception in io.straas.android.sdk.messaging
This occurs when developer is trying to invoke a method with wrong parameter causing IllegalArgumentException or when chat room is in wrong ChatroomState causing IllegalStateException.
MessagingException.ServerException - Exception in io.straas.android.sdk.messaging
An error occurs on server side.
MessagingException.TooManyRequestsException - Exception in io.straas.android.sdk.messaging
Too many requests in specified time period, please try later.
MessagingException.UnauthorizedException - Exception in io.straas.android.sdk.messaging
The user is unauthorized.
MessagingException.UserNotFoundException - Exception in io.straas.android.sdk.messaging
The user doesn't exist.
mHeight - Variable in class io.straas.android.sdk.streaming.BaseImageFilter
Output video height.
MicrophoneInitFailException() - Constructor for exception io.straas.android.sdk.streaming.error.PrepareException.MicrophoneInitFailException
 
mIndicesOrder - Variable in class io.straas.android.sdk.streaming.BaseImageFilter
Order of drawing indices by default.
mInputInterval - Variable in class io.straas.android.sdk.messaging.ChatroomInfo
Chatroom send message interval in second.
mMainImage - Variable in class io.straas.android.sdk.messaging.Sticker
 
mName - Variable in class io.straas.android.sdk.messaging.Sticker
 
MODE_ALL - Static variable in enum io.straas.android.sdk.messaging.ChatMode
 
MODE_ANCHOR - Static variable in enum io.straas.android.sdk.messaging.ChatMode
 
MODE_LOGIN - Static variable in enum io.straas.android.sdk.messaging.ChatMode
 
mShapeCoordinate - Variable in class io.straas.android.sdk.streaming.BaseImageFilter
Shape coordinate by default.
mSticker - Variable in class io.straas.android.sdk.messaging.ChatroomInfo
Sticker in chatroom.
mStickers - Variable in class io.straas.android.sdk.messaging.Sticker
 
mTextureCoordinate - Variable in class io.straas.android.sdk.streaming.BaseImageFilter
Texture coordinate by default.
mUserCount - Variable in class io.straas.android.sdk.messaging.ChatroomInfo
User count in chatroom.
mWidth - Variable in class io.straas.android.sdk.streaming.BaseImageFilter
Output video width.

N

NETWORK_ERROR - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Occurs when failed to connect to the server.
NetworkException(Throwable) - Constructor for exception io.straas.android.sdk.authentication.credential.CredentialFailException.NetworkException
 
NetworkException(Throwable) - Constructor for exception io.straas.android.sdk.base.credential.CredentialFailException.NetworkException
Deprecated.
 
NetworkException(Throwable) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.NetworkException
 
NetworkException(Throwable) - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.NetworkException
 
newBuilder() - Method in class io.straas.android.sdk.messaging.RawData
 
newInstance() - Static method in class io.straas.android.sdk.media.ImaHelper
 
NOT_FOUND - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
This happens when the media you are trying to access is not found on the server, or it hasn't been loaded to client from the server.
NOT_PUBLIC - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Occurs when the content you are trying to access is not found on server.
NotFoundException() - Constructor for exception io.straas.android.sdk.media.MediaException.NotFoundException
 
NotFoundException() - Constructor for exception io.straas.android.sdk.messaging.MessagingException.NotFoundException
 
NotFoundException(String) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.NotFoundException
 
NotFoundException() - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.NotFoundException
 
NotificationOptions - Class in io.straas.android.sdk.media.notification
This provides some options for setting your Notification.
NotificationOptions(Parcel) - Constructor for class io.straas.android.sdk.media.notification.NotificationOptions
 
NotificationOptions.Builder - Class in io.straas.android.sdk.media.notification
NotificationOptions.NOTIFICATION_ACTIONS - Annotation Type in io.straas.android.sdk.media.notification
This indicates the actions that can be used in NotificationOptions.Builder.setActions(List, int[]).

O

oldestDate(Long) - Method in class io.straas.android.sdk.messaging.message.MessageRequest.Builder
Sets oldest date of request messages.
onAggregatedDataAdded(SimpleArrayMap<String, Integer>) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when some aggregated data was added to the chatroom.
onChatWriteModeChanged(ChatMode) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when the ChatMode of current chatroom changed.
onConnected() - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when a connection to a chatroom succeeded.
onConnectFailed(Exception) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when a connection to a chatroom failed.
onCreateDialog(Bundle) - Method in class io.straas.android.sdk.messaging.ui.MessageOperationDialogFragment
 
onDestroy() - Method in class io.straas.android.sdk.streaming.BaseImageFilter
Called when this filter destroys.
onDestroy() - Method in class io.straas.android.sdk.streaming.filter.SkinBeautifyFilter
 
onDetachedFromWindow() - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
onDetachedFromWindow() - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
 
onDetachedFromWindow() - Method in class io.straas.android.sdk.messaging.ui.ChatroomViewBase
 
onDisconnected() - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when a connection was shut down successfully by invoking ChatroomManager.disconnect()
onDraw(int, int) - Method in class io.straas.android.sdk.streaming.BaseImageFilter
Override this method by OpenGLES to define how the drawing occurs.
onDraw(int, int) - Method in class io.straas.android.sdk.streaming.filter.SkinBeautifyFilter
 
onError(Exception) - Method in interface io.straas.android.sdk.media.LiveEventListener.EventListener
The error happens after LiveEventListener.STATE_STARTED, may be the local network issues or errors on server side.
onError(Exception) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when a error occurred.
onError(Exception, String) - Method in interface io.straas.android.sdk.streaming.interfaces.EventListener
Called when an error occurs in streaming, that is StreamManager.getStreamState() returns StreamManager.STATE_STREAMING.
onExtrasChanged(Bundle) - Method in class io.straas.android.sdk.media.ImaHelper
 
onFailure(E) - Method in interface io.straas.android.sdk.base.interfaces.OnResultListener
Invoked with error information when the task fails.
onFailure(Exception) - Method in interface io.straas.android.sdk.messaging.ui.interfaces.CredentialAuthorizeListener
Called when a credential authorization failed.
onInit(int, int) - Method in class io.straas.android.sdk.streaming.BaseImageFilter
Called when initializing.
onInit(int, int) - Method in class io.straas.android.sdk.streaming.filter.SkinBeautifyFilter
 
onInputIntervalChanged(int) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when the message-send interval of current chatroom changed.
onMediaBrowserConnected(StraasMediaCore) - Method in interface io.straas.android.sdk.media.StraasMediaCore.UiContainer
onMediaBrowserConnectionFailed() - Method in interface io.straas.android.sdk.media.StraasMediaCore.UiContainer
 
onMediaBrowserConnectionSuspended() - Method in interface io.straas.android.sdk.media.StraasMediaCore.UiContainer
 
onMessageAdded(Message) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when a new message was added to the chatroom.
onMessageFlushed() - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when the messages in the chatroom was flushed by Master.
onMessageRemoved(String) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when a message was removed from the chatroom.
onMetadataChanged(MediaMetadataCompat) - Method in class io.straas.android.sdk.media.ImaHelper
 
onMetadataUpdated(SimpleArrayMap<String, ChatMetadata>) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when ChatMetadata are updated.
onPinnedMessageUpdated(Message) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when the pinned message is updated or unpinned.
onPlaybackStateChanged(PlaybackStateCompat) - Method in class io.straas.android.sdk.media.ImaHelper
 
onRawDataAdded(Message) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when a new raw data message was added to the chatroom.
onRestoreInstanceState(Parcelable) - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
OnResultListener<T,E> - Interface in io.straas.android.sdk.base.interfaces
OnResultListener is a result listener of task.
onSaveInstanceState() - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
onSessionCreate(Context, ScreencastSession.SessionListener, Bundle) - Method in interface io.straas.android.sdk.streaming.screencast.ScreencastSession
Called when ScreencastSession is created.
onSessionDestroy() - Method in interface io.straas.android.sdk.streaming.screencast.ScreencastSession
Called when the screencast Service is destroyed.
onSessionDestroyed() - Method in class io.straas.android.sdk.media.ImaHelper
 
onStickerMessage(String) - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
onStreamManagerInitComplete(Task<StreamManager>) - Method in interface io.straas.android.sdk.streaming.screencast.ScreencastSession
onStreamStatsReportUpdate(StreamStatsReport) - Method in interface io.straas.android.sdk.streaming.interfaces.EventListener
Called when the stream statistics report has been updated in streaming state, that is when StreamManager.getStreamState() returns StreamManager.STATE_STREAMING.
onSuccess(T) - Method in interface io.straas.android.sdk.base.interfaces.OnResultListener
Invoked with required information when the task succeeds.
onSuccess(ChatroomManager) - Method in interface io.straas.android.sdk.messaging.ui.interfaces.CredentialAuthorizeListener
Called when a credential authorization succeeded.
onUnbind(StraasMediaCore) - Method in interface io.straas.android.sdk.media.StraasMediaCore.UiContainer
onUserJoined(User...) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when a user/users joined the chatroom.
onUserLeft(Integer...) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when a user/users leaved the chatroom.
onUserUpdated(User...) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Called when information of a user/users is updated.
order(String) - Method in class io.straas.android.sdk.messaging.message.MessageRequest.Builder
Sets the order of request messages.

P

page(int) - Method in class io.straas.android.sdk.messaging.message.MessageRequest.Builder
Sets target page of messages.
PARENT_ID_LIVES - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Parent id to subscribe all available public live event list.
PARENT_ID_VODS - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Parent id to subscribe all available public VOD (video on demand) list.
parse(String) - Static method in enum io.straas.android.sdk.messaging.Role
 
parseString(String) - Static method in enum io.straas.android.sdk.messaging.ChatMode
 
PermissionDeniedException() - Constructor for exception io.straas.android.sdk.media.MediaException.PermissionDeniedException
 
PermissionException() - Constructor for exception io.straas.android.sdk.messaging.MessagingException.PermissionException
 
PermissionException(String) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.PermissionException
 
perPage(int) - Method in class io.straas.android.sdk.messaging.message.MessageRequest.Builder
Sets message count per page.
pinMessage(Message) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Pin a message to this chatroom, then everybody in this chatroom can get the pinned message by ChatroomManager.getPinnedMessage() or EventListener.onPinnedMessageUpdated(Message).
PLANE_PROJECTION_MODE_CROP - Static variable in class io.straas.android.sdk.media.StraasMediaCore
video frame is scaled to fill the size of the view by maintaining the aspect ratio.
PLANE_PROJECTION_MODE_FIT - Static variable in class io.straas.android.sdk.media.StraasMediaCore
video frame is scaled to fit the size of the view by maintaining the aspect ratio (black borders may be displayed).
PLANE_PROJECTION_MODE_FULL - Static variable in class io.straas.android.sdk.media.StraasMediaCore
The specified aspect ratio is ignored.
PLAY_COUNT_SUM - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The sum of number of times the media (Live or VOD) played.
PLAY_DURATION_SUM - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The sum of play duration of the media (Live or VOD) in seconds.
PLAY_OPTION_HLS_LIVE_SYNC_INTERVAL_COUNT - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Extra Bundle key in playFromMediaId.
PLAY_OPTION_LIVE_LOW_LATENCY - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Extra Bundle key in playFromMediaId which could significantly reduce the latency between broadcaster and viewers if set the Bundle value to true, but the adaptive bitrate will be disabled.
PLAY_OPTION_SEEK_TIME - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Extra Bundle key only if you need to seek to the specific timestamp at start.
PLAYLIST_STUCK - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
This error occurs when the playlist is stuck.
prepare(StreamConfig, TextureView) - Method in class io.straas.android.sdk.streaming.StreamManager
Initializes camera, codec, microphone, you will be able to preview the live video after prepare success.
prepare(ScreencastStreamConfig) - Method in class io.straas.android.sdk.streaming.StreamManager
Checks if ScreencastStreamConfig is valid, then initializes microphone and codec.
PrepareException - Interface in io.straas.android.sdk.streaming.error
 
PrepareException.CameraInitFailException - Exception in io.straas.android.sdk.streaming.error
Camera initialization fails, maybe permission problem or other camera problems.
PrepareException.InternalException - Exception in io.straas.android.sdk.streaming.error
Internal error occurs.
PrepareException.MicrophoneInitFailException - Exception in io.straas.android.sdk.streaming.error
Microphone initialization fails, maybe permission problem or other microphone problems.
PrepareException.RequestRejectedException - Exception in io.straas.android.sdk.streaming.error
This occurs when developer is trying calling a method in wrong state causing IllegalStateException.
PrepareException.ResolutionNotSupport - Exception in io.straas.android.sdk.streaming.error
Resolution is not supported by camera in current device.
PrepareException.ScreenCaptureInitFailException - Exception in io.straas.android.sdk.streaming.error
Screen capture initialization fails, maybe permission problem or other media projection problems.
profile(Profile) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Sets the profile of the live event. {360p,720p,720p_and_source,1080p_and_source} Note: 1080p_and_source can only be used when the account is enabled highest resolution 1080p authority.
Profile - Enum in io.straas.android.sdk.streaming
Profile.
PublishException(int) - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.PublishException
 

R

RawData - Class in io.straas.android.sdk.messaging
Call sendRawData(RawData) then everyone will receive in onRawDataAdded(RawData) later
RawData(Parcel, ClassLoader) - Constructor for class io.straas.android.sdk.messaging.RawData
 
RawData.Builder - Class in io.straas.android.sdk.messaging
Builder class for building the raw data for ChatroomManager.sendRawData(RawData)
removeAllEventListener() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Remove all event listener, no one could receive future event.
removeAllEventListener() - Method in class io.straas.android.sdk.streaming.StreamManager
Remove all event listener, no one could receive future event.
removeEventListener(EventListener) - Method in class io.straas.android.sdk.messaging.ChatroomManager
 
removeEventListener(EventListener) - Method in class io.straas.android.sdk.streaming.StreamManager
 
removeMessage(Message) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Remove message.
RequestRejectedException(Throwable) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.RequestRejectedException
 
RequestRejectedException(String) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.RequestRejectedException
 
RequestRejectedException(Throwable) - Constructor for exception io.straas.android.sdk.streaming.error.PrepareException.RequestRejectedException
 
RequestRejectedException(Throwable) - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.RequestRejectedException
 
resetIdentity(Identity) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Resets Identity.
resetToken(String) - Method in class io.straas.android.sdk.authentication.identity.Identity
Reset the member token of this Identity.
Resolution - Enum in io.straas.android.sdk.streaming
Resolution.
ResolutionNotSupport() - Constructor for exception io.straas.android.sdk.streaming.error.PrepareException.ResolutionNotSupport
 
reviveUsers(List<User>) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Revive users from blocked status.
Role - Enum in io.straas.android.sdk.messaging
Role means a user's status in a chatroom.

S

ScreenCaptureInitFailException(Throwable) - Constructor for exception io.straas.android.sdk.streaming.error.PrepareException.ScreenCaptureInitFailException
 
ScreencastSession - Interface in io.straas.android.sdk.streaming.screencast
Developers should implement ScreencastSession to receive callbacks and provide information needed for the screencast Service.
ScreencastSession.SessionListener - Interface in io.straas.android.sdk.streaming.screencast
ScreencastSession.SessionListener provides interface for developer to notify screencast service upon different methods.
ScreencastStreamConfig - Class in io.straas.android.sdk.streaming
ScreencastStreamConfig.Builder - Class in io.straas.android.sdk.streaming
 
sendAggregatedData(String) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Send a string to chatroom which will be aggregated in onAggregatedDataAdded.
sendMessage(String) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Sends message to chatroom.
sendMessage(String) - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
sendRawData(RawData) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Send the RawData to chatroom.
ServerException(int) - Constructor for exception io.straas.android.sdk.authentication.credential.CredentialFailException.ServerException
 
ServerException(int) - Constructor for exception io.straas.android.sdk.base.credential.CredentialFailException.ServerException
Deprecated.
 
ServerException(int) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.ServerException
 
ServerException(Throwable) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.ServerException
 
ServerException() - Constructor for exception io.straas.android.sdk.messaging.MessagingException.ServerException
 
ServerException(int) - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.ServerException
 
ServerException(String) - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.ServerException
 
SERVICE_FOREGROUND_IS_ENABLED - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
Bundle key in MediaSessionCompat extra to get the boolean value that indicates the foreground mode is enabled or not.
setActions(List<String>, int[]) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets at most 4 actions to show in the Notification, and at most 3 indices to the actions to show in the compat view.
setAdUiComponent(StraasMediaCore.UiContainer) - Method in class io.straas.android.sdk.media.ImaHelper
 
setAdUiComponent(StraasMediaCore.UiContainer) - Method in class io.straas.android.sdk.media.StraasMediaCore.ImaHelperBase
 
setAudioEnabled(boolean) - Method in class io.straas.android.sdk.streaming.StreamManager
Sets the enabled status of audio.
setBrightnessLevel(float) - Method in class io.straas.android.sdk.streaming.filter.SkinBeautifyFilter
Sets the brightness level.
setChannel(NotificationChannel) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
setChatroomManager(ChatroomManager) - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
setChatroomManager(ChatroomManager) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
setClearDrawableResId(int) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets the resource ID of the icon that indicates NotificationOptions.ACTION_CLEAR.
setCmsHost(String) - Method in class io.straas.android.sdk.messaging.ChatroomManager.ChatroomConfig.Builder
Sets the host of CMS restful API server.
setColor(int) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets the color of Notification.
setConnectionCallback(MediaBrowserCompat.ConnectionCallback) - Method in class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig.Builder
Sets the callback for connection related events.
setCredentialAuthorizeListener(CredentialAuthorizeListener) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Set CredentialAuthorizeListener.
setDisplayMode(int) - Method in class io.straas.android.sdk.media.StraasMediaCore
Set how video frame window is displayed.
setEventListener(EventListener) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Set EventListener.
setFilter(BaseImageFilter) - Method in class io.straas.android.sdk.streaming.StreamManager
Sets filter for video.
setIdentity(Identity) - Method in class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig.Builder
Sets the Identity of the user.
setIdentity(Identity) - Method in class io.straas.android.sdk.media.StraasMediaCore
Set a new identity after MediaBrowser is connected.
setImaHelper(StraasMediaCore.ImaHelperBase) - Method in class io.straas.android.sdk.media.StraasMediaCore
Optional API only if you need Interactive Media Ad integration.
setInputMaxLines(int) - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
Makes the text input area at most this many lines tall.
setJsonText(String) - Method in class io.straas.android.sdk.messaging.RawData.Builder
 
setLargeIcon(Bitmap) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets the bitmap of large icon.
setMediaControllerCompat(MediaControllerCompat) - Method in class io.straas.android.sdk.media.ImaHelper
 
setMediaControllerCompat(MediaControllerCompat) - Method in class io.straas.android.sdk.media.StraasMediaCore.ImaHelperBase
 
setMessageItemCustomView(int) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Set a custom view to be used for the items that show the messages.
setMetadata(String, Object, boolean) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Sets a set of meta data to current chatroom.
setMsgDividerColor(int) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Sets the color of messages divider.
setName(String) - Method in class io.straas.android.sdk.messaging.User
Sets name.
setObject(T) - Method in class io.straas.android.sdk.messaging.RawData.Builder
Set JSON (RFC 7159) data directly by insert the object, we will try our best converting to JSON string and call RawData.Builder.setJsonText(String) automatically.
setOnTouchListener(View.OnTouchListener) - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
You will receive onTouch(View, MotionEvent) when this widget is available for accepting user input.
setPauseDrawableResId(int) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets the resource ID of the icon that indicates "pause".
setPinnedMessageCustomView(View) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Set a custom view to be used for the pinned message.
setPlaneProjectionMode(int) - Method in class io.straas.android.sdk.media.ImaHelper
 
setPlaneProjectionMode(int) - Method in class io.straas.android.sdk.media.StraasMediaCore.ImaHelperBase
 
setPlaneProjectionMode(int) - Method in class io.straas.android.sdk.media.StraasMediaCore
Set projection mode when render type is StraasMediaCore.VIDEO_RENDER_TYPE_PLAIN which is a plain instead of sphere.
setPlayDrawableResId(int) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets the resource ID of the icon that indicates "play".
setRestHost(String) - Method in class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig.Builder
Sets the host of the restful API server media-core connects to.
setRestHost(String) - Method in class io.straas.android.sdk.messaging.ChatroomManager.ChatroomConfig.Builder
Sets the host of the chatroom restful API server.
setSendMessageListener(OnCompleteListener<Void>) - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
This method sets a listener for callback while a new message is sent.
setShowAvatar(boolean) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Decides to show avatar or not, default is true.
setSignInListener(SignInListener) - Method in class io.straas.android.sdk.messaging.ui.ChatroomInputView
 
setSkinSmoothnessLevel(float) - Method in class io.straas.android.sdk.streaming.filter.SkinBeautifyFilter
Sets the skin smoothness level.
setSkipNextDrawableResId(int) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets the resource ID of the icon that indicates NotificationOptions.ACTION_NEXT.
setSkipPrevDrawableResId(int) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets the resource ID of the icon that indicates NotificationOptions.ACTION_PREV.
setSmallIconResId(int) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets the resource ID of the small icon.
setSocketHost(String) - Method in class io.straas.android.sdk.messaging.ChatroomManager.ChatroomConfig.Builder
Sets the host of the chatroom socket server.
setStreamStatsReportUpdatePeriod(int) - Method in class io.straas.android.sdk.streaming.StreamManager
Sets the update period in millis for stream statistics report.
setTargetClassName(String) - Method in class io.straas.android.sdk.media.notification.NotificationOptions.Builder
Sets the name of the Activity that will be launched when user clicks the content area of the Notification.
setUiContainer(StraasMediaCore.UiContainer) - Method in class io.straas.android.sdk.media.StraasMediaCore.MediaCoreConfig.Builder
Sets the UI container for the player view.
setUiContainer(StraasMediaCore.UiContainer) - Method in class io.straas.android.sdk.media.StraasMediaCore
Optional API only if you didn't put it at constructor, or you want to change the container target.
setVerticalScrollBarEnabled(boolean) - Method in class io.straas.android.sdk.messaging.ui.ChatroomOutputView
Define whether the vertical scrollbar of the RecyclerView that contains messages should be drawn or not.
signIn() - Method in interface io.straas.android.sdk.messaging.ui.interfaces.SignInListener
Called when the guest in chatroom that ChatMode is ChatMode.LOGIN or ChatMode.ANCHOR click input hint.
SignInListener - Interface in io.straas.android.sdk.messaging.ui.interfaces
Provides developer a interface to lead user to sign in.
SkinBeautifyFilter - Class in io.straas.android.sdk.streaming.filter
This filter can beautify the skin and adjust the brightness.
SkinBeautifyFilter(float, float) - Constructor for class io.straas.android.sdk.streaming.filter.SkinBeautifyFilter
 
SLOW_INTERNET_SPEED - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
This error occurs when the speed of internet connection between the client and the server is too slow to do the operation (e.g. playing a video content) normally.
SOCKET_CONNECTION_ERROR - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Error occurs when client tries to establish the socket connection.
start(String) - Method in class io.straas.android.sdk.media.LiveEventListener
Starts to listen the change of the live event related properties.
START_TIME - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The start time of the live event.
startStreaming(String) - Method in class io.straas.android.sdk.streaming.StreamManager
startStreamingWithLiveId(String) - Method in class io.straas.android.sdk.streaming.StreamManager
Starts to stream.
startStreamingWithStreamKey(String) - Method in class io.straas.android.sdk.streaming.StreamManager
Starts to stream.
STATE_CONNECTING - Static variable in class io.straas.android.sdk.streaming.StreamManager
The state StreamManager is trying to create a live event or establish rtmp connection.
STATE_DISCONNECTING - Static variable in class io.straas.android.sdk.streaming.StreamManager
The state StreamManager is trying to disconnect.
STATE_IDLE - Static variable in class io.straas.android.sdk.media.LiveEventListener
Means the LiveEventListener is idle.
STATE_IDLE - Static variable in class io.straas.android.sdk.streaming.StreamManager
The initial state or the state after StreamManager.destroy()
STATE_PREPARED - Static variable in class io.straas.android.sdk.streaming.StreamManager
STATE_PREPARING - Static variable in class io.straas.android.sdk.streaming.StreamManager
The state StreamManager is executing StreamManager.
STATE_STARTED - Static variable in class io.straas.android.sdk.media.LiveEventListener
Means the LiveEventListener has started.
STATE_STARTING - Static variable in class io.straas.android.sdk.media.LiveEventListener
Means the LiveEventListener is starting.
STATE_STREAMING - Static variable in class io.straas.android.sdk.streaming.StreamManager
The state StreamManager is streaming.
Sticker - Class in io.straas.android.sdk.messaging
Available sticker in a chatroom.
Sticker() - Constructor for class io.straas.android.sdk.messaging.Sticker
 
stop() - Method in class io.straas.android.sdk.media.LiveEventListener
Stops listening the live event related properties change.
stopStreaming() - Method in class io.straas.android.sdk.streaming.StreamManager
Stops the operation doing in StreamManager.startStreamingWithLiveId(String) or StreamManager.startStreamingWithStreamKey(String), that is connecting and streaming.
StraasMediaCore - Class in io.straas.android.sdk.media
The core which will create a MediaBrowserCompat for you to connect to the Straas MediaBrowserServiceCompat, also handles the video and ad rendering layers.
StraasMediaCore(StraasMediaCore.MediaCoreConfig) - Constructor for class io.straas.android.sdk.media.StraasMediaCore
Create a MediaBrowserCompat which could get through StraasMediaCore.getMediaBrowser().
StraasMediaCore(Identity, MediaBrowserCompat.ConnectionCallback) - Constructor for class io.straas.android.sdk.media.StraasMediaCore
Create a MediaBrowserCompat which could get through StraasMediaCore.getMediaBrowser().
StraasMediaCore(StraasMediaCore.UiContainer, Identity, MediaBrowserCompat.ConnectionCallback) - Constructor for class io.straas.android.sdk.media.StraasMediaCore
Create a MediaBrowserCompat which could get through StraasMediaCore.getMediaBrowser().
StraasMediaCore.DisplayMode - Annotation Type in io.straas.android.sdk.media
 
StraasMediaCore.ErrorReason - Class in io.straas.android.sdk.media
 
StraasMediaCore.ErrorReason.ErrorReasonType - Annotation Type in io.straas.android.sdk.media
 
StraasMediaCore.ImaHelperBase - Class in io.straas.android.sdk.media
 
StraasMediaCore.MediaCoreConfig - Class in io.straas.android.sdk.media
Configuration for the StraasMediaCore
StraasMediaCore.MediaCoreConfig.Builder - Class in io.straas.android.sdk.media
StraasMediaCore.PlaneProjectionMode - Annotation Type in io.straas.android.sdk.media
 
StraasMediaCore.UiContainer - Interface in io.straas.android.sdk.media
 
StreamConfig - Class in io.straas.android.sdk.streaming
StreamConfig.Builder - Class in io.straas.android.sdk.streaming
 
StreamConfig.CAMERA_TYPE - Annotation Type in io.straas.android.sdk.streaming
Camera types.
StreamException - Interface in io.straas.android.sdk.streaming.error
 
StreamException.EventExpiredException - Exception in io.straas.android.sdk.streaming.error
Live event expires, please set this live event to ended by StreamManager.endLiveEvent(String) and create a new one by StreamManager.createLiveEvent(LiveEventConfig).
StreamException.InternalException - Exception in io.straas.android.sdk.streaming.error
Internal error occurs.
StreamException.InterruptedException - Exception in io.straas.android.sdk.streaming.error
Current task is interrupted by developer.
StreamException.LiveCountLimitException - Exception in io.straas.android.sdk.streaming.error
Couldn't create new event because of limitation of user's live event count.
StreamException.NetworkException - Exception in io.straas.android.sdk.streaming.error
Couldn't connect to server.
StreamException.NotFoundException - Exception in io.straas.android.sdk.streaming.error
Couldn't find the live event.
StreamException.PublishException - Exception in io.straas.android.sdk.streaming.error
Thrown to indicate that the application has failed to publish a stream.
StreamException.RequestRejectedException - Exception in io.straas.android.sdk.streaming.error
This occurs when developer is trying to invoke a method with wrong parameter causing IllegalArgumentException or calling a method in wrong state causing IllegalStateException.
StreamException.ServerException - Exception in io.straas.android.sdk.streaming.error
An error occurs on server side.
StreamException.StreamOccupiedException - Exception in io.straas.android.sdk.streaming.error
The target live event is broadcasting or releasing the resources of last streaming, you may check whether there is other device streaming to this live event or not and try later.
StreamException.UnauthorizedException - Exception in io.straas.android.sdk.streaming.error
The user is unauthorized.
StreamException.UnavailableException - Exception in io.straas.android.sdk.streaming.error
The "available" flag of the live event is set to false.
StreamManager - Class in io.straas.android.sdk.streaming
StreamManager is used to manage a rtmp client for Straas.
StreamManager.StreamState - Annotation Type in io.straas.android.sdk.streaming
Show state of StreamManager.
StreamOccupiedException() - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.StreamOccupiedException
 
StreamStatsReport - Class in io.straas.android.sdk.streaming
StreamStatsReport provides streaming related instant information.
StreamStatsReport() - Constructor for class io.straas.android.sdk.streaming.StreamStatsReport
 
StreamStatsReport(int, float) - Constructor for class io.straas.android.sdk.streaming.StreamStatsReport
 
SUBSCRIBE_CHILDREN_OPTIONS_CATEGORY_IDS - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle key when subscribing to a parent id with an optional Bundle.
SUBSCRIBE_CHILDREN_OPTIONS_OWNER_MEMBER_ID - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle key when subscribing to a parent id with an optional Bundle.
SUBSCRIBE_CHILDREN_OPTIONS_SORT - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle key when subscribing to a parent id with an optional Bundle.
SUBSCRIBE_CHILDREN_OPTIONS_STATUS - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle key when subscribing to a parent id with an optional Bundle.
SUBSCRIBE_CHILDREN_OPTIONS_TYPES - Static variable in class io.straas.android.sdk.media.StraasMediaCore
Bundle key when subscribing to a parent id with an optional Bundle.
subSequence(int, int) - Method in class io.straas.android.sdk.messaging.Message
 
switchCamera() - Method in class io.straas.android.sdk.streaming.CameraController
Switch to another camera.
synopsis(String) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Sets synopsis of the live event.

T

TEMPORARILY_UNAVAILABLE - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Occurs when Straas server has some trouble temporarily or there is something wrong with the broadcaster of the live event.
TEXT_TRACK_ID_ARRAY - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The text track ID array for VOD.
TEXTURE_COORDS_PER_VERTEX - Static variable in class io.straas.android.sdk.streaming.BaseImageFilter
How many elements per texture vertex in BaseImageFilter.mTextureCoordinate.
title(String) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Sets title of the live event.
toggleFlash() - Method in class io.straas.android.sdk.streaming.CameraController
Toggle flash light.
TOO_MANY_REQUESTS - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Too many requests for the server, please try again later.
TooManyRequestException() - Constructor for exception io.straas.android.sdk.media.MediaException.TooManyRequestException
 
TooManyRequestsException() - Constructor for exception io.straas.android.sdk.messaging.MessagingException.TooManyRequestsException
 
toString() - Method in class io.straas.android.sdk.authentication.identity.Identity
 
toString() - Method in class io.straas.android.sdk.messaging.AggregatedData
 
toString() - Method in enum io.straas.android.sdk.messaging.ChatMode
 
toString() - Method in enum io.straas.android.sdk.streaming.Profile
 
TYPE - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The event type indicates the live owns different functions and is used in different scenario.

U

UNAUTHORIZED - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
The user is unauthorized because the token in Identity is invalid or expired.
UnauthorizedException() - Constructor for exception io.straas.android.sdk.media.MediaException.UnauthorizedException
 
UnauthorizedException() - Constructor for exception io.straas.android.sdk.messaging.MessagingException.UnauthorizedException
 
UnauthorizedException() - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.UnauthorizedException
 
UnavailableException() - Constructor for exception io.straas.android.sdk.media.MediaException.UnavailableException
 
UnavailableException() - Constructor for exception io.straas.android.sdk.streaming.error.StreamException.UnavailableException
 
UNKNOWN - Static variable in class io.straas.android.sdk.media.StraasMediaCore.ErrorReason
Occurs when unexpected error happened.
unpinMessage() - Method in class io.straas.android.sdk.messaging.ChatroomManager
Unpin the message from chatroom.
UnprocessableEntityException() - Constructor for exception io.straas.android.sdk.media.MediaException.UnprocessableEntityException
 
UPDATED_AT - Static variable in interface io.straas.android.sdk.media.VideoCustomMetadata
The data last updated time.
updateNickname(String) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Updates current user's nick name to server.
updateNotification(Notification) - Method in interface io.straas.android.sdk.streaming.screencast.ScreencastSession.SessionListener
ScreencastSession notify the screencast Service to update Notification Note: for android 8.0, you MUST implement Notification.Builder#setChannelId(String) for your customized Notification, otherwise you'll get the thrown RuntimeException with description invalid channel for service notification when NotificationManagerCompat.notify(int, Notification).
updateUserRole(User, Role) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Update a user's role.
updateUserRoleByMemberId(String, Role) - Method in class io.straas.android.sdk.messaging.ChatroomManager
Update a user's role by memberId.
User - Class in io.straas.android.sdk.messaging
Provides necessary information of a person in a chatroom.
User(Parcel, ClassLoader) - Constructor for class io.straas.android.sdk.messaging.User
 
USER_LABEL_NOT_EXIST - Static variable in class io.straas.android.sdk.messaging.User
 
userCount(int) - Method in interface io.straas.android.sdk.messaging.interfaces.EventListener
Sent from the server to provide current user count in chatroom.
UserNotFoundException() - Constructor for exception io.straas.android.sdk.messaging.MessagingException.UserNotFoundException
 
UserNotFoundException(String) - Constructor for exception io.straas.android.sdk.messaging.MessagingException.UserNotFoundException
 
UserType - Enum in io.straas.android.sdk.messaging.user
User type, this categorizes User and could be used in ChatroomManager.getUsers(UserType).

V

valueOf(String) - Static method in enum io.straas.android.sdk.messaging.ChatMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.straas.android.sdk.messaging.ChatroomState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.straas.android.sdk.messaging.Role
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.straas.android.sdk.messaging.user.UserType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.straas.android.sdk.streaming.Profile
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum io.straas.android.sdk.streaming.Resolution
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.straas.android.sdk.messaging.ChatMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.straas.android.sdk.messaging.ChatroomState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.straas.android.sdk.messaging.Role
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.straas.android.sdk.messaging.user.UserType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.straas.android.sdk.streaming.Profile
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum io.straas.android.sdk.streaming.Resolution
Returns an array containing the constants of this enum type, in the order they are declared.
VIDEO_RENDER_TYPE_360 - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
VIDEO_RENDER_TYPE_NONE - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
VIDEO_RENDER_TYPE_PLAIN - Static variable in class io.straas.android.sdk.media.StraasMediaCore
 
VideoCustomMetadata - Interface in io.straas.android.sdk.media
 
videoResolution(int, int) - Method in class io.straas.android.sdk.streaming.ScreencastStreamConfig.Builder
Sets video resolution for live stream, this means the resolution that audience can see.
videoResolution(int, int) - Method in class io.straas.android.sdk.streaming.StreamConfig.Builder
Sets video resolution for live stream, this means the resolution that audience can see.
vodAvailable(boolean) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Set whether the new vod of this live event is available by users.
vodListed(boolean) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Set whether to list the new vod of this live event.
vodMerge(boolean) - Method in class io.straas.android.sdk.streaming.LiveEventConfig.Builder
Set whether to merge all VoDs of the live event together.

W

writeToParcel(Parcel, int) - Method in class io.straas.android.sdk.authentication.identity.Identity
 
writeToParcel(Parcel, int) - Method in class io.straas.android.sdk.media.notification.NotificationOptions
 
writeToParcel(Parcel, int) - Method in class io.straas.android.sdk.messaging.AggregatedData
 
writeToParcel(Parcel, int) - Method in class io.straas.android.sdk.messaging.Message
 
writeToParcel(Parcel, int) - Method in class io.straas.android.sdk.messaging.RawData
 
writeToParcel(Parcel, int) - Method in class io.straas.android.sdk.messaging.User
 
WrongInformationException() - Constructor for exception io.straas.android.sdk.authentication.credential.CredentialFailException.WrongInformationException
 
WrongInformationException() - Constructor for exception io.straas.android.sdk.base.credential.CredentialFailException.WrongInformationException
Deprecated.
 
A B C D E F G H I K L M N O P R S T U V W