Object CastIntegrationFactory

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static CastIntegration createCastIntegration(THEOplayerView theoplayerView, CastConfiguration castConfiguration) Creates a CastIntegration instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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).