API Reference
Core classes
| Class | Description |
|---|---|
| MediaPlayer | The playback engine that controls all player features, including content playback, screen output control, subtitle management, and event listener configuration |
| KollusContent | A class that configures the URL, DRM information, and playback options for content to be played, and passes them to MediaPlayer |
| KollusStorage | A class that manages content download, storage, deletion, and retrieval for offline playback |
Features
| Class / Interface | Description |
|---|---|
| DRM | DRM license request and renewal, session management, and server communication data monitoring |
| Player Callbacks | Playback lifecycle event listeners for playback preparation, completion, errors, and seek completion |
| Bookmark | Playback position bookmark creation and management, and save/load event handling |
| Chapter & Subtitle | Chapter information retrieval and subtitle detection/display event handling |
| External Display | External display connection detection and media route status change event handling |
| Device & Security | Security environment checks including emulator detection, forensic watermarking, and CPU information retrieval |
Reference
| Class | Description |
|---|---|
| Error Codes | Error code definitions across the SDK, including playback, network, and DRM |
| Constants | Enumerations and constants for content types, device types, player modes, and more |
| Utils | SDK common utilities including bandwidth information retrieval |