Package-level declarations
Contains API to enable casting functionality.
Types
Link copied to clipboard
Can be implemented and added to the RemoteControlConfig to customize the Google Cast media info configuration. See GoogleCastMediaInfoConfig for details.
Link copied to clipboard
data class GoogleCastMediaInfoConfig(val mediaType: GoogleCastMediaType = GoogleCastMediaType.Generic)
Configures a Google Cast MediaInfo object.
Link copied to clipboard
The media type configuring MediaMetadata.mediaType
.
Link copied to clipboard
interface RemoteControlApi
Provides the means to initiate and manage casting of video to a cast-compatible remote device.
Link copied to clipboard
data class RemoteControlConfig(var receiverStylesheetUrl: String? = null, var customReceiverConfig: Map<String, String?> = emptyMap(), var isCastEnabled: Boolean = true, var sendManifestRequestsWithCredentials: Boolean = false, var sendSegmentRequestsWithCredentials: Boolean = false, var sendDrmLicenseRequestsWithCredentials: Boolean = false, var onConfigureMediaInfo: ConfigureMediaInfoCallback? = null) : Parcelable
Configures the remote receiver app.