Constants
ChattingInfo Class
com.kollus.sdk.media.content.KollusContent.ChattingInfo
A class that manages connection information, user permissions, and profile settings for the chat solution integrated with Kollus Live service.
Public Properties
String mainUrlString kindString positionboolean isVisibleboolean isAdminboolean isAnonymousboolean bDisableDefaultProfilePhotoString roomIdString chatServerString helloMessageString userNameString userIdString photoUrl
Property Details
| Property | Type | Description |
|---|---|---|
boolean bDisableDefaultProfilePhoto | boolean | Whether to display the default profile image |
String chatServer | String | Chat server host address |
String helloMessage | String | Announcement message to be automatically sent when entering the chat room |
boolean isAdmin | boolean | Whether to grant administrator permissions |
boolean isAnonymous | boolean | Whether anonymous access is enabled |
boolean isVisible | boolean | Whether the chat UI is displayed on screen |
String kind | String | Chat service solution type (e.g., Chatroll, Kollus, etc.) |
String mainUrl | String | Main access endpoint URL for the chat service |
String photoUrl | String | URL for accessing the user profile image |
String position | String | Position of the chat window on screen |
String roomId | String | Unique identifier of the chat room to connect to |
String userId | String | Unique ID of the chat user |
String userName | String | Username displayed in the chat window |
ContentType Enum
com.kollus.sdk.media.content.KollusContent.ContentType
An enumeration class that defines the type of DRM(Digital Rights Management) technology applied to content.
Public Properties
EXT_DRM_CONTENTKOLLUS_CONTENT
Property Details
| Property | Description |
|---|---|
EXT_DRM_CONTENT | Content with Multi DRM technology applied |
KOLLUS_CONTENT | Content with Kollus DRM technology applied |
DEVICE_TYPE Enum
com.kollus.sdk.media.util.Utils.DEVICE_TYPE
An enumeration class that defines the hardware type of the device on which the service runs.
Public Properties
DEVICE_MOBILEDEVICE_TABLETDEVICE_TV
Property Details
| Property | Description |
|---|---|
DEVICE_MOBILE | Mobile |
DEVICE_TABLET | Tablet |
DEVICE_TV | TV |
KollusPlayerContentMode Class
com.kollus.sdk.media.KollusPlayerContentMode
A constant class that defines the video output mode (aspect ratio and scaling) of the player screen.
Static Public Properties
static final int ScaleAspectFit = 0static final int ScaleAspectFill = 1static final int ScaleAspectFillStretch = 2static final int ScaleCenter = 3static final int ScaleZoom = 4
Property Details
| Property | Value | Description |
|---|---|---|
ScaleAspectFit | 0 | Fits the entire video within the screen while maintaining the aspect ratio. If the aspect ratio of the video and the screen differ, letterbox/pillarbox margins will appear. |
ScaleAspectFill | 1 | Fills the screen while maintaining the aspect ratio. Portions larger than the screen may be cropped. |
ScaleAspectFillStretch | 2 | Ignores the aspect ratio and forcibly fits the video to the screen size. The video may appear distorted. |
ScaleCenter | 3 | Maintains the original resolution of the video and places it at the center of the screen. |
ScaleZoom | 4 | Enlarges or reduces the video to fit a specific ratio defined by the user. |