Skip to main content

API Reference

Core classes

ClassDescription
MediaPlayerThe playback engine that controls all player features, including content playback, screen output control, subtitle management, and event listener configuration
KollusContentA class that configures the URL, DRM information, and playback options for content to be played, and passes them to MediaPlayer
KollusStorageA class that manages content download, storage, deletion, and retrieval for offline playback

Features

Class / InterfaceDescription
DRMDRM license request and renewal, session management, and server communication data monitoring
Player CallbacksPlayback lifecycle event listeners for playback preparation, completion, errors, and seek completion
BookmarkPlayback position bookmark creation and management, and save/load event handling
Chapter & SubtitleChapter information retrieval and subtitle detection/display event handling
External DisplayExternal display connection detection and media route status change event handling
Device & SecuritySecurity environment checks including emulator detection, forensic watermarking, and CPU information retrieval

Reference

ClassDescription
Error CodesError code definitions across the SDK, including playback, network, and DRM
ConstantsEnumerations and constants for content types, device types, player modes, and more
UtilsSDK common utilities including bandwidth information retrieval