Class DefaultCastOptionsProvider

  • All Implemented Interfaces:

    public class DefaultCastOptionsProvider
     implements OptionsProvider

    The default cast option provider.

    • Needs to be registered in the AndroidManifest to enable Chromecast on Android.
    • Sets THEOplayer Chromecast receiver as the Chromecast receiver.
    • To select your own receiver, you can create your own implementation of OptionsProvider.


    <meta-data android:name="" android:value="com.theoplayer.chromecast.CastOptionsProvider"/>
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      CastOptions getCastOptions(Context context)
      List<SessionProvider> getAdditionalSessionProviders(Context context)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait