enableOfflinePlayback

Allows the player to use locally saved media files for playback.

This method enables playback of media items that are saved locally without requiring a DRM license. Before using this method, ensure that a valid Token/OTP and Playback Info are provided using setToken and setPlaybackInfo. However, it is generally recommended to use setOfflinePlayback for offline playback, which should be handled with enqueueV2 for downloading media items.

Return

the Builder instance for method chaining.

Throws

if the provided playback info is invalid.