DefaultCastOptionsProvider


@UnstableApi
public final class DefaultCastOptionsProvider implements OptionsProvider


A convenience OptionsProvider to target the default cast receiver app.

Summary

Constants

static final String

App id that points to the Default Media Receiver app with basic DRM support.

Public constructors

Constants

APP_ID_DEFAULT_RECEIVER_WITH_DRM

public static final String APP_ID_DEFAULT_RECEIVER_WITH_DRM = "A12D4273"

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.

Public constructors

DefaultCastOptionsProvider

public DefaultCastOptionsProvider()

Public methods

getAdditionalSessionProviders

public List<SessionProvidergetAdditionalSessionProviders(Context context)

getCastOptions

public CastOptions getCastOptions(Context context)