Package com.theoplayer.android.api.cast
Object CastIntegrationFactory
-
- All Implemented Interfaces:
public class CastIntegrationFactory
Factory class for creating CastIntegration instance.
-
-
Field Summary
Fields Modifier and Type Field Description public final static CastIntegrationFactory
INSTANCE
-
Method Summary
Modifier and Type Method Description final static CastIntegration
createCastIntegration(THEOplayerView theoplayerView, CastConfiguration castConfiguration)
Creates a CastIntegration instance. -
-
Method Detail
-
createCastIntegration
final static CastIntegration createCastIntegration(THEOplayerView theoplayerView, CastConfiguration castConfiguration)
Creates a CastIntegration instance.
Will return null if:
CastStrategy is set to DISABLED.
OptionsProvider is not set in the AndroidManifest.xml.
GooglePlayServices is not available.
- Parameters:
theoplayerView
- The THEOplayerView which will handle the Cast session (NonNull).castConfiguration
- The cast configuration.- Returns:
The CastIntegration (Nullable).
-
-
-
-