Class DefaultCastOptionsProvider

  • All Implemented Interfaces:
    com.google.android.gms.cast.framework.OptionsProvider

    public final class DefaultCastOptionsProvider
    extends Object
    implements com.google.android.gms.cast.framework.OptionsProvider
    A convenience OptionsProvider to target the default cast receiver app.
    • Constructor Detail

      • DefaultCastOptionsProvider

        public DefaultCastOptionsProvider()
    • Method Detail

      • getCastOptions

        public com.google.android.gms.cast.framework.CastOptions getCastOptions​(Context context)
        Specified by:
        getCastOptions in interface com.google.android.gms.cast.framework.OptionsProvider
      • getAdditionalSessionProviders

        public List<com.google.android.gms.cast.framework.SessionProvider> getAdditionalSessionProviders​(Context context)
        Specified by:
        getAdditionalSessionProviders in interface com.google.android.gms.cast.framework.OptionsProvider