Class DefaultCastOptionsProvider
- java.lang.Object
-
- com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
-
- All Implemented Interfaces:
com.google.android.gms.cast.framework.OptionsProvider
@Deprecated public final class DefaultCastOptionsProvider extends Object implements com.google.android.gms.cast.framework.OptionsProvider
Deprecated.com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.A convenienceOptionsProvider
to target the default cast receiver app.
-
-
Field Summary
Fields Modifier and Type Field Description static String
APP_ID_DEFAULT_RECEIVER_WITH_DRM
Deprecated.App id that points to the Default Media Receiver app with basic DRM support.
-
Constructor Summary
Constructors Constructor Description DefaultCastOptionsProvider()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<com.google.android.gms.cast.framework.SessionProvider>
getAdditionalSessionProviders(Context context)
Deprecated.com.google.android.gms.cast.framework.CastOptions
getCastOptions(Context context)
Deprecated.
-
-
-
Field Detail
-
APP_ID_DEFAULT_RECEIVER_WITH_DRM
public static final String APP_ID_DEFAULT_RECEIVER_WITH_DRM
Deprecated.App id that points to the Default Media Receiver app with basic DRM support.Applications that require more complex DRM authentication should create a custom receiver application.
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCastOptions
public com.google.android.gms.cast.framework.CastOptions getCastOptions(Context context)
Deprecated.- Specified by:
getCastOptions
in interfacecom.google.android.gms.cast.framework.OptionsProvider
-
-