Package-level declarations

Types

Link copied to clipboard
class ApiVideoExoPlayerMediaFactory(videoOptions: VideoOptions, onError: (Exception) -> Unit)

ApiVideoExoPlayerMediaFactory has the same purpose as ApiVideoMediaFactory but dedicated to ExoPlayer. It also stores the token session for private videos.

Link copied to clipboard
class ApiVideoMediaFactory(videoOptions: VideoOptions, onError: (Exception) -> Unit)

ApiVideoMediaFactory is a wrapper around VideoOptions to create URL for the different api.video media items (HLS, MP4, thumbnails). It also stores the token session for private videos.

Link copied to clipboard
class ApiVideoPlayerFullScreenController(    fragmentManager: FragmentManager,     originalPlayerView: ApiVideoExoPlayerView,     playerController: ApiVideoPlayerController,     fullScreenListener: ApiVideoExoPlayerView.FullScreenListener? = null) : ApiVideoExoPlayerView.FullScreenListener

A class that handles the player full screen.

Link copied to clipboard
data class PlayerMediaRequest(val uri: String, val xTokenSession: String? = null)

Encapsulates a video URL and headers.

Link copied to clipboard
data class VideoOptions(val videoId: String, val videoType: VideoType, val token: String? = null)

Description of the video to play.

Link copied to clipboard

The type of the video.