Skip to main content

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 mainUrl
  • String kind
  • String position
  • boolean isVisible
  • boolean isAdmin
  • boolean isAnonymous
  • boolean bDisableDefaultProfilePhoto
  • String roomId
  • String chatServer
  • String helloMessage
  • String userName
  • String userId
  • String photoUrl

Property Details

PropertyTypeDescription
boolean bDisableDefaultProfilePhotobooleanWhether to display the default profile image
String chatServerStringChat server host address
String helloMessageStringAnnouncement message to be automatically sent when entering the chat room
boolean isAdminbooleanWhether to grant administrator permissions
boolean isAnonymousbooleanWhether anonymous access is enabled
boolean isVisiblebooleanWhether the chat UI is displayed on screen
String kindStringChat service solution type (e.g., Chatroll, Kollus, etc.)
String mainUrlStringMain access endpoint URL for the chat service
String photoUrlStringURL for accessing the user profile image
String positionStringPosition of the chat window on screen
String roomIdStringUnique identifier of the chat room to connect to
String userIdStringUnique ID of the chat user
String userNameStringUsername 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_CONTENT
  • KOLLUS_CONTENT

Property Details

PropertyDescription
EXT_DRM_CONTENTContent with Multi DRM technology applied
KOLLUS_CONTENTContent 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_MOBILE
  • DEVICE_TABLET
  • DEVICE_TV

Property Details

PropertyDescription
DEVICE_MOBILEMobile
DEVICE_TABLETTablet
DEVICE_TVTV

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 = 0
  • static final int ScaleAspectFill = 1
  • static final int ScaleAspectFillStretch = 2
  • static final int ScaleCenter = 3
  • static final int ScaleZoom = 4

Property Details

PropertyValueDescription
ScaleAspectFit0Fits 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.
ScaleAspectFill1Fills the screen while maintaining the aspect ratio. Portions larger than the screen may be cropped.
ScaleAspectFillStretch2Ignores the aspect ratio and forcibly fits the video to the screen size. The video may appear distorted.
ScaleCenter3Maintains the original resolution of the video and places it at the center of the screen.
ScaleZoom4Enlarges or reduces the video to fit a specific ratio defined by the user.