Const
Initialize BitmovinCastManager
based on the provided BitmovinCastManagerOptions
.
This method needs to be called before Player
creation to enable casting features.
If no options are provided, the default options will be used.
IMPORTANT: This should only be called when the Google Cast SDK is available in the application.
A promise that resolves when the BitmovinCastManager
was initialized successfully
The options to be used for initializing BitmovinCastManager
Returns whether the BitmovinCastManager
is initialized.
A promise that resolves with a boolean indicating whether the BitmovinCastManager
is initialized
Sends the given message to the cast receiver.
A promise that resolves when the message was sent successfully
The message to be sent
The message namespace to be used, in case of null the default message namespace will be used
Must be called in every Android Activity to update the context to the current one. Make sure to call this method on every Android Activity switch.
A promise that resolves when the context was updated successfully
Android
Android, iOS
Singleton providing access to GoogleCast related features. The
BitmovinCastManager
needs to be initialized by callingBitmovinCastManager.initialize
beforePlayer
creation to enable casting features.