RemoteControlApi

interface RemoteControlApi

Provides the means to initiate and manage casting of video to a cast-compatible remote device.

Properties

isCastAvailable
Link copied to clipboard
abstract val isCastAvailable: Boolean
Whether casting to a cast-compatible remote device is available.
isCasting
Link copied to clipboard
abstract val isCasting: Boolean
Whether video is currently being casted to a remote device and not played locally.

Functions

castStop
Link copied to clipboard
abstract fun castStop()
Stops casting the current video.
castVideo
Link copied to clipboard
abstract fun castVideo()
Initiates casting the current video to a cast-compatible remote device.

Inheritors

Player
Link copied to clipboard