initialize

open fun initialize()

Initializes the BitmovinCastManager.

open fun initialize(castControllerActivity: Class)

Initializes the BitmovinCastManager.

Parameters

castControllerActivity

The Class of the Activity that should be opened, when theminicontroller or the cast notification was clicked.

open fun initialize(applicationId: String, messageNamespace: String)

Initializes the BitmovinCastManager.

Parameters

applicationId

A custom application ID, or null to use the Bitmovin application ID.

messageNamespace

A custom message namespace, that can be defined if a custom application ID isprovided.

open fun initialize(@Nullable() applicationId: String, messageNamespace: String, castControllerActivity: Class)

Initializes the BitmovinCastManager.

Parameters

applicationId

A custom application ID, or null to use the Bitmovin application ID.

messageNamespace

A custom message namespace, that can be defined if a custom application ID isprovided.

castControllerActivity

The Class of the Activity that should be opened, when theminicontroller or the cast notification was clicked.