Bitmovin Cast Manager
open class BitmovinCastManager
Content copied to clipboard
Singleton providing access to GoogleCast related features. The BitmovinCastManager needs to be initialized in the Application, if casting should be used.
Note: Make sure to call updateContext on every Activitys switch.
Properties
applicationId
Link copied to clipboard
instance
Link copied to clipboard
messageNamespace
Link copied to clipboard
Functions
addMessageReceivedCallback
Link copied to clipboard
open fun addMessageReceivedCallback(callback: Cast.MessageReceivedCallback)
Content copied to clipboard
disconnect
Link copied to clipboard
getCastControllerActivityClass
Link copied to clipboard
initialize
Link copied to clipboard
open fun initialize(@Nullable() applicationId: String, messageNamespace: String, castControllerActivity: Class)
Content copied to clipboard
Initializes the BitmovinCastManager.
isCastAvailable
Link copied to clipboard
isConnected
Link copied to clipboard
isConnecting
Link copied to clipboard
isInitialized
Link copied to clipboard
removeMessageReceivedCallback
Link copied to clipboard
open fun removeMessageReceivedCallback(callback: Cast.MessageReceivedCallback)
Content copied to clipboard
sendMessage
Link copied to clipboard
open fun sendMessage(message: String, @Nullable() messageNamespace: String): Boolean
Content copied to clipboard
sendMetadata
Link copied to clipboard
showDialog
Link copied to clipboard
updateContext
Link copied to clipboard