RemoteControlApi

RemoteControlApi

interface RemoteControlApi

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

Inheritors

Properties

NameSummary
isCastAvailableabstract val isCastAvailable: Boolean
Indicates whether Google Cast has been initialized and is available.
isCastingabstract val isCasting: Boolean
Whether video is currently being casted to a remote device and not played locally.

Functions

NameSummary
castStopabstract fun castStop()
Stops casting the current video. Has no effect if isCasting is false.
castVideoabstract fun castVideo()
Initiates casting the current video to a cast-compatible remote device. The user has to choose to which device it should be sent.