# Index

A B C D E F G H I J K L M N O P Q R S T U V W Z
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## A

abrConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
  The initial video quality
abrConfiguration(AbrConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the `AbrConfiguration`
AbrConfiguration - Class in com.castlabs.android.player
  The ABR configuration.
AbrConfiguration.AbrMethod - Annotation Type in com.castlabs.android.player
  The method used for ABR.
AbrConfiguration.Builder - Class in com.castlabs.android.player
  A builder for ABR configuration instances
AbstractAudioRendererListener - Class in com.castlabs.android.player
  Abstract implementation of the `AudioRendererListener`
AbstractAudioRendererListener() - Constructor for class com.castlabs.android.player.AbstractAudioRendererListener
  Default constructor for the AbstractAudioRendererListener.
AbstractCatchupListener - Class in com.castlabs.android.player
  Abstract implementation of `CatchupListener` with empty methods for convenience.
AbstractCatchupListener() - Constructor for class com.castlabs.android.player.AbstractCatchupListener
  Default constructor for the AbstractCatchupListener.
AbstractPlayerControllerListener - Class in com.castlabs.android.player
  Abstract implementation of the `PlayerControllerListener`.
AbstractPlayerControllerListener() - Constructor for class com.castlabs.android.player.AbstractPlayerControllerListener
  Default constructor for the AbstractPlayerControllerListener.
AbstractPlayerListener - Class in com.castlabs.android.player
  Abstract implementation of the `PlayerListener`.
AbstractPlayerListener() - Constructor for class com.castlabs.android.player.AbstractPlayerListener
  Default constructor for the AbstractPlayerListener.
AbstractPlayerModelFilter - Class in com.castlabs.android.player.filter
  Convenience abstract and no-op implementation of `PlayerModelFilter`.
AbstractPlayerModelFilter() - Constructor for class com.castlabs.android.player.filter.AbstractPlayerModelFilter
  Default constructor.
AbstractPlaylistListener() - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
  Default constructor for the `MultiControllerPlaylist.AbstractPlaylistListener`
AbstractPlaylistListener() - Constructor for class com.castlabs.android.player.SingleControllerPlaylist.AbstractPlaylistListener
  Default constructor
AbstractStreamingEventListener - Class in com.castlabs.android.player
  Abstract implementation of the `StreamingEventListener`.
AbstractStreamingEventListener() - Constructor for class com.castlabs.android.player.AbstractStreamingEventListener
  Default constructor for AbstractStreamingEventListener.
AbstractVideoRendererListener - Class in com.castlabs.android.player
  Abstract implementation of the `VideoRendererListener`
AbstractVideoRendererListener() - Constructor for class com.castlabs.android.player.AbstractVideoRendererListener
  Default constructor for AbstractVideoRendererListener.
ACCESSIBILITY - Static variable in class com.castlabs.android.player.DashDescriptor
  Accessibility descriptor.
Ad - Class in com.castlabs.android.adverts
  Ad container.
Ad() - Constructor for class com.castlabs.android.adverts.Ad
  Default constructor for Ad.
AD_EMBEDDED - Static variable in class com.castlabs.android.SdkConsts
  Marker indicating that an ad is played using the current player or is embedded within the content i.e.
AD_POSITION_MIDROLL - Static variable in class com.castlabs.android.SdkConsts
  Marker that indicates that an ad is played during content playback
AD_POSITION_POSTROLL - Static variable in class com.castlabs.android.SdkConsts
  Marker that indicates that an ad is played after the content
AD_POSITION_PREROLL - Static variable in class com.castlabs.android.SdkConsts
  Marker that indicates that an ad is played before the content
AD_SCHEDULE_MANUAL - Static variable in class com.castlabs.android.SdkConsts
  An instance of `AdSchedule` which represents manual scheduling.
AD_SEPARATE - Static variable in class com.castlabs.android.SdkConsts
  Marker indicating that an ad is played using a separate player or is external to the current content i.e.
AD_SETTINGS - Static variable in class com.castlabs.android.PlayerSDK
  Global ad configuration settings.
AdApi - Interface in com.castlabs.android.adverts
  An Api to interact with the underlying ad provider.
AdApiWrapper - Class in com.castlabs.android.adverts
  Wrapper around `AdApi`.
AdApiWrapper() - Constructor for class com.castlabs.android.adverts.AdApiWrapper
  Creates an empty wrapper with no delegate assigned.
adAssetUri - Variable in class com.castlabs.android.adverts.Ad
  Ad Asset Uri
adClick(String) - Method in class com.castlabs.analytics.AnalyticsSession
adClick(String) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that the ad is clicked
adClicked(String) - Method in interface com.castlabs.android.adverts.AdInterface
  Inject the ad clicked side event
AdClientInterface - Interface in com.castlabs.android.adverts
  Implementation of this interface provides Sdk with external Ads metadata enrichment mechanism.
AdClientInterface.Listener - Interface in com.castlabs.android.adverts
  Listener for Ad metadata.
adCompleted() - Method in interface com.castlabs.android.adverts.AdInterface
  Inject the ad completed side event
add(String, DrmKeyStorage) - Method in class com.castlabs.android.drm.KeyStore
  Add a drm key to the storage
addAdListener(AdInterface.Listener) - Method in interface com.castlabs.android.adverts.AdInterface
  Register the given `AdInterface.Listener`
addAudioRendererListener(AudioRendererListener) - Method in class com.castlabs.android.player.PlayerController
  Add an audio renderer listener
addAudioTrack(AudioTrack) - Method in class com.castlabs.android.player.models.PlayerModel
  Adds the given audio track to the list of audio tracks
addAudioTrack(AudioTrack) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Adds an `AudioTrack` to the Period.
addAudioTrack(AudioTrack, int, int, int) - Method in class com.castlabs.android.player.models.PlayerModel
  Adds the given audio track to the list of audio tracks
addCatchupListener(CatchupListener) - Method in class com.castlabs.android.player.PlayerController
  Add a Catchup listener
addClientProvider(ClientAdProvider) - Static method in class com.castlabs.android.adverts.Adverts
  Register a new client-side Ad provider.
addCustomDashEventListener(CustomDashEventListener) - Method in class com.castlabs.android.player.PlayerController
  Add a new event listener to receive custom DASH events
addDateRanges(List<HlsDateRange>) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Adds a List of `HlsDateRange`s to the Period.
addDescriptor(DashDescriptor) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Adds a `DashDescriptor` to the Period.
addDescriptor(DashDescriptor) - Method in class com.castlabs.android.player.models.Track
  Adds a Dash descriptor to the list
addDescriptors(Collection<? extends DashDescriptor>) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Adds a Collection of `DashDescriptor`s to the Period.
addDrmEventListener(DrmEventListener) - Method in class com.castlabs.android.player.PlayerController
  Add a `DrmEventListener`.
addEventListener(Handler, BandwidthMeter.EventListener) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
addEventMessagesListener(EventMessagesListener) - Method in class com.castlabs.android.player.PlayerController
  Add a new event message listener
addEvents(EventMessage[]) - Method in class com.castlabs.android.player.models.mpd.EventStream.Builder
  Adds events from an array.
addEvents(Collection<? extends EventMessage>) - Method in class com.castlabs.android.player.models.mpd.EventStream.Builder
  Adds events from a collection.
addEventStreamListener(EventStreamListener) - Method in class com.castlabs.android.player.PlayerController
  Add a new listener to receive cue-start and cue-end for stream events, corresponding to the event duration.
addEventStreamListListener(EventStreamListListener) - Method in class com.castlabs.android.player.PlayerController
  Add a new listener to receive all the events corresponding to the event-streams as a list.
addEventStreams(Collection<? extends EventStream>) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Adds a Collection of `EventStream`s to the Period.
addFormatChangeListener(FormatChangeListener) - Method in class com.castlabs.android.player.PlayerController
  Add a new Format change listener.
addHeaderParameter(String, String) - Method in interface com.castlabs.android.network.DataSourceFactory
  Adds a header parameter that will be added to each HTTP connection header that is generated with a `DataSource` created by this factory.
addHeaderParameter(String, String) - Method in class com.castlabs.android.network.DefaultDataSourceFactory
addHeaderParameter(String, String) - Method in class com.castlabs.android.network.ModifierDataSourceFactory
addHttpListener(HttpListener) - Method in class com.castlabs.android.player.PlayerController
  Add a HTTP listener
addItem(int, PlayerConfig) - Method in interface com.castlabs.android.player.Playlist
  Adds an item at the specified position in the playlist.
addItem(int, PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Adds an item at the specified position in the playlist.
addItem(int, PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
addItem(PlayerConfig) - Method in interface com.castlabs.android.player.Playlist
  Adds an item at the end of the playlist.
addItem(PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
addItem(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
addItemLoadListener(SingleControllerPlaylist.ItemLoadListener) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Add an `SingleControllerPlaylist.ItemLoadListener`
additionalAssetIds - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  Optional additional assetIds for content with tracks encrypted with different keys
additionalAssetIds(List<String>) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  If you are using the DRMtoday-Mobile Server, you can use this method to specify a list of additional Asset Ids for content with tracks encrypted with different keys.
addLegacyDeviceScreenResolution(String, String) - Static method in class com.castlabs.android.PlayerSDK
  Add a device for which its screen dimensions will be read using the legacy approach.
addLifecycleListener(PlayerViewLifecycleDelegate.LifecycleListener) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
  Adds a lifecycle delegate listener
addListener(AdInterface.Listener) - Method in class com.castlabs.android.player.PlayerListeners
  Adds an ad listener.
addListener(CustomDashEventListener) - Method in class com.castlabs.android.player.PlayerListeners
  Register the given `CustomDashEventListener`
addListener(EventStreamListener) - Method in class com.castlabs.android.player.PlayerListeners
  Register the given `EventStreamListener`
addListener(EventStreamListListener) - Method in class com.castlabs.android.player.PlayerListeners
  Register the given `EventStreamListListener`
addLoadControlListener(LoadControlListener) - Method in class com.castlabs.android.player.PlayerController
  Add a `LoadControlListener`.
addMetadataListener(MetadataListener) - Method in class com.castlabs.android.player.PlayerController
  Add a new event listener to receive updates on ID3 Meta-Data tags from HLS streams.
addPeriod(Timeline.Period) - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
  Adds a `Timeline.Period` to the Window.
addPeriodChangedListener(PeriodChangedListener) - Method in class com.castlabs.android.player.PlayerController
  Adds a listener to receive updates on `Timeline.Period` changes
addPlayerControllerListener(PlayerControllerListener) - Method in class com.castlabs.android.player.PlayerController
  Add a new player controller listener
addPlayerListener(PlayerListener) - Method in class com.castlabs.android.player.PlayerController
  Add a `PlayerListener`.
addPlayerModelFilter(PlayerModelFilter) - Method in class com.castlabs.android.player.PlayerController
  Adds a `PlayerModelFilter`.
addPlaylistListener(SingleControllerPlaylist.PlaylistListener) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Adds a playlist listener.
addPresentationTimesUs(Long[]) - Method in class com.castlabs.android.player.models.mpd.EventStream.Builder
  Adds presentation times from an array.
addPresentationTimesUs(Collection<Long>) - Method in class com.castlabs.android.player.models.mpd.EventStream.Builder
  Adds presentation times from a collection.
addProvider(AdProvider) - Static method in class com.castlabs.android.adverts.Adverts
  Register a new Ad provider.
addQuality(VideoTrackQuality) - Method in class com.castlabs.android.player.models.MutableVideoTrack
  Add a new quality to the set of available qualities for this track
addQueryParameter(String, String) - Method in interface com.castlabs.android.network.DataSourceFactory
  Adds a query parameter that will be appended to each HTTP URL.
addQueryParameter(String, String) - Method in class com.castlabs.android.network.DefaultDataSourceFactory
addQueryParameter(String, String) - Method in class com.castlabs.android.network.ModifierDataSourceFactory
addReporter(CrashReporter) - Static method in class com.castlabs.analytics.Crashlog
  Add a new reporter
addRequestModifier(RequestModifier) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Adds a `RequestModifier` that will be used to modify DRM requests
addRequestModifier(RequestModifier) - Method in class com.castlabs.android.player.PlayerController
  Add a request modifier.
addRequestModifier(RequestModifier) - Method in class com.castlabs.android.thumbs.ExtensibleSdkElement
  Adds a request modifier to the element.
addRequestModifierListener(RequestModifier.Listener) - Method in class com.castlabs.android.player.PlayerController
  Add a `Request` Modifier listener
addResponseModifier(ResponseModifier) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Adds a `ResponseModifier` that will be used to modify DRM responses
addResponseModifier(ResponseModifier) - Method in class com.castlabs.android.player.PlayerController
  Add a response modifier.
addServerProvider(ServerAdProvider) - Static method in class com.castlabs.android.adverts.Adverts
  Register a new server-side Ad provider.
addStreamingEventListener(StreamingEventListener) - Method in class com.castlabs.android.player.PlayerController
  Add a new event listener.
addSubtitleTrack(SubtitleTrack) - Method in class com.castlabs.android.player.models.PlayerModel
  Adds a subtitle track to the list of subtitle tracks
addSubtitleTrack(SubtitleTrack) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Adds a `SubtitleTrack` to the Period.
addSubtitleTrack(SubtitleTrack, int, int, int) - Method in class com.castlabs.android.player.models.PlayerModel
  Adds the given subtitle track to the list of subtitle tracks
addSubtitleTrack(String, String, String, String) - Method in class com.castlabs.android.player.PlayerController
  Add a subtitles track to be side-loaded when content is opened.
addThumbnailTrack(ThumbnailDataTrack) - Method in class com.castlabs.android.player.models.PlayerModel
  Adds the given thumbnail track to the list of thumbnail tracks
addThumbnailTrack(ThumbnailDataTrack) - Method in class com.castlabs.android.player.PlayerController
  Adds a thumbnail track.
addTimelineChangedListener(TimelineChangedListener) - Method in class com.castlabs.android.player.PlayerController
  Adds a listener to receive updates on `Timeline` updates
addTimelineListener(TimelineListener) - Method in class com.castlabs.android.player.PlayerController
  Deprecated.
  Use `PlayerController.addTimelineChangedListener(TimelineChangedListener)` or `PlayerController.addPeriodChangedListener(PeriodChangedListener)` instead.
addTrackSelectionListener(TrackSelectionListener) - Method in class com.castlabs.android.player.PlayerController
  Add a new event listener to receive updates related to track selection.
addTransferListener(TransferListener) - Method in class com.castlabs.android.downloader.ZipDataSource
addTransferListener(TransferListener) - Method in class com.castlabs.android.network.ExtendedDataSource
addVideoMetadataListener(VideoMetadataListener) - Method in class com.castlabs.android.player.PlayerController
  Add a video metadata listener
addVideoRendererListener(VideoRendererListener) - Method in class com.castlabs.android.player.PlayerController
  Add a video renderer listener
addVideoTrack(VideoTrack) - Method in class com.castlabs.android.player.models.PlayerModel
  Adds the given video track to the list of video tracks
addVideoTrack(VideoTrack) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Adds a `VideoTrack` to the Period.
addWindow(Timeline.Window) - Method in class com.castlabs.android.player.models.Timeline.Builder
  Adds a `Timeline.Window` to the Timeline.
adError(Ad, CastlabsPlayerException) - Method in class com.castlabs.analytics.AnalyticsSession
adError(Ad, CastlabsPlayerException) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that an ad error occurred.
adError(Ad, CastlabsPlayerException) - Method in interface com.castlabs.android.adverts.AdInterface
  Inject the ad error side event
adErrorInternal(Ad, CastlabsPlayerException) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
AdInterface - Interface in com.castlabs.android.adverts
  Implementation of this interface provides access to Ad status.
AdInterface.Listener - Interface in com.castlabs.android.adverts
  Listener for ad events.
AdLoader - Interface in com.castlabs.android.adverts
  The interface to provide SDK with the `Ad` properties The implementations are used by `ClientAdProvider.createAdLoader(AdRequest)`
AdLoader.Listener - Interface in com.castlabs.android.adverts
  Listener for `AdLoader` events.
adPause() - Method in class com.castlabs.analytics.AnalyticsSession
adPause() - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that the ad is paused.
adPaused() - Method in interface com.castlabs.android.adverts.AdInterface
  Inject the ad paused side event
adPod - Variable in class com.castlabs.android.adverts.Ad
  Information related to the adPod this Ad belongs to
AdPodData - Class in com.castlabs.android.adverts
  Ad Pod metadata
AdPodData() - Constructor for class com.castlabs.android.adverts.AdPodData
  Creates a new AdPodData instance.
adPosition - Variable in class com.castlabs.android.adverts.AdPodData
  The position of the ad within the pod.
AdProvider - Interface in com.castlabs.android.adverts
  Marker interface for all advertisement providers.
adRequest - Variable in class com.castlabs.android.player.PlayerConfig
  The Ad request (if any)
adRequest(AdRequest) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the `AdRequest`
AdRequest - Class in com.castlabs.android.adverts
  Container class for Ad requests.
AdRequest(Bundle) - Constructor for class com.castlabs.android.adverts.AdRequest
  Create ads request with ads specific parameters stored in the provided Bundle
adResume(Ad) - Method in class com.castlabs.analytics.AnalyticsSession
adResume(Ad) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that an ad playback resumed.
adResumed(Ad) - Method in interface com.castlabs.android.adverts.AdInterface
  Inject the ad resumed side event
adSchedule - Variable in class com.castlabs.android.player.PlayerConfig
  Describes a custom ad schedule.
adSchedule(AdSchedule) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Set the AdSchedule
AdSchedule - Class in com.castlabs.android.adverts
  Describes a custom ad schedule.
AdSchedule.Builder - Class in com.castlabs.android.adverts
  Builder for `AdSchedule`
AdSchedule.ScheduleType - Annotation Type in com.castlabs.android.adverts
  Defines the possible types of ad schedules.
AdSettings - Class in com.castlabs.android.settings
  Global ad configuration settings.
AdSettings() - Constructor for class com.castlabs.android.settings.AdSettings
  Default constructor
adSkipped() - Method in class com.castlabs.analytics.AnalyticsSession
adSkipped() - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that the ad is skipped.
adSkipped() - Method in interface com.castlabs.android.adverts.AdInterface
  Inject the ad skipped side event
adSkippedInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
adStart(Ad) - Method in class com.castlabs.analytics.AnalyticsSession
adStart(Ad) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that an ad playback started.
adStarted(Ad) - Method in interface com.castlabs.android.adverts.AdInterface
  Inject the ad started side event.
adStartInternal(Ad) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
adStop() - Method in class com.castlabs.analytics.AnalyticsSession
adStop() - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that an ad playback stopped.
adStopInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
adTagUri - Variable in class com.castlabs.android.adverts.Ad
  Ad Tag Uri
Adverts - Class in com.castlabs.android.adverts
  Provides static access to Ad providers.
adWillStart(Ad) - Method in class com.castlabs.analytics.AnalyticsSession
adWillStart(Ad) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that an Ad begins loading
adWillStart(Ad) - Method in interface com.castlabs.android.adverts.AdInterface
  Inject the ad will start side event.
adWillStartInternal(Ad) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
ALLOW_HD_CLEAR_CONTENT - Static variable in class com.castlabs.android.SdkConsts
  Allow HD content for unencrypted clear content
ALLOW_HD_DRM_ROOT_OF_TRUST - Static variable in class com.castlabs.android.SdkConsts
  Indicates that HD playback of DRM protected content is allowed only if both the DRM and the device support at least L2 "root of trust" security.
ALLOW_HD_DRM_SECURE_MEDIA_PATH - Static variable in class com.castlabs.android.SdkConsts
  Indicates that HD playback of DRM protected content is allowed only if both the DRM and the device support a secure media path.
ALLOW_HD_DRM_SOFTWARE - Static variable in class com.castlabs.android.SdkConsts
  Indicates that HD playback of DRM protected content is allowed on all DRM systems.
ALLOW_HD_NEVER - Static variable in class com.castlabs.android.SdkConsts
  Never allow HD content playback and always filter HD representations
allowHlsChunklessPreparation - Variable in class com.castlabs.android.player.PlayerConfig
  If set to true, chunk-less preparation of hls tracks are allowed
allowHlsChunklessPreparation(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If set to true, chunk-less preparation of hls tracks are allowed
ANALYTICS_SESSION_TYPE_OPEN - Static variable in class com.castlabs.android.SdkConsts
  Use this as a key to `SdkConsts.INTENT_ANALYTICS_SESSION_TYPE` to instruct the player to create and start analytics session upon `PlayerController.open(Bundle)`.
ANALYTICS_SESSION_TYPE_PLAY - Static variable in class com.castlabs.android.SdkConsts
  Use this as a key to `SdkConsts.INTENT_ANALYTICS_SESSION_TYPE` when playback does not start automatically, i.e.
ANALYTICS_SETTINGS - Static variable in class com.castlabs.android.PlayerSDK
  Global analytics configuration shared by analytics plugins.
analyticsMetaData - Variable in class com.castlabs.android.player.PlayerConfig
  The analytics meta-data
analyticsMetaData(AnalyticsMetaData) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Set the analytics meta-data
AnalyticsMetaData - Class in com.castlabs.analytics
  The meta-data class wraps around mandatory and optional meta-data that are send to various analytics backends.
AnalyticsMetaData(boolean, String) - Constructor for class com.castlabs.analytics.AnalyticsMetaData
  Create a new instance
AnalyticsSession - Class in com.castlabs.analytics
  Implementation of `IAnalyticsSession` which could be enabled or disabled.
AnalyticsSession() - Constructor for class com.castlabs.analytics.AnalyticsSession
  Creates a new AnalyticsSession.
AnalyticsSessionProxy - Class in com.castlabs.analytics
  Proxy which extends `AnalyticsSession` that can delegate to a list of session.
AnalyticsSessionProxy(List<AnalyticsSession>) - Constructor for class com.castlabs.analytics.AnalyticsSessionProxy
  Creates a new instance of `AnalyticsSessionProxy`.
analyticsSessionType - Variable in class com.castlabs.android.player.PlayerConfig
  Analytics session type
analyticsSessionType(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the type of analytics session
AnalyticsSettings - Class in com.castlabs.android.settings
  Global analytics configuration
AnalyticsSettings() - Constructor for class com.castlabs.android.settings.AnalyticsSettings
  Default constructor
API_MISMATCH - Enum constant in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
  Tunneling mode could not be enabled because of an API mismatch.
appendRequestProperties(DrmTodayConfiguration, Map<String, String>) - Static method in class com.castlabs.android.drm.DrmTodayUriFactory
  Adds the required DRMtoday request properties to the given map.
apply(BufferConfiguration) - Method in class com.castlabs.android.player.BufferConfiguration
  Copies the values from the given buffer configuration to this configuration
apply(LiveConfiguration) - Method in class com.castlabs.android.player.LiveConfiguration
  Copies the values from the given live configuration to this configuration
applyTo(Bundle) - Method in class com.castlabs.android.player.LowLatencyProfile
  Apply the profile to the given Bundle
applyTo(PlayerConfig) - Method in class com.castlabs.android.player.LowLatencyProfile
  Apply the profile to the given PlaybackState
areEqual(Bundle, Bundle) - Static method in class com.castlabs.utils.Validate
  Recursively check the bundles for equality
ArrayUtils - Class in com.castlabs.utils
  Utilities around arrays
assertValidContentType(int) - Static method in class com.castlabs.android.SdkConsts
  Assert that the given content type is valid or throws an IllegalArgumentException.
Asset(Uri, int) - Constructor for class com.castlabs.android.player.models.hls.HlsInterstitial.Asset
  Creates a new interstitial asset instance.
ASSET_IDENTIFIER - Static variable in class com.castlabs.android.player.DashDescriptor
  Asset identifier descriptor.
assetId - Variable in class com.castlabs.analytics.AnalyticsMetaData
  The asset ID that identifies the currently played content
assetId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  The asset ID
assetId(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Sets the assetId id.
AssetLicenseLoader - Class in com.castlabs
  Implementation of the `LicenseLoader` that will load the license file from the Applications assets.
AssetLicenseLoader() - Constructor for class com.castlabs.AssetLicenseLoader
  Creates an instance of the loader that expects an asset of the name `license.lic`.
AssetLicenseLoader(String) - Constructor for class com.castlabs.AssetLicenseLoader
  Create an instance of the loader that expects an asset of the given name.
assetListUrl - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
  Optional URI pointing to a playlist of assets making up this interstitial.
AssetsUtils - Class in com.castlabs.android.utils
  Asset utilities that help to copy assets from the application to a local folder.
assetUrl - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
  Optional URI pointing to a single media asset for this interstitial.
attachToPlayerView(PlayerView) - Method in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
  Create any necessary Views, attach them to the given PlayerView and return them.
attachToPlayerView(PlayerView) - Method in class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
Audio - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
  Audio content type.
AUDIO - Static variable in class com.castlabs.android.SdkConsts
  Identifies the audio content
AUDIO_ATTRIBUTES_FOCUS_DISABLED - Static variable in class com.castlabs.android.SdkConsts
  Instance of `AudioAttributes` that represents disabled Audio Focus management.
AUDIO_ATTRIBUTES_FOCUS_ENABLED - Static variable in class com.castlabs.android.SdkConsts
  Instance of `AudioAttributes` that enables Audio Focus management.
AUDIO_CODEC_BUFFER_MODE - Static variable in class com.castlabs.android.PlayerSDK
  Audio codec buffer mode.
AUDIO_CODEC_FILTER - Static variable in class com.castlabs.android.PlayerSDK
  The default global audio codec filter used to configure the audio codec filtering.
AUDIO_CODEC_FILTER_CAPS - Static variable in class com.castlabs.android.SdkConsts
  Use this as a key to `SdkConsts.INTENT_AUDIO_CODEC_FILTER` to instruct the player to use audio codec capabilities when filtering out unsupported audio.
AUDIO_CODEC_FILTER_NONE - Static variable in class com.castlabs.android.SdkConsts
  Use this as a key to `SdkConsts.INTENT_AUDIO_CODEC_FILTER` to instruct the player not to use audio codec capabilities when filtering out unsupported audio tracks.
AUDIO_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
  Identifies the audio track
audioAttributes - Variable in class com.castlabs.android.player.PlayerConfig
  The Audio Attributes.
audioAttributes(AudioAttributes) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Set the AudioAttributes
AudioAttributes - Class in com.castlabs.android.player
  Attributes for audio playback.
AudioAttributes.Builder - Class in com.castlabs.android.player
  Builder for `AudioAttributes`.
AudioCapabilitiesManager - Class in com.castlabs.android.player
  Common access point to store and keep updated device audio capabilities.
audioCodec(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the preferred audio codec for all audio types.
audioCodecFilter - Variable in class com.castlabs.android.player.PlayerConfig
  The Audio codec filter
audioCodecFilter(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the type of audio codec filter
audioDecoderFallback - Variable in class com.castlabs.android.player.PlayerConfig
  If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
audioDecoderFallback(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
audioDrm - Variable in class com.castlabs.android.drm.DrmConfiguration
  The DRM system used for audio tracks.
audioDrm(Drm) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets the DRM system to use for audio tracks
audioDrm(Drm) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Set a dedicated DRM system for audio tracks.
audioDrmInitData - Variable in class com.castlabs.android.drm.DrmInitDataContainer
  DRM initialization data for the audio track.
audioFeedYield(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  Whether to enable audio renderer stop feeding decoder when other renderers (video) are ready to start new render cycle.
audioFeedYieldEnabled - Variable in class com.castlabs.android.player.BufferConfiguration
  The behaviour for audio renderer when feeding decoder.
audioFeedYieldEnabled - Variable in class com.castlabs.android.player.BufferConfiguration.Builder
  Whether the audio renderer should yield to other renderers when feeding the decoder.
AudioRendererListener - Interface in com.castlabs.android.player
  A listener that can be attached to the `PlayerController` to be informed about audio rendering events such as decoder initializations, format changes and frame drops.
AudioTrack - Class in com.castlabs.android.player.models
  A Audio track.
AudioTrack(int) - Constructor for class com.castlabs.android.player.models.AudioTrack
  Create a new track with the given bitrate
AudioTrack(long, Format) - Constructor for class com.castlabs.android.player.models.AudioTrack
  Create a new track with the given duration and initialise it from the given format data
audioTrackGroupIndex - Variable in class com.castlabs.android.player.PlayerConfig
  The index of the selected audio track group
audioTrackGroupIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the audio track group index
audioTrackIndex - Variable in class com.castlabs.android.player.PlayerConfig
  The index of the selected audio track
audioTrackIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the audio track index
AudioTrackListener - Class in com.castlabs.android.player
  This is an implementation of the `MediaTrackEventListener` and `AudioRendererEventListener` that is used to delegate events from the track renderer to the `PlayerListener` instances that are registered with the current `PlayerController`.
AudioTrackListener(PlayerListeners) - Constructor for class com.castlabs.android.player.AudioTrackListener
  Creates a new instance.
authToken - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  The DRMToday auth token
authToken(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Set the DRMToday auth token when you are using upfront authentication.
Auto - Enum constant in enum com.castlabs.android.player.ExternalSourceSelector.SwitchType
  First, the seamless transition is attempted and in case of any failure, the playback restart will follow up
autoPlay - Variable in class com.castlabs.android.player.PlayerConfig
  Whether to autoplay or not
autoPlay(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets whether to start playing once enough buffer is available
availabilityStartTimeOffsetOverwriteMs - Variable in class com.castlabs.android.player.LiveConfiguration
  Overwrite or set the availability start time offset for ultra low latency streams.
availabilityStartTimeOffsetOverwriteMs(long) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  For ultra low latency streams, set or overwrite the availability start time offset.

## B

backBufferDuration(long, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  Maximum duration of the back buffer.
backBufferDurationMs - Variable in class com.castlabs.android.player.BufferConfiguration
  Maximum duration of the back buffer.
backoffFactor - Variable in class com.castlabs.android.network.RetryConfiguration
  The multiplication factor between retries applied after the first retry
backoffFactor(float) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
  Sets the backoff factor.
backPlayers(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Sets the number of "back players".
BANDWIDTH_RESET_MODE_AUTOMATIC_ITEM_TRANSITION - Static variable in class com.castlabs.android.player.SingleControllerPlaylist
  Resets bandwidth estimation when playback transitions to a different playlist item.
BANDWIDTH_RESET_MODE_EXPLICIT_ITEM_CHANGE - Static variable in class com.castlabs.android.player.SingleControllerPlaylist
  Resets bandwidth estimation when playback is explicitly switched to a different playlist item.
BANDWIDTH_RESET_MODE_NONE - Static variable in class com.castlabs.android.player.SingleControllerPlaylist
  Keeps the current bandwidth estimation regardless of playlist item changes.
bandwidthFraction - Variable in class com.castlabs.android.player.AbrConfiguration
  The fraction of the bandwidth estimation that we consider to calculate the effective bandwidth.
bandwidthFraction(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  The fraction of the bandwidth estimation that we consider the effective bandwidth.
BandwidthMeterWrapper - Class in com.castlabs.android.player
  Wrapper implementation around the bandwidth meter.
baseDelayMs - Variable in class com.castlabs.android.network.RetryConfiguration
  The initial delay applied to the first retry
baseDelayMs(int) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
  Sets the base delay in milliseconds.
BasePlayerModelBuilder - Class in com.castlabs.android.player
  Helper class that takes care of the track renderer creation using the registered `TrackRendererPlugin` plugins.
BasePlayerModelBuilder() - Constructor for class com.castlabs.android.player.BasePlayerModelBuilder
  Default constructor.
BestAvailable - Enum constant in enum com.castlabs.android.drm.Drm
  Choose the best DRM available on the device
Binder() - Constructor for class com.castlabs.android.player.PlayerService.Binder
  Creates a new Binder.
bitrate - Variable in class com.castlabs.android.adverts.Ad
  The Ad bitrate in bits per second
BlocklistException - Exception Class in com.castlabs.android.player.exceptions
  Exception thrown when a track is blocklisted.
BUFFER_AHEAD - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.TimeReference
  Will use the amount of buffer ahead as the time reference.
bufferConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
  The buffer configuration
bufferConfiguration(BufferConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the `BufferConfiguration`
BufferConfiguration - Class in com.castlabs.android.player
  Container object that stores the buffer configuration.
BufferConfiguration() - Constructor for class com.castlabs.android.player.BufferConfiguration
  Create a new buffer configuration using the default values
BufferConfiguration(int, long, long) - Constructor for class com.castlabs.android.player.BufferConfiguration
  Create a new buffer configuration
BufferConfiguration.Builder - Class in com.castlabs.android.player
  Builder for `BufferConfiguration` instances.
Buffering - Enum constant in enum com.castlabs.android.player.PlayerController.State
  The player does not have enough data to start playing and is buffering now.
bufferSegmentSize - Variable in class com.castlabs.android.player.BufferConfiguration
  The internal buffer is divided into segment and this specifies the size of a single buffer segment.
bufferSegmentSize(int) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  The internal buffer is divided into segment and this specifies the size of a single buffer segment.
bufferSizeBytes - Variable in class com.castlabs.android.player.BufferConfiguration
  The buffer size in bytes
bufferSizeBytes(int) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  The buffer size in bytes
build() - Method in class com.castlabs.android.subtitles.ExoSubtitlesPreviewBuilder
  Creates a new ExoSubtitlesPreview instance.
build() - Method in interface com.castlabs.android.subtitles.SubtitlesPreviewBuilder
  Create a new instance of a `SubtitlesPreview`.
Builder() - Constructor for class com.castlabs.android.adverts.AdSchedule.Builder
  Creates a new Builder instance.
Builder() - Constructor for class com.castlabs.android.drm.DrmConfiguration.Builder
  Creates a new Builder with default values
Builder() - Constructor for class com.castlabs.android.network.NetworkConfiguration.Builder
  Creates a new Builder with default values.
Builder() - Constructor for class com.castlabs.android.network.RetryConfiguration.Builder
  Creates a new Builder instance with default values.
Builder() - Constructor for class com.castlabs.android.player.AbrConfiguration.Builder
  Creates a new builder instance with the default values.
Builder() - Constructor for class com.castlabs.android.player.AudioAttributes.Builder
  Creates a new builder for `AudioAttributes`.
Builder() - Constructor for class com.castlabs.android.player.BufferConfiguration.Builder
  Create a new builder with default values
Builder() - Constructor for class com.castlabs.android.player.LiveConfiguration.Builder
  Create a new builder with default values
Builder() - Constructor for class com.castlabs.android.player.LowLatencyProfile.Builder
  Create a new builder with default values
Builder() - Constructor for class com.castlabs.android.player.models.mpd.EventMessage.Builder
  Creates a new Builder for EventMessage.
Builder() - Constructor for class com.castlabs.android.player.models.Timeline.Builder
  Creates a new Builder.
Builder() - Constructor for class com.castlabs.android.player.models.Timeline.Period.Builder
  Creates a new Builder.
Builder() - Constructor for class com.castlabs.android.player.models.Timeline.Window.Builder
  Creates a new Builder.
Builder() - Constructor for class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
  Creates a new Builder with default values.
Builder() - Constructor for class com.castlabs.android.player.TrickplayConfiguration.Builder
  Default constructor for Builder.
Builder() - Constructor for class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Constructs a new `Builder`.
Builder(Context) - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Creates an instance of the Builder.
Builder(Context, PlayerConfig, DrmLicenseLoader.Callback) - Constructor for class com.castlabs.android.player.DrmLicenseLoader.Builder
  Create a new builder to generate a license loader instance using the given PlayerConfig data.
Builder(Context, String, DrmConfiguration, DrmLicenseLoader.Callback) - Constructor for class com.castlabs.android.player.DrmLicenseLoader.Builder
  Create a new builder to generate a license loader instance.
Builder(Bundle) - Constructor for class com.castlabs.android.player.PlayerConfig.Builder
  A builder for `PlayerConfig` objects.
Builder(DrmConfiguration) - Constructor for class com.castlabs.android.drm.DrmConfiguration.Builder
  Creates a new Builder initialized with values from the given DrmConfiguration
Builder(DrmTodayConfiguration) - Constructor for class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Creates a new Builder instance.
Builder(NetworkConfiguration) - Constructor for class com.castlabs.android.network.NetworkConfiguration.Builder
  Creates a new Builder by copying values from an existing `NetworkConfiguration`.
Builder(RetryConfiguration) - Constructor for class com.castlabs.android.network.RetryConfiguration.Builder
  Create a new builder that will take its initial values from the given source
Builder(AbrConfiguration) - Constructor for class com.castlabs.android.player.AbrConfiguration.Builder
  Creates a new builder instance with the values from the given `AbrConfiguration` instance.
Builder(BufferConfiguration) - Constructor for class com.castlabs.android.player.BufferConfiguration.Builder
  Create a new builder starting with the value from the given configuration
Builder(CatchupConfiguration) - Constructor for class com.castlabs.android.player.CatchupConfiguration.Builder
  Create a new builder starting with the value from the given configuration
Builder(CatchupConfiguration.TimeReference) - Constructor for class com.castlabs.android.player.CatchupConfiguration.Builder
  Create a new builder with default values
Builder(LiveConfiguration) - Constructor for class com.castlabs.android.player.LiveConfiguration.Builder
  Create a new builder starting with the value from the given configuration
Builder(LowLatencyProfile) - Constructor for class com.castlabs.android.player.LowLatencyProfile.Builder
  Create a new builder starting with the value from the given configuration
Builder(PlayerConfig) - Constructor for class com.castlabs.android.player.PlayerConfig.Builder
  A builder for `PlayerConfig` objects.
Builder(PlayerView) - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Creates an instance of the Builder.
Builder(TrickplayConfiguration) - Constructor for class com.castlabs.android.player.TrickplayConfiguration.Builder
  Constructor for Builder that initializes with an existing TrickplayConfiguration.
Builder(VideoFilterConfiguration) - Constructor for class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Constructs a new `Builder` by copying the values from an existing `VideoFilterConfiguration`.
Builder(String) - Constructor for class com.castlabs.android.player.PlayerConfig.Builder
  A builder for `PlayerConfig` objects.
Builder(String, String) - Constructor for class com.castlabs.android.player.models.mpd.EventStream.Builder
  Creates a new Builder.
Builder(String, String, String, String) - Constructor for class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Create a new builder with the given parameters using no explicit asset id and the best available DRM system.
Builder(String, String, String, String, Drm) - Constructor for class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Create a new builder with the given parameters.
Builder(String, String, String, String, String, Drm) - Constructor for class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Create a new builder with the given parameters.
buildUpon() - Method in class com.castlabs.android.player.PlayerConfig
  Set the `Builder` values to the stored values in the `Bundle`.
bundleToJSON(Bundle) - Static method in class com.castlabs.android.utils.DataUtils
  Converts a Bundle to a JSONObject.
BundleUtils - Class in com.castlabs.utils
  Utilities around Bundle
BundleUtils() - Constructor for class com.castlabs.utils.BundleUtils
  Creates a new instance of BundleUtils.
bytesThreshold - Variable in class com.castlabs.android.player.AbrConfiguration
  The min number of bytes before transferred bytes and times are used for ABR calculations, applicable to `AbrConfiguration.METHOD_COMMON_NBA`
bytesThreshold(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Set the `AbrConfiguration.bytesThreshold`
bytesToString(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
  Converts byte array to String representation, used for debugging

## C

callTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration
  Returns the call timeout for the given request type.
CastlabsMediaDrm - Class in com.castlabs.android.drm
  A wrapper around `FrameworkMediaDrm` that provides asynchronous session management capabilities.
CastlabsMediaDrm.CastlabsMediaDrmException - Exception Class in com.castlabs.android.drm
  Exception thrown when operations on the MediaDrm instance fail.
CastlabsMediaDrm.CastlabsMediaDrmException.Type - Annotation Type in com.castlabs.android.drm
  Defines the types of DRM exceptions that can occur.
CastlabsMediaDrmException(int, Throwable) - Constructor for exception class com.castlabs.android.drm.CastlabsMediaDrm.CastlabsMediaDrmException
  Constructs a new CastlabsMediaDrmException with the specified type and cause.
CastlabsPlayerException - Exception Class in com.castlabs.android.player.exceptions
  Exception that represents a player error and wraps the cause and an optional error code.
CastlabsPlayerException(int, int, String) - Constructor for exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates a new CastlabsPlayerException with the specified severity, type, and message.
CastlabsPlayerException(int, int, String, Throwable) - Constructor for exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates a new CastlabsPlayerException with the specified severity, type, message, and cause.
CastlabsPlayerException(int, int, String, Throwable, String) - Constructor for exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates a new CastlabsPlayerException with the specified severity, type, message, cause, and explicit cause message.
CastlabsPlayerException.Severity - Annotation Type in com.castlabs.android.player.exceptions
  Defines the severity of an error.
CastlabsPlayerException.Type - Annotation Type in com.castlabs.android.player.exceptions
  Defines the type of an error.
catchupConfiguration - Variable in class com.castlabs.android.player.LiveConfiguration
  Defines the catchup configuration
catchupConfiguration(CatchupConfiguration) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Defines the catchup configuration
CatchupConfiguration - Class in com.castlabs.android.player
  Represents a catchup configuration.
CatchupConfiguration.Builder - Class in com.castlabs.android.player
  Builder for a `CatchupConfiguration`.
CatchupConfiguration.TimeReference - Enum in com.castlabs.android.player
  Timing reference which will be used to calculate the thresholds of the CatchupConfiguration
CatchupConfiguration.Type - Enum in com.castlabs.android.player
  Represents the catchup strategy.
CatchupListener - Interface in com.castlabs.android.player
  Listener to get events related to the `catchup` feature.
cause - Variable in exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
  The cause of the exception
cencFromPlayreadyKID(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
  Creates a CENC UUID from the decoded playready KeyID
cencFromPlayreadyKID(String) - Static method in class com.castlabs.android.drm.DrmUtils
  Creates a CENC UUID from a base 64 encoded playready key id
Chapter - Class in com.castlabs.android.player
  Basic chapter model that consists of the chapter position, a title, and an image URL.
Chapter(long) - Constructor for class com.castlabs.android.player.Chapter
  Create a new chapter
Chapter(long, long, String, Uri) - Constructor for class com.castlabs.android.player.Chapter
  Create a new chapter
Chapter(long, String) - Constructor for class com.castlabs.android.player.Chapter
  Create a new chapter
Chapter(long, String, Uri) - Constructor for class com.castlabs.android.player.Chapter
  Create a new chapter
checkClientTrusted(X509Certificate[], String) - Method in class com.castlabs.android.network.CustomX509TrustManager
checkServerTrusted(X509Certificate[], String) - Method in class com.castlabs.android.network.CustomX509TrustManager
ChunkSampleSourceListener - Class in com.castlabs.android.player
  Listener for `MediaSourceEventListener` events that are propagated to the `PlayerController`.
ChunkSampleSourceListener(PlayerController) - Constructor for class com.castlabs.android.player.ChunkSampleSourceListener
  Creates a new instance of `ChunkSampleSourceListener`.
className - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The class name of the date range.
clear() - Method in interface com.castlabs.android.player.PlaybackStateStorage
  Clears the storage and deletes all entries
clearAllHeaders() - Method in class com.castlabs.android.network.ExtendedDataSource
clearCache() - Method in class com.castlabs.android.utils.LazyImageLoader
  Clears the in-memory bitmap cache and removed all cached files.
clearHeader(String) - Method in class com.castlabs.android.network.ExtendedDataSource
clearHeaderParameters() - Method in interface com.castlabs.android.network.DataSourceFactory
  Removes all header parameters added previously with `DataSourceFactory.addHeaderParameter(String, String)`.
clearHeaderParameters() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
clearHeaderParameters() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
Clearkey - Enum constant in enum com.castlabs.android.drm.Drm
  Select Clearkey drm
ClearkeyTrackRendererBuilder - Class in com.castlabs.android.player
  A `MediaCodecTrackRendererBuilder` that builds `Renderer` instances that support Clearkey DRM.
ClearkeyTrackRendererBuilder() - Constructor for class com.castlabs.android.player.ClearkeyTrackRendererBuilder
  Default constructor.
clearQueryParameters() - Method in interface com.castlabs.android.network.DataSourceFactory
  Removes all query parameters added previously with `DataSourceFactory.addQueryParameter(String, String)`
clearQueryParameters() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
clearQueryParameters() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
ClearTrackRendererPlugin - Class in com.castlabs.android.player
  A renderer plugin that supports audio and video tracks that are not encrypted
ClearTrackRendererPlugin() - Constructor for class com.castlabs.android.player.ClearTrackRendererPlugin
  Default constructor for ClearTrackRendererPlugin.
clickthrough() - Method in interface com.castlabs.android.adverts.AdApi
  Perform the clickthrough operation on the current ad, if applicable.
clickthrough() - Method in class com.castlabs.android.adverts.AdApiWrapper
clickthroughUrl - Variable in class com.castlabs.android.adverts.Ad
  Ad clickthrough URL
ClientAdProvider - Interface in com.castlabs.android.adverts
  Provider responsible for creating client-side ad loaders (for example IMA).
clientAttributes - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The client attributes of the date range.
CLIP_PERIODS - Static variable in class com.castlabs.android.PlayerSDK
  Global parameter to enable or disable audio and video components clipping to their period duration (DASH-only).
clipPeriods - Variable in class com.castlabs.android.player.PlayerConfig
  If true then media periods will be clipped to their durations (currently is only applicable for DASH streams)
clipPeriods(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets whether to clip periods to their durations (DASH-only) May be necessary when the segments durations are longer than the periods or the segments durations are not-aligned, so the periods should be clipped to periods durations and don't render the segments leftovers.
clippingEndUs - Variable in class com.castlabs.android.player.PlayerConfig
  The clipping end position in microseconds
clippingEndUs(long) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the clipping start position in microseconds
clippingStartUs - Variable in class com.castlabs.android.player.PlayerConfig
  The clipping start position in microseconds
clippingStartUs(long) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the clipping start position in microseconds
CLLibraryLoader - Class in com.castlabs.android.player
  The library loader class is a class that provides static methods to register native libraries that will be loaded on request.
CLLibraryLoader.PostLoadAction - Interface in com.castlabs.android.player
  Register instances of this interface to call custom code triggered after all native libraries are loaded.
close() - Method in class com.castlabs.android.downloader.ZipDataSource
close() - Method in interface com.castlabs.android.drm.DrmLicenseManager
  Close all sessions
close() - Method in class com.castlabs.android.network.ExtendedDataSource
Close - Enum constant in enum com.castlabs.android.player.CustomDashEventListener.EventType
  Close event type.
closeQuietly(DataSource) - Static method in class com.castlabs.utils.IOUtils
  Quietly close the given DataSource and ignore any IO exceptions.
closeQuietly(Closeable) - Static method in class com.castlabs.utils.IOUtils
  Quietly close the given closable and ignore any IO exceptions.
closeSession(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Asynchronously closes the specified DRM session.
closeSessionSync(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Synchronously closes the specified DRM session.
CmcdConfigurationFactory - Interface in com.castlabs.android.player
  Factory for `CmcdConfiguration` instances.
CODE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error code associated with the error
CODEC_BUFFER_MODE_ASYNC - Static variable in class com.castlabs.android.SdkConsts
  Force asynchronous buffer mode, only valid for API higher or equal to 23
CODEC_BUFFER_MODE_AUTO - Static variable in class com.castlabs.android.SdkConsts
  Asynchronous buffer mode for API higher or equal to 31, otherwise synchronous
CODEC_BUFFER_MODE_SYNC - Static variable in class com.castlabs.android.SdkConsts
  Force synchronous buffer mode
CODEC_NAMES - Static variable in class com.castlabs.utils.Codecs
  Map of codec strings to human-readable names.
CODEC_WEIGHT_IMPL_HW - Static variable in class com.castlabs.android.PlayerSDK
  The codec normalized weight for hardware implementation `1.0f` used for the default track selection.
CODEC_WEIGHT_IMPL_SW - Static variable in class com.castlabs.android.PlayerSDK
  The codec normalized weight for software implementation `0.5f` used for the default track selection.
CODEC_WEIGHT_MIME_H264_HW - Static variable in class com.castlabs.android.PlayerSDK
  The hardware codec H264 (AVC) normalized weight `0.5f` used for the default video track selection.
CODEC_WEIGHT_MIME_H264_SW - Static variable in class com.castlabs.android.PlayerSDK
  The software codec H264 (AVC) normalized weight `0.4f` used for the default video track selection.
CODEC_WEIGHT_MIME_H265_HW - Static variable in class com.castlabs.android.PlayerSDK
  The hardware codec H265 (HEVC) normalized weight `1.0f` used for the default video track selection.
CODEC_WEIGHT_MIME_H265_SW - Static variable in class com.castlabs.android.PlayerSDK
  The software codec H265 (HEVC) normalized weight `0.3f` used for the default video track selection.
CODEC_WEIGHT_MIME_OTHER - Static variable in class com.castlabs.android.PlayerSDK
  The normalized weight `0.2f` of the codec other than `PlayerSDK.CODEC_WEIGHT_MIME_H265_HW`, `PlayerSDK.CODEC_WEIGHT_MIME_H265_SW`, `PlayerSDK.CODEC_WEIGHT_MIME_H264_HW` and `PlayerSDK.CODEC_WEIGHT_MIME_H264_SW` normalized weight `0.5f` used for default video track selection.
codecName - Variable in class com.castlabs.android.player.MediaCodecInfo
  The name of the codec as registered in the system.
Codecs - Class in com.castlabs.utils
  Utility class for handling codecs.
Codecs() - Constructor for class com.castlabs.utils.Codecs
  Default constructor.
com.castlabs - package com.castlabs
com.castlabs.analytics - package com.castlabs.analytics
com.castlabs.android - package com.castlabs.android
com.castlabs.android.adverts - package com.castlabs.android.adverts
com.castlabs.android.downloader - package com.castlabs.android.downloader
com.castlabs.android.drm - package com.castlabs.android.drm
com.castlabs.android.network - package com.castlabs.android.network
com.castlabs.android.player - package com.castlabs.android.player
com.castlabs.android.player.exceptions - package com.castlabs.android.player.exceptions
com.castlabs.android.player.filter - package com.castlabs.android.player.filter
com.castlabs.android.player.models - package com.castlabs.android.player.models
com.castlabs.android.player.models.hls - package com.castlabs.android.player.models.hls
com.castlabs.android.player.models.mpd - package com.castlabs.android.player.models.mpd
com.castlabs.android.player.playlist - package com.castlabs.android.player.playlist
com.castlabs.android.settings - package com.castlabs.android.settings
com.castlabs.android.subtitles - package com.castlabs.android.subtitles
com.castlabs.android.thumbs - package com.castlabs.android.thumbs
com.castlabs.android.utils - package com.castlabs.android.utils
com.castlabs.android.views - package com.castlabs.android.views
com.castlabs.utils - package com.castlabs.utils
com.google.android.exoplayer2.text.ttml - package com.google.android.exoplayer2.text.ttml
COMMON_PSSH_UUID - Static variable in class com.castlabs.android.SdkConsts
  UUID for the W3C Common PSSH box.
COMPANION_SDK_NAME - Static variable in class com.castlabs.android.PlayerSDK
  Should be set to the companion sdk name if used.
COMPANION_SDK_VERSION - Static variable in class com.castlabs.android.PlayerSDK
  Should be set to the companion sdk version if used.
compareTo(VideoTrackQuality) - Method in class com.castlabs.android.player.models.VideoTrackQuality
config(PlayerConfig) - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
  Sets the `PlayerConfig` of the Window.
ConfigurationProvider - Interface in com.castlabs.android.player
  Implementations of this interface allows to get updated configurations when needed.
configurationUrl - Variable in class com.castlabs.android.player.PlayerConfig
  Optional configuration backend url
configurationUrl(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the configuration url
connectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the connection timeout for both manifest and segment requests
connectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration
  Returns the connection timeout for the given request type.
CONNECTIVITY_CHECK_PERIOD_MS - Static variable in class com.castlabs.android.PlayerSDK
  Period in ms, used to poll the device's connectivity, when `PlayerSDK.ENABLE_CONNECTIVITY_CHECKS` is enabled
CONNECTIVITY_CHECKER - Static variable in class com.castlabs.android.PlayerSDK
  The default connectivity check that will be used at runtime to check for internet connectivity.
ConnectivityCheck - Interface in com.castlabs.android.network
  Implementations of this interface allow to check for internet connectivity.
ConnectivityRegainedException - Exception Class in com.castlabs.android.network
  This exception is thrown as a marker when the player lost connectivity, was waiting to re-gain it, and then got it back.
ConnectivityRegainedException() - Constructor for exception class com.castlabs.android.network.ConnectivityRegainedException
  Constructs a new `ConnectivityRegainedException`.
ContainerUtils - Class in com.castlabs.android.downloader
  Helper class that provides utilities to handle zip containers that contain DASH content.
ContainerUtils() - Constructor for class com.castlabs.android.downloader.ContainerUtils
  Default constructor.
containsUri(Uri) - Method in class com.castlabs.android.player.HlsClearKeyCache
  Checks if a URI is present in the cache.
containsUri(Uri) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
CONTENT_TYPE_DASH - Static variable in class com.castlabs.android.SdkConsts
  DASH content
CONTENT_TYPE_GSTREAMER - Static variable in class com.castlabs.android.SdkConsts
  GStreamer content
CONTENT_TYPE_HLS - Static variable in class com.castlabs.android.SdkConsts
  HLS content
CONTENT_TYPE_HYBRID_AD - Static variable in class com.castlabs.android.SdkConsts
  Hybrid Ad content
CONTENT_TYPE_IPTV - Static variable in class com.castlabs.android.SdkConsts
  IPTV content
CONTENT_TYPE_MP4 - Static variable in class com.castlabs.android.SdkConsts
  MP4 content
CONTENT_TYPE_SMOOTHSTREAMING - Static variable in class com.castlabs.android.SdkConsts
  SmoothStreaming content
CONTENT_TYPE_UNKNOWN - Static variable in class com.castlabs.android.SdkConsts
  An unknown content type
contentParameters - Variable in class com.castlabs.android.player.PlayerConfig
  Header params to add to content (manifest) requests
contentParameters(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the manifest header parameters
contentQueryParameters - Variable in class com.castlabs.android.player.PlayerConfig
  Query params to add to content (manifest) requests
contentQueryParameters(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the segment query parameters
contentType - Variable in class com.castlabs.android.player.PlayerConfig
  The content format
contentType(int) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Explicitly set the content type.
contentType(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the content type
contentTypeToMimeType(int) - Static method in class com.castlabs.android.SdkConsts
  Utility method that translates a content type to a MimeType string
contentTypeToString(int) - Static method in class com.castlabs.utils.StringUtils
  Helper method to convert content type to human-readable string for logging.
contentUrl - Variable in class com.castlabs.android.player.PlayerConfig
  Playback url
contentUrl(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the content url.
convert() - Method in class com.castlabs.android.player.ExternalSourceSelector.SourceData
  Converts this SourceData to a MediaSource.SourceErrorListener.SourceData instance.
convert(S) - Method in interface com.castlabs.utils.Converter
  Takes a potentially null source value and converts it into the potentially null target value
Converter<S,T> - Interface in com.castlabs.utils
  Converter interface where implementation of this interface can convert one data type into another.
convertExoTrackTypeToRendererTrackType(int) - Static method in class com.castlabs.android.utils.TrackTypeUtils
  Converts given track type to renderer track type
convertToLocalFilePath(Uri) - Static method in class com.castlabs.utils.FileHelper
  Converts remote URI to local file path
copy(File, File) - Static method in class com.castlabs.utils.FileHelper
  Copies files and directories.
copy(InputStream, OutputStream) - Static method in class com.castlabs.utils.IOUtils
  Copy the content from the input to the output stream and closes both the input and the output stream
copy(InputStream, Writer) - Static method in class com.castlabs.utils.IOUtils
  Copy the input stream content as UTF-8 chars to the writer
copy(Reader, Writer) - Static method in class com.castlabs.utils.IOUtils
  Copy the content from teh given reader to the given writer and closes reader and writer
copyAsset(Context, String, File) - Static method in class com.castlabs.android.utils.AssetsUtils
  Copy an asset with the given asset name to the given target
copyAssetToExternalFilesDir(Context, String) - Static method in class com.castlabs.android.utils.AssetsUtils
  Copy the asset with the given asset name to the external storage directory of the current app.
Crashlog - Class in com.castlabs.analytics
  This class provides the ability to manager the crash context and connect `CrashReporter` implementations that are then used to send crash data to a backend service.
CRASHLOG_AUTO_REPORT - Static variable in class com.castlabs.android.PlayerSDK
  Configure the exception severity that will cause the `Crashlog.report(Throwable)` to be triggered automatically.
CrashReporter - Interface in com.castlabs.analytics
  Implementations of this interface allow connections to crash logging systems.
create() - Method in class com.castlabs.android.player.ClearTrackRendererPlugin
create() - Method in class com.castlabs.android.player.ExoSubtitlesRendererPlugin
create() - Method in interface com.castlabs.android.player.PlayerViewPlugin
  Creates and returns a new instance of the `PlayerViewPlugin.PlayerViewComponent` that is provided by this plugin
create() - Method in interface com.castlabs.android.player.TrackRendererPlugin
  Creates a new instance of the builder.
create(int, int, String) - Static method in exception class com.castlabs.android.player.exceptions.FilterException
  Create the `FilterException` object
create(int, String, Format, long) - Static method in exception class com.castlabs.android.player.exceptions.BlocklistException
  Creates a new BlocklistException.
create(int, Throwable) - Static method in exception class com.castlabs.android.player.exceptions.DownloadException
  Creates a new DownloadException with the specified track type and cause.
create(DrmUtils.HttpExecutorException) - Static method in exception class com.castlabs.android.drm.DrmException
  Creates a DrmException from a DrmUtils.HttpExecutorException.
create(DrmUtils.HttpExecutorException) - Static method in exception class com.castlabs.android.drm.DrmTodayException
  Looks at the response code, the response body, and the headers and returns a DrmToday Exception that maps to the given error.
create(TunnelingException.Reason, String) - Static method in exception class com.castlabs.android.player.exceptions.TunnelingException
  Creates a new TunnelingException.
create(PlayerConfig, int, int, List<PlayerConfig>, Throwable) - Static method in exception class com.castlabs.android.player.exceptions.PlaylistException
  Creates a PlaylistException.
create(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerPlugin
  Creates and returns a new instance of the `PlayerControllerPlugin.Component` that is provided by this plugin.
create(Throwable) - Static method in exception class com.castlabs.android.player.exceptions.DownloadException
  Creates a new DownloadException from a Throwable, automatically determining the track type if possible from the cause.
create(Map<String, List<String>>) - Static method in class com.castlabs.android.drm.DrmTodayResponseCode
  Parses response headers and creates corresponding `DrmTodayResponseCode`.
createAdapter(MediaCodecAdapter.Configuration) - Method in class com.castlabs.android.player.DefaultVideoCodecAdapterFactory
createAdLoader(AdRequest) - Method in interface com.castlabs.android.adverts.ClientAdProvider
  Create an `AdLoader` instance for the supplied `AdRequest`.
createAdLoader(PlayerConfig) - Method in class com.castlabs.android.adverts.HlsInterstitialPlugin
createAdLoader(PlayerConfig) - Method in interface com.castlabs.android.adverts.ServerAdProvider
  Create a server-side `AdLoader` for the provided `PlayerConfig`.
createAudioCodecAdapterFactory() - Static method in class com.castlabs.utils.Codecs
  Creates a `MediaCodecAdapter.Factory` for audio codecs, configured based on SDK settings.
createCmcdConfiguration(PlayerConfig) - Method in interface com.castlabs.android.player.CmcdConfigurationFactory
  Creates a `CmcdConfiguration` based on the provided contentId.
createContentMediaSource(PlayerConfig, boolean, PlayerPlugin) - Method in class com.castlabs.android.player.PlayerController
  Creates a MediaSource for just one PlayerConfig.
createContentMediaSource(PlayerConfig, boolean, PlayerPlugin) - Method in class com.castlabs.android.player.SingleControllerPlaylist
createDataSource() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
createDataSource() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
createDataSource(int) - Method in interface com.castlabs.android.network.DataSourceFactory
  Creates a data source for the given request type
createDataSource(int) - Method in class com.castlabs.android.network.DefaultDataSourceFactory
createDataSource(int) - Method in class com.castlabs.android.network.ModifierDataSourceFactory
createDrmInitDataProvider(ManifestModifier) - Method in class com.castlabs.android.player.DashPlayerPlugin
createDrmInitDataProvider(ManifestModifier) - Method in class com.castlabs.android.player.HlsPlayerPlugin
createDrmInitDataProvider(ManifestModifier) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
createDrmInitDataProvider(ManifestModifier) - Method in interface com.castlabs.android.player.PlayerPlugin
  Creates a `PlayerPlugin.DrmInitDataProvider` instance.
createError(int, String, PlaylistException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates a fatal exception for a download error.
createError(int, String, HttpDataSource.HttpDataSourceException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates an error exception for an HTTP data source error.
createError(int, String, HttpDataSource.InvalidResponseCodeException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates an error exception for an invalid HTTP response code.
createFatal(DownloadException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates a fatal exception for a download error.
createFatal(DashPeriodNotFoundException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates a fatal exception for a DASH period not found error.
createFatal(HttpDataSource.HttpDataSourceException, int) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates a fatal exception for an HTTP data source error.
createLicenseUri(DrmTodayConfiguration) - Static method in class com.castlabs.android.drm.DrmTodayUriFactory
  Utility method that builds the license request URL to DRMToday for each DRM implementation.
createLicenseUri(DrmTodayConfiguration, String) - Static method in class com.castlabs.android.drm.DrmTodayUriFactory
  Utility method that builds the license request URL to DRMToday for each DRM implementation.
createMediaCrypto(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Creates a MediaCrypto instance for the specified initialization data.
createMediaDrm(UUID, boolean) - Static method in class com.castlabs.android.drm.DrmUtils
  Creates a MediaDrm instance for the specified UUID.
createMediaSource(PlayerConfig, boolean, PlayerController) - Method in class com.castlabs.android.player.DashPlayerPlugin
createMediaSource(PlayerConfig, boolean, PlayerController) - Method in class com.castlabs.android.player.HlsPlayerPlugin
createMediaSource(PlayerConfig, boolean, PlayerController) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
createMediaSource(PlayerConfig, boolean, PlayerController) - Method in interface com.castlabs.android.player.PlayerPlugin
  Create the content media source based on the supplied path and the `PlayerController`
createMediaSource(PlayerConfig, PlayerPlugin, AdLoader.Listener) - Method in interface com.castlabs.android.adverts.AdLoader
  Asynchronously create `MediaSource` to play
createMediaSource(PlayerConfig, PlayerPlugin, AdLoader.Listener) - Method in class com.castlabs.android.adverts.ServerAdLoader
createModel(TrackSelectorResult) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Creates a model selection from the `TrackSelectorResult` if it is of type `ExtendedTrackSelector.ModelSelection`.
createRenderer(PlayerController, DrmConfiguration, TrackRendererPlugin.Type) - Method in class com.castlabs.android.player.BasePlayerModelBuilder
  Creates a `TrackRendererPlugin.TrackRendererContainer` for the given parameters.
createRenderer(TrackRendererPlugin.Type, PlayerController, DrmConfiguration) - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
createRenderer(TrackRendererPlugin.Type, PlayerController, DrmConfiguration) - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
  Creates a track renderer container for the given type, player controller and DRM configuration.
createRendererContainers(PlayerController, DrmConfiguration) - Method in class com.castlabs.android.player.DashPlayerPlugin
createRendererContainers(PlayerController, DrmConfiguration) - Method in class com.castlabs.android.player.HlsPlayerPlugin
createRendererContainers(PlayerController, DrmConfiguration) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
createRendererContainers(PlayerController, DrmConfiguration) - Method in interface com.castlabs.android.player.PlayerPlugin
  Create the list of renderer containers based on the supplied `DrmConfiguration` and `PlayerController`
createSSLSocketFactory(KeyStore) - Static method in class com.castlabs.android.network.CustomX509TrustManager
  Creates SSL socket factory based on the provided custom key store
createSSLSocketFactory(TrustManager[]) - Static method in class com.castlabs.android.network.CustomX509TrustManager
  Creates SSL socket factory based on the provided trust managers
createTarget(Uri, File, String, boolean) - Static method in class com.castlabs.android.downloader.DownloadableResource
  Create a path to a local file given the remote resource, the manifest URL and the base path.
createTrustManager(KeyStore) - Static method in class com.castlabs.android.network.CustomX509TrustManager
  Creates custom X509TrustManager based on the provided custom key store
createUuid(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
  Create a UUID from a byte array
createUuid(String) - Static method in class com.castlabs.android.drm.DrmUtils
  Create a UUID from a encoded base64 String
createVideoCodecAdapterFactory() - Static method in class com.castlabs.utils.Codecs
  Creates a `MediaCodecAdapter.Factory` for video codecs, configured based on SDK settings.
createWarning(DownloadException) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Creates a warning exception for a download error.
createWithoutTimingInfo(byte[]) - Static method in class com.castlabs.android.player.DrmKeyStorage
  Creates a DrmKeyStorage object without timing information.
creativeFormatFallback - Variable in class com.castlabs.android.settings.AdSettings
  Content type to use as fallback when ad creative format cannot be detected from URI.
CREATOR - Static variable in class com.castlabs.analytics.AnalyticsMetaData
  Creator for Parcelable.
CREATOR - Static variable in class com.castlabs.android.adverts.AdRequest
  Creator for Parcelable.
CREATOR - Static variable in class com.castlabs.android.adverts.AdSchedule
  Parcelable Creator for AdSchedule.
CREATOR - Static variable in class com.castlabs.android.drm.DrmConfiguration
  Parcelable creator for DrmConfiguration
CREATOR - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
  The Parcel creator
CREATOR - Static variable in class com.castlabs.android.network.NetworkConfiguration
  Creator used by the Parcelable implementation
CREATOR - Static variable in class com.castlabs.android.network.RetryConfiguration
  Creator for Parcelable.
CREATOR - Static variable in class com.castlabs.android.player.AbrConfiguration
  `Parcelable.Creator` for the `AbrConfiguration` class.
CREATOR - Static variable in class com.castlabs.android.player.AudioAttributes
  Creator for `AudioAttributes` from a `Parcel`.
CREATOR - Static variable in class com.castlabs.android.player.BufferConfiguration
  Creator for Parcelable.
CREATOR - Static variable in class com.castlabs.android.player.CatchupConfiguration
  Creator for Parcelable.
CREATOR - Static variable in class com.castlabs.android.player.CustomUtcTimingElement
  Parcelable Creator for CustomUtcTimingElement.
CREATOR - Static variable in class com.castlabs.android.player.LiveConfiguration
  Creator for Parcelable implementation.
CREATOR - Static variable in class com.castlabs.android.player.MediaCodecInfo
  Creator for Parcelable implementation.
CREATOR - Static variable in class com.castlabs.android.player.MemoryHlsClearKeyCache
  Creator for Parcelable implementation.
CREATOR - Static variable in class com.castlabs.android.player.models.mpd.EventMessage
  Creator for Parcelable implementation.
CREATOR - Static variable in class com.castlabs.android.player.models.SideloadedTrack
  Creator for Parcelable.
CREATOR - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
  Creator for Parcelable.
CREATOR - Static variable in class com.castlabs.android.player.models.VideoTrackQuality
  Creator for the `Parcelable` interface.
CREATOR - Static variable in class com.castlabs.android.player.PlayerConfig
  Creator for the `PlayerConfig` class.
CREATOR - Static variable in class com.castlabs.android.player.TrickplayConfiguration
  Creator for Parcelable implementation.
CREATOR - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Creator for `VideoFilterConfiguration` from a `Parcel`.
cue - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The cue of the date range.
cue - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
  The cue identifier describing when this interstitial should play.
CustomDashEventListener - Interface in com.castlabs.android.player
  This listener provides custom DASH events which appears in DASH manifest.
CustomDashEventListener.CustomEvent - Class in com.castlabs.android.player
  A model for DASH custom events
CustomDashEventListener.EventType - Enum in com.castlabs.android.player
  Defines different types of DASH custom events
customUtcTimingElement - Variable in class com.castlabs.android.player.LiveConfiguration
  Custom CustomUtcTimingElement.
customUtcTimingElement - Variable in class com.castlabs.android.player.LowLatencyProfile
  Will override `LiveConfiguration.customUtcTimingElement`
customUtcTimingElement(CustomUtcTimingElement) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Custom CustomUtcTimingElement.
customUtcTimingElement(CustomUtcTimingElement) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
  Custom UTCTiming element to use.
CustomUtcTimingElement - Class in com.castlabs.android.player
  Represents a UTCTiming element specifying how the client should synchronize its clock with the server.
CustomUtcTimingElement(String, String, boolean) - Constructor for class com.castlabs.android.player.CustomUtcTimingElement
  Constructs the UTCTiming element with the specified parameters
CustomX509TrustManager - Class in com.castlabs.android.network
  Custom implementation of X509TrustManager uses two key stores: system default one and provided custom key store.

## D

DASH_CODEC_TO_EXOPLAYER_MIMETYPE - Static variable in class com.castlabs.utils.Codecs
  Map of DASH codec strings to ExoPlayer MIME types.
dashCallbackConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The connection timeout in milliseconds for DASH callbacks
dashCallbackConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the connection timeout for DASH callbacks
dashCallbackReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The read timeout in milliseconds for DASH callbacks
dashCallbackReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the read timeout for DASH callbacks
DashDescriptor - Class in com.castlabs.android.player
  A Dash descriptor.
DashDescriptor(int, String, String, String) - Constructor for class com.castlabs.android.player.DashDescriptor
  Creates a new DashDescriptor instance.
DashDescriptor.DescriptorType - Annotation Type in com.castlabs.android.player
  Defines the possible types for a DASH descriptor.
DashPlayerPlugin - Class in com.castlabs.android.player
  The DashPlayerPlugin is responsible for creating and configuring a DASH media source and its associated renderers, as well as providing renderer capabilities.
DashPlayerPlugin() - Constructor for class com.castlabs.android.player.DashPlayerPlugin
  Creates a new instance of the DashPlayerPlugin.
DATA_TYPE_DASH_CALLBACK - Static variable in class com.castlabs.android.network.Request
  Request type for DASH callback requests
DATA_TYPE_DATAGRAM - Static variable in class com.castlabs.android.network.Request
  Request type for RTP/UDP requests
DATA_TYPE_DRM_LICENSE - Static variable in class com.castlabs.android.network.Request
  Request type for DRM license requests
DATA_TYPE_DRM_LICENSE - Static variable in class com.castlabs.android.network.Response
  Request type for DRM license requests
DATA_TYPE_DRM_PROVISION - Static variable in class com.castlabs.android.network.Request
  Request type for DRM provisioning requests
DATA_TYPE_DRM_PROVISION - Static variable in class com.castlabs.android.network.Response
  Request type for DRM provisioning requests
DATA_TYPE_MANIFEST - Static variable in class com.castlabs.android.network.Request
  Request type for manifest requests
DATA_TYPE_OTHER - Static variable in class com.castlabs.android.network.Request
  Request type for other requests
DATA_TYPE_OTHER - Static variable in class com.castlabs.android.network.Response
  Request type for other requests, such as Manifest or Media chunks.
DATA_TYPE_SEGMENT - Static variable in class com.castlabs.android.network.Request
  Request type for segment requests
DATA_TYPE_THUMBNAIL - Static variable in class com.castlabs.android.network.Request
  Request type for thumbnail requests
dataSourceFactory(DataSourceFactory) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Set the data source factory that is used to generate content requests.
DataSourceFactory - Interface in com.castlabs.android.network
  Implementations of this interface are used to create `DataSource`s to fetch remote data.
DataUtils - Class in com.castlabs.android.utils
  Utility class for data manipulation.
DateUtils - Class in com.castlabs.android.utils
  Utility class for date operations.
decodeApid(String) - Static method in class com.castlabs.utils.FileHelper
  Decodes the given apid
decodeBitmap(byte[]) - Static method in class com.castlabs.android.utils.ImageUtils
  Creates a `Bitmap` from teh given data array
decodeHex(char[]) - Static method in class com.castlabs.utils.HashUtils
  Converts an array of character bytes representing hexadecimal values into an array of bytes of those same values.
DECODER - Enum constant in enum com.castlabs.android.player.TrickplayConfiguration.SpeedupMode
  Decoder speedup.
DEFAULT - Static variable in class com.castlabs.android.drm.DrmConfiguration
  Default DRM configuration instance
DEFAULT - Static variable in class com.castlabs.android.player.CatchupConfiguration
  Default CatchupConfiguration instance.
DEFAULT - Static variable in interface com.castlabs.android.player.CmcdConfigurationFactory
  The default factory implementation.
DEFAULT_AD_SCHEDULE - Static variable in class com.castlabs.android.SdkConsts
  The default AdSchedule
DEFAULT_AUDIO_ATTRIBUTES - Static variable in class com.castlabs.android.SdkConsts
  The default AudioAttributes
DEFAULT_AUDIO_FEED_YIELD - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default behaviour for audio renderer when feeding decoder.
DEFAULT_AVAILABILITY_START_TIME_OFFSET_OVERWRITE - Static variable in class com.castlabs.android.player.LiveConfiguration
  Default value for availability start time offset overwrite.
DEFAULT_BACK_BUFFER_LENGTH_MS - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default minimum back buffer length.
DEFAULT_BACKOFF_FACTOR_MS - Static variable in class com.castlabs.android.network.RetryConfiguration
  The default backoff factor of 2
DEFAULT_BANDWIDTH_FRACTION - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default bandwidth fraction
DEFAULT_BASE_DELAY_MS - Static variable in class com.castlabs.android.network.RetryConfiguration
  The default base delay of 1 second
DEFAULT_BUFFER_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  The default buffer configuration
DEFAULT_BUFFER_SEGMENT_SIZE - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default buffer segment size.
DEFAULT_BUFFER_SIZE - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default buffer size in bytes.
DEFAULT_CACHE_SIZE - Static variable in class com.castlabs.android.player.MemoryHlsClearKeyCache
  Default maximum cache size
DEFAULT_CALL_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
  The default read timeout, in milliseconds.
DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
  The default connection timeout, in milliseconds.
DEFAULT_CREATIVE_FORMAT_FALLBACK - Static variable in class com.castlabs.android.settings.AdSettings
  Default content type to use as fallback when ad creative format cannot be detected.
DEFAULT_DEGRADATION_PENALTY - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default degradation penalty
DEFAULT_DEGRADATION_RECOVERY - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default degradation recovery
DEFAULT_DEGRADATION_SAMPLES - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default min degradation samples
DEFAULT_DISABLE_TRICKPLAY - Static variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration
  Default value for whether to disable any Trickplay mode.
DEFAULT_DISABLED_LABEL - Static variable in class com.castlabs.android.settings.AnalyticsSettings
  Default label reported when no track is selected.
DEFAULT_DISCONTINUITY_THRESHOLD - Static variable in class com.castlabs.android.player.IPTVPlugin
  Discontinuity threshold in stream to be marked as discontinuous
DEFAULT_DOWNLOAD_TIME_FACTOR - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default download time factor
DEFAULT_DOWNLOADER_NETWORK_CONFIGURATION - Static variable in class com.castlabs.android.PlayerSDK
  The default network configuration used by the downloader for both manifests and segments
DEFAULT_DRAIN_CONNECTION_TIMEOUT_MS - Static variable in class com.castlabs.android.network.NetworkConfiguration
  The timeout to use while discarding a download of input data.
DEFAULT_DRAIN_WHILE_CHARGING - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default behaviour when charging.
DEFAULT_DRM_ACQUISITION_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
  The default DRM acquisition timeout specific to DRM scheme
DEFAULT_DRM_CONFIGURATION - Static variable in class com.castlabs.android.PlayerSDK
  Default DRM configuration to be used when no DRM configuration is contained in `PlayerConfig`.
DEFAULT_DRM_CONNECT_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
  The default DRM connection timeout specific to DRM scheme
DEFAULT_DRM_NAME_CLEARKEY - Static variable in class com.castlabs.android.settings.AnalyticsSettings
  Default DRM label for ClearKey.
DEFAULT_DRM_NAME_PLAYREADY - Static variable in class com.castlabs.android.settings.AnalyticsSettings
  Default DRM label for PlayReady.
DEFAULT_DRM_NAME_WIDEVINE - Static variable in class com.castlabs.android.settings.AnalyticsSettings
  Default DRM label for Widevine.
DEFAULT_DRM_PREFER_MANIFEST_URL - Static variable in class com.castlabs.android.PlayerSDK
  If true, then any non-empty DRM URL found in the manifest will be used instead of `DrmConfiguration.url` Default is false
DEFAULT_DRM_READ_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
  The default DRM read timeout specific to DRM scheme
DEFAULT_ENABLE_VIEWPORT_FILTER - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default value for enabling viewport-based filtering.
DEFAULT_FUZZY_FACTOR - Static variable in class com.castlabs.android.network.RetryConfiguration
  The default fuzzy factor of 0.5
DEFAULT_HIGH_MEDIA_TIME - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default value for `BufferConfiguration.highMediaTimeMs`.
DEFAULT_HLS_FORCE_PLAYLIST_UPDATE_TARGET_DURATION_COEFFICIENT - Static variable in class com.castlabs.android.player.LowLatencyProfile
  Default flag for forcing HLS playlist update target duration coefficient.
DEFAULT_HLS_LIVE_TAIL_SEGMENT_INDEX - Static variable in class com.castlabs.android.player.LowLatencyProfile
  Default HLS live tail segment index.
DEFAULT_HLS_PLAYLIST_UPDATE_TARGET_DURATION_COEFFICIENT - Static variable in class com.castlabs.android.player.LowLatencyProfile
  Default HLS playlist update target duration coefficient.
DEFAULT_INITIAL_TRACK_SELECTION - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default initial track selection.
DEFAULT_INTERNAL_SOURCE_SELECTOR_FACTORY - Static variable in class com.castlabs.android.PlayerSDK
  The default `InternalSourceSelector.Factory` used during CDN fallback e.g.
DEFAULT_ITEM_CHANGE_FLAGS - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Default behaviour when it comes to item change.
DEFAULT_KEEP_INITIAL_TRACK_SELECTION - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default value for `AbrConfiguration.keepInitialSelection`.
DEFAULT_KEY_STORE - Static variable in class com.castlabs.android.PlayerSDK
  The default key store that will be used to store and restore offline keys.
DEFAULT_LIVE_CONFIGURATION - Static variable in class com.castlabs.android.network.RetryConfiguration
  Default retry parameters for Live playback.
DEFAULT_LIVE_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  The default live configuration
DEFAULT_LIVE_EDGE_LATENCY_MS - Static variable in class com.castlabs.android.player.LowLatencyProfile
  Default live edge latency in milliseconds.
DEFAULT_LIVE_EDGE_LATENCY_MS - Static variable in class com.castlabs.android.SdkConsts
  For live streams, the default live edge latency in milliseconds.
DEFAULT_LOW_MEDIA_TIME - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default value for `BufferConfiguration.lowMediaTimeMs`.
DEFAULT_MANUAL_SELECTION - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default manual selection
DEFAULT_MAX_ATTEMPTS - Static variable in class com.castlabs.android.network.RetryConfiguration
  The default number of permitted attempts
DEFAULT_MAX_BITRATE - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default maximum bitrate of the rendition in bits per second.
DEFAULT_MAX_DELAY_MS - Static variable in class com.castlabs.android.network.RetryConfiguration
  The default maximum delay of 5 seconds.
DEFAULT_MAX_DURATION_FOR_QUALITY_DECREASE_US - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default max duration for quality decrease
DEFAULT_MAX_FRAMERATE - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default maximum framerate of the rendition.
DEFAULT_MAX_HEIGHT - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default maximum height of the rendition in pixels.
DEFAULT_MAX_INITIAL_BITRATE - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default max initial bitrate
DEFAULT_MAX_PIXEL - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default maximum number of pixels (width * height) of the rendition.
DEFAULT_MAX_WIDTH - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default maximum width of the rendition in pixels.
DEFAULT_METHOD - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default method
DEFAULT_MIN_BITRATE - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default minimum bitrate of the rendition in bits per second.
DEFAULT_MIN_DURATION_FOR_QUALITY_INCREASE_US - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default min duration for quality increase
DEFAULT_MIN_DURATION_TO_RETAIN_AFTER_DISCARD_US - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default min duration to retain after discard
DEFAULT_MIN_FRAMERATE - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default minimum framerate of the rendition.
DEFAULT_MIN_HEIGHT - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default minimum height of the rendition in pixels.
DEFAULT_MIN_PIXEL - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default minimum number of pixels (width * height) of the rendition.
DEFAULT_MIN_PLAYBACK_START_MS - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default minimum playback start buffer.
DEFAULT_MIN_PLAYBACK_START_MS - Static variable in class com.castlabs.android.player.LowLatencyProfile
  Default minimum playback start time in milliseconds.
DEFAULT_MIN_REBUFFER_START_MS - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default minimum rebuffer start buffer.
DEFAULT_MIN_REBUFFER_START_MS - Static variable in class com.castlabs.android.player.LowLatencyProfile
  Default minimum rebuffer start time in milliseconds.
DEFAULT_MIN_SAMPLED_BYTES - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default min sampled bytes
DEFAULT_MIN_WIDTH - Static variable in class com.castlabs.android.player.VideoFilterConfiguration
  Default minimum width of the rendition in pixels.
DEFAULT_NO_RETRIES_CONFIGURATION - Static variable in class com.castlabs.android.network.RetryConfiguration
  Retry parameter configuration that does not permit any retries
DEFAULT_PAUSE - Static variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration
  Default value for whether to start the player in a paused state.
DEFAULT_PERCENTILE - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default percentile
DEFAULT_PERCENTILE_WEIGHT - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default percentile weight
DEFAULT_PLAYER_NETWORK_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  The default network configuration used by the player for both manifests and segments
DEFAULT_PLAYER_TRICKPLAY_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  The default trickplay configuration
DEFAULT_PLAYLIST_MAX_LOADED_ITEMS - Static variable in class com.castlabs.android.player.SingleControllerPlaylist
  The default maximum number overall of Playlist items to keep loaded at any time.
DEFAULT_PLAYLIST_WINDOW_AFTER - Static variable in class com.castlabs.android.player.SingleControllerPlaylist
  The default number of Playlist items to load after the current one.
DEFAULT_PLAYLIST_WINDOW_BEFORE - Static variable in class com.castlabs.android.player.SingleControllerPlaylist
  The default number of Playlist items to load before the current one.
DEFAULT_POSITION - Static variable in interface com.castlabs.android.player.InitialPositionProvider
  The default initial position.
DEFAULT_PREF_NAME - Static variable in class com.castlabs.android.drm.SharedPreferencesKeyStore
  Default name used for the shared preferences store
DEFAULT_PRIORITIZE_INSTREAM_OVER_MANIFEST_DURATION - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default value indicating whether the buffered duration is evaluated based on playlist (manifest) tags like duration or based on audio and video data segments durations
DEFAULT_PRIORITIZE_TIME_OVER_SIZE_THRESHOLDS - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default value indicating whether the buffer time constraints are prioritized over buffer size constraints
DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
  The default read timeout, in milliseconds.
DEFAULT_RESUME_CONFIGURATION - Static variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate
  Default `PlayerViewLifecycleDelegate.ResumeConfiguration`
DEFAULT_RTP_QUEUE_SIZE - Static variable in class com.castlabs.android.player.IPTVPlugin
  Default number of Queued RTP Packets
DEFAULT_SAFE_BUFFER_SIZE_US - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default safe buffer size in microseconds
DEFAULT_SCHEDULE_TYPE - Static variable in class com.castlabs.android.adverts.AdSchedule
  The default type of ad schedule.
DEFAULT_THRESHOLD_BYTES - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default bytes threshold
DEFAULT_THRESHOLD_TIME_MS - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default time threshold in milliseconds
DEFAULT_THUMBNAIL_CONNECT_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
  The default thumbnail connection timeout, in milliseconds.
DEFAULT_THUMBNAIL_READ_TIMEOUT_MILLIS - Static variable in class com.castlabs.android.network.NetworkConfiguration
  The default thumbnail read timeout, in milliseconds.
DEFAULT_TIME_SYNC_SAFETY_MS - Static variable in class com.castlabs.android.player.LiveConfiguration
  Default value for time synchronization safety buffer.
DEFAULT_TRICKPLAY_ENABLED - Static variable in class com.castlabs.android.SdkConsts
  The default state for trickplay playback
DEFAULT_USE_CMSD - Static variable in class com.castlabs.android.player.AbrConfiguration
  The default usage of CMSD
DEFAULT_UTC_TIMING_ELEMENT - Static variable in class com.castlabs.android.player.LowLatencyProfile
  Default UTC timing element for low latency streaming.
DEFAULT_VIDEO_FEED_YIELD - Static variable in class com.castlabs.android.player.BufferConfiguration
  The default behaviour for video renderer when feeding decoder.
DEFAULT_VOD_CONFIGURATION - Static variable in class com.castlabs.android.network.RetryConfiguration
  Default retry parameters for VOD playback.
DefaultConnectivityCheck - Class in com.castlabs.android.network
  The default implementation of the connectivity checker.
DefaultConnectivityCheck(Context) - Constructor for class com.castlabs.android.network.DefaultConnectivityCheck
  Create a new instance of the connectivity checker to "google.com" lookup host
DefaultConnectivityCheck(Context, String) - Constructor for class com.castlabs.android.network.DefaultConnectivityCheck
  Create a new instance of the connectivity checker.
DefaultDataSourceFactory - Class in com.castlabs.android.network
  The default implementation of the `DataSourceFactory`.
DefaultDataSourceFactory(Context) - Constructor for class com.castlabs.android.network.DefaultDataSourceFactory
  Creates a new instance of `DefaultDataSourceFactory`.
DefaultDataSourceFactory(Context, TransferListener) - Constructor for class com.castlabs.android.network.DefaultDataSourceFactory
  Creates a new instance of `DefaultDataSourceFactory`.
DefaultDataSourceFactory(Context, TransferListener, HttpListener, PlayerController) - Constructor for class com.castlabs.android.network.DefaultDataSourceFactory
  Creates a new instance of `DefaultDataSourceFactory`.
DefaultHttpDataSourceBuilder - Class in com.castlabs.android.network
  The default http data source builder.
DefaultHttpDataSourceBuilder() - Constructor for class com.castlabs.android.network.DefaultHttpDataSourceBuilder
  Creates a new instance of `DefaultHttpDataSourceBuilder`.
DefaultMediaCodecSelector - Class in com.castlabs.android.player
  The implementation of MediaCodecSelector allowing to find the decoder based on mimetype and secure flag as well as on codecs string.
DefaultMediaCodecSelector() - Constructor for class com.castlabs.android.player.DefaultMediaCodecSelector
  Default constructor.
DefaultPlayerPlugin - Class in com.castlabs.android.player
  *Internal* plugin that registers the default player implementations
DefaultPlayerPlugin() - Constructor for class com.castlabs.android.player.DefaultPlayerPlugin
  Creates a new instance of the DefaultPlayerPlugin.
DefaultTrackTypeProvider - Class in com.castlabs.android.player
  Default implementation of `TrackTypeProvider` with the video tracks separated according to the following video resolutions: SD, HD or UHD.
DefaultTrackTypeProvider() - Constructor for class com.castlabs.android.player.DefaultTrackTypeProvider
  Default pixel values are specified as: HD = 1280x720 FHD = 1920x1080 UHD = 3840x2160
DefaultTrackTypeProvider(Point, Point, Point) - Constructor for class com.castlabs.android.player.DefaultTrackTypeProvider
  Specify pixels for each resolution type: HD, FHD and UHD.
DefaultVideoCodecAdapterFactory - Class in com.castlabs.android.player
  Default implementation of `MediaCodecAdapter.Factory` that uses `DefaultMediaCodecAdapterFactory` to create `MediaCodecAdapter` instances.
DefaultVideoCodecAdapterFactory() - Constructor for class com.castlabs.android.player.DefaultVideoCodecAdapterFactory
  Creates a new instance of `DefaultVideoCodecAdapterFactory`.
degradationPenalty - Variable in class com.castlabs.android.player.AbrConfiguration
  A value between 0 and 1 that is used as a penalty when a buffer degradation or a download time issue us detected.
degradationPenalty(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Set the `AbrConfiguration.degradationPenalty`
degradationRecovery - Variable in class com.castlabs.android.player.AbrConfiguration
  The recovery that is applied on each selection after a `AbrConfiguration.degradationPenalty` was applied.
degradationRecovery(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Set the `AbrConfiguration.degradationRecovery`
delete(PlayerConfig) - Method in interface com.castlabs.android.player.PlaybackStateStorage
  Deletes teh given entry from the storage
delete(String) - Method in class com.castlabs.android.drm.KeyStore
  Remove the stored key with the matching id NOTE: If you want to actually remove a key from the device, you should instead use `DrmLicenseLoader.remove()`.
deleteAll() - Method in class com.castlabs.android.drm.KeyStore
  Remove all stored keys
deleteRecursive(File) - Static method in class com.castlabs.utils.FileHelper
  Recursively delete the given file or directory
describeContents() - Method in class com.castlabs.analytics.AnalyticsMetaData
describeContents() - Method in class com.castlabs.android.adverts.AdRequest
describeContents() - Method in class com.castlabs.android.adverts.AdSchedule
describeContents() - Method in class com.castlabs.android.drm.DrmConfiguration
describeContents() - Method in class com.castlabs.android.drm.DrmTodayConfiguration
describeContents() - Method in class com.castlabs.android.network.NetworkConfiguration
describeContents() - Method in class com.castlabs.android.network.RetryConfiguration
describeContents() - Method in class com.castlabs.android.player.AbrConfiguration
describeContents() - Method in class com.castlabs.android.player.AudioAttributes
describeContents() - Method in class com.castlabs.android.player.BufferConfiguration
describeContents() - Method in class com.castlabs.android.player.CatchupConfiguration
describeContents() - Method in class com.castlabs.android.player.CustomUtcTimingElement
describeContents() - Method in class com.castlabs.android.player.LiveConfiguration
describeContents() - Method in class com.castlabs.android.player.MediaCodecInfo
describeContents() - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
describeContents() - Method in class com.castlabs.android.player.models.mpd.EventMessage
describeContents() - Method in class com.castlabs.android.player.models.SideloadedTrack
describeContents() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
describeContents() - Method in class com.castlabs.android.player.models.VideoTrackQuality
describeContents() - Method in class com.castlabs.android.player.PlayerConfig
describeContents() - Method in class com.castlabs.android.player.TrickplayConfiguration
describeContents() - Method in class com.castlabs.android.player.VideoFilterConfiguration
destroy() - Method in class com.castlabs.android.player.PlayerController
  Call this method when the activity that displays the video player is destroyed.
detachFromController() - Method in class com.castlabs.analytics.AnalyticsSession
detachFromController() - Method in interface com.castlabs.analytics.IAnalyticsSession
  Detach the Analytics session from the PlayerController.
detachFromControllerInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
disableAudioFocus() - Method in class com.castlabs.android.player.PlayerController
  Disables the audio focus for the stream regardless of the `PlayerConfig.audioAttributes`
DISABLED_TRACK - Static variable in class com.castlabs.android.SdkConsts
  Indicate a disabled track
disabledAudioLabel - Variable in class com.castlabs.android.settings.AnalyticsSettings
  Label reported to analytics when audio is not selected.
disabledSubtitleLabel - Variable in class com.castlabs.android.settings.AnalyticsSettings
  Label reported to analytics when subtitles are not selected.
disableFields(int) - Static method in class com.castlabs.android.network.UserAgent
  Disable user-agent fields
disableTrickplay - Variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration
  Whether to disable any Trickplay mode (and thus setting the playback speed to 1) when `PlayerViewLifecycleDelegate.resume()` is called.
disableTrickplay(boolean) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
  Whether to disable any Trickplay mode
dispatchKeyEvent(KeyEvent) - Method in class com.castlabs.android.player.PlayerView
DisplayInfo - Class in com.castlabs.android.player
  Wraps information about currently connected displays.
Disposable - Interface in com.castlabs.utils
  Interface for objects that can be disposed of.
dispose() - Method in interface com.castlabs.utils.Disposable
  Disposes of the object.
Downloadable - Interface in com.castlabs.android.downloader
  Plugins can implement this interface to add new loadable resources to a download.
DownloadableResource - Class in com.castlabs.android.downloader
  Model that is used to add resources to a download session when implementing `Downloadable`.
DownloadableResource() - Constructor for class com.castlabs.android.downloader.DownloadableResource
  Default constructor
DownloadException - Exception Class in com.castlabs.android.player.exceptions
  Exception that is raised when media download errors occur.
downloadFolder - Variable in class com.castlabs.android.player.PlayerConfig
  Download folder in case the content is played offline
downloadFolder(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the download folder
DownloadInfo - Class in com.castlabs.android.downloader
  Utility class that can be used to read download.info files to limit the availability of tracks.
downloadTimeFactor - Variable in class com.castlabs.android.player.AbrConfiguration
  Safety factor that is applied to download time calculations
downloadTimeFactor(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Safety factor that is applied to download time calculations
downsizeBitmap(byte[], int) - Static method in class com.castlabs.android.utils.ImageUtils
  Scale the given bitmap data and return a new, scaled `Bitmap` if target width is specified.
drainConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The drain timeout in milliseconds.
drainConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the drain timeout in milliseconds.
drainWhileCharging - Variable in class com.castlabs.android.player.BufferConfiguration
  Flag indicating whether the buffer should be drained (until `BufferConfiguration.minPlaybackStartMs` is reached) or not.
drainWhileCharging(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  Whether to enter drain state when the device is charging.
drm - Variable in class com.castlabs.android.drm.DrmConfiguration
  The default DRM system.
drm(Drm) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets the DRM system to use
drm(Drm) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Set the default DRM system
Drm - Enum in com.castlabs.android.drm
  The DRM types
DRM_SETTINGS - Static variable in class com.castlabs.android.PlayerSDK
  Global DRM configuration settings.
drmAcquisitionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The acquisition timeout in milliseconds for DRM requests.
drmAcquisitionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the acquisition timeout for DRM requests.
drmConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
  Drm configuration (if any)
drmConfiguration(DrmConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the `DrmConfiguration`
DrmConfiguration - Class in com.castlabs.android.drm
  Basic DRM configuration that can be used to query keys from a widevine proxy.
DrmConfiguration(String, boolean) - Constructor for class com.castlabs.android.drm.DrmConfiguration
  Deprecated.
  Use `DrmConfiguration.Builder`
DrmConfiguration(String, boolean, Drm) - Constructor for class com.castlabs.android.drm.DrmConfiguration
  Deprecated.
  Use `DrmConfiguration.Builder`
DrmConfiguration(String, boolean, Drm, Drm, String) - Constructor for class com.castlabs.android.drm.DrmConfiguration
  Deprecated.
  Use `DrmConfiguration.Builder`
DrmConfiguration(String, boolean, Drm, Drm, String, Bundle) - Constructor for class com.castlabs.android.drm.DrmConfiguration
  Deprecated.
  Use `DrmConfiguration.Builder`
DrmConfiguration(String, boolean, Drm, Drm, String, Bundle, boolean, boolean) - Constructor for class com.castlabs.android.drm.DrmConfiguration
  Deprecated.
  Use `DrmConfiguration.Builder`
DrmConfiguration(String, boolean, Drm, Drm, String, Bundle, boolean, boolean, long) - Constructor for class com.castlabs.android.drm.DrmConfiguration
  Deprecated.
  Use `DrmConfiguration.Builder`
DrmConfiguration(String, boolean, Drm, Drm, String, Bundle, boolean, boolean, long, Bundle, boolean) - Constructor for class com.castlabs.android.drm.DrmConfiguration
  Deprecated.
  The constructor will have access level protected, use `DrmConfiguration.Builder` if not extending
DrmConfiguration(String, boolean, Drm, String) - Constructor for class com.castlabs.android.drm.DrmConfiguration
  Deprecated.
  Use `DrmConfiguration.Builder`
DrmConfiguration(String, boolean, String) - Constructor for class com.castlabs.android.drm.DrmConfiguration
  Deprecated.
  Use `DrmConfiguration.Builder`
DrmConfiguration.Builder - Class in com.castlabs.android.drm
  A builder implementation to create instances of `DrmConfiguration`s
drmConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The connection timeout in milliseconds for DRM requests
drmConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the connection timeout for DRM requests
DrmEventListener - Interface in com.castlabs.android.drm
  A listener interface.
DrmException - Exception Class in com.castlabs.android.drm
  Represents an exception that occurred during a DRM operation.
DrmException(String, int) - Constructor for exception class com.castlabs.android.drm.DrmException
  Create a new instance with the given message and error errorCode
DrmException(String, int, String) - Constructor for exception class com.castlabs.android.drm.DrmException
  Create a new instance with the given message and error errorCode
DrmException(String, int, Throwable) - Constructor for exception class com.castlabs.android.drm.DrmException
  Create a new instance with the given message and error errorCode
DrmInitDataContainer - Class in com.castlabs.android.drm
  Container for DRM initialization data for video and audio tracks.
DrmInitDataContainer(DrmInitData, DrmInitData) - Constructor for class com.castlabs.android.drm.DrmInitDataContainer
  Creates a new DrmInitDataContainer.
DrmInitDataProvider() - Constructor for class com.castlabs.android.player.PlayerPlugin.DrmInitDataProvider
  Default constructor.
DrmInitDataProvider(ManifestModifier<T>) - Constructor for class com.castlabs.android.player.PlayerPlugin.DrmInitDataProvider
  Constructor with a manifest modifier.
DrmKeyStorage - Class in com.castlabs.android.player
  Represents a storage for DRM key information.
DrmKeyStorage(byte[]) - Constructor for class com.castlabs.android.player.DrmKeyStorage
  Constructs a DrmKeyStorage object from an encoded byte array.
DrmKeyStorage(byte[], long, long, long, long, byte) - Constructor for class com.castlabs.android.player.DrmKeyStorage
  Constructs a DrmKeyStorage object with the specified parameters.
DrmLicenseLoader - Class in com.castlabs.android.player
  Use the `DrmLicenseLoader.Builder` to create instances of the license loader.
DrmLicenseLoader.Builder - Class in com.castlabs.android.player
  Use this builder class to generate new instances of the `DrmLicenseLoader`.
DrmLicenseLoader.Callback - Interface in com.castlabs.android.player
  The callback interface for license loader tasks
DrmLicenseManager<T> - Interface in com.castlabs.android.drm
  Extension of the `DrmSessionManager` that also allows to load licenses headless and in one blocking function.
DrmLicenseManagerComponent - Interface in com.castlabs.android.drm
  Extensions that add extra functionality to a `DrmLicenseManager`.
drmNameClearkey - Variable in class com.castlabs.android.settings.AnalyticsSettings
  Label reported for ClearKey DRM.
drmNamePlayready - Variable in class com.castlabs.android.settings.AnalyticsSettings
  Label reported for PlayReady DRM.
drmNameWidevine - Variable in class com.castlabs.android.settings.AnalyticsSettings
  Label reported for Widevine DRM.
drmReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The read timeout in milliseconds for DRM requests
drmReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the read timeout for DRM requests
drmRetryConfiguration - Variable in class com.castlabs.android.network.NetworkConfiguration
  The `RetryConfiguration` for DRM requests that will be to determine how often to retry after loading errors
drmRetryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the retry configuration used for DRM license requests
drmSchemesToVerify - Variable in class com.castlabs.android.settings.DrmSettings
  Set of DRM schemes that should be verified by creating a MediaDrm instance, rather than trusting `isCryptoSchemeSupported()`.
DrmSettings - Class in com.castlabs.android.settings
  Global DRM configuration settings.
DrmSettings() - Constructor for class com.castlabs.android.settings.DrmSettings
  Default constructor.
DRMTODAY_ONBOARD_PATHS - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
  This map is used for DRMtoday Onboard to configure the paths for the different DRM systems.
DRMTODAY_PRODUCTION - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
  Base URI for the DRMToday production environment
DRMTODAY_STAGING - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
  Base URI for the DRMToday staging environment
DRMTODAY_TEST - Static variable in class com.castlabs.android.drm.DrmTodayConfiguration
  Base URI for the DRMToday test environment
DrmTodayConfiguration - Class in com.castlabs.android.drm
  This class contains the configuration parameters necessary to use DRMtoday with the player.
DrmTodayConfiguration.Builder - Class in com.castlabs.android.drm
  A builder implementation to create instances of `DrmTodayConfiguration`s
DrmTodayConfiguration.Environment - Annotation Type in com.castlabs.android.drm
  Specifies the environment for the DRM Today service.
DrmTodayException - Exception Class in com.castlabs.android.drm
  Use this Exception class to report any errors from DrmToday services.
DrmTodayException(String, int) - Constructor for exception class com.castlabs.android.drm.DrmTodayException
  Create a new instance with the given message and error errorCode
DrmTodayException(String, int, String) - Constructor for exception class com.castlabs.android.drm.DrmTodayException
  Create a new instance with the given message and error errorCode
DrmTodayException(String, int, String, String, Throwable) - Constructor for exception class com.castlabs.android.drm.DrmTodayException
  Create a new instance
DrmTodayException(String, int, Throwable) - Constructor for exception class com.castlabs.android.drm.DrmTodayException
  Create a new instance with the given message and error errorCode
DrmTodayException.ErrorCode - Annotation Type in com.castlabs.android.drm
  Annotation interface for error codes used in DrmTodayException.
drmTodayMobile(boolean) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Use this method to enable support for the DRMtoday-Mobile server.
drmTodayMobileRoapUrl - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  The DRMToday Mobile roap url
drmTodayMobileUrl(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  If you are using DRM-today Mobile, use this method to specify the base URL for the DRM-today Mobile server.
DrmTodayResponseCode - Class in com.castlabs.android.drm
  DRMToday response code holder and parser.
DrmTodayResponseCode.ErrorCode - Annotation Type in com.castlabs.android.drm
  Annotation that defines the valid error codes for DRMToday responses.
DrmTodayUriFactory - Class in com.castlabs.android.drm
  Factory class for creating DRMToday URIs and managing DRMToday request properties.
DrmTodayUriFactory() - Constructor for class com.castlabs.android.drm.DrmTodayUriFactory
  Creates a new instance of DrmTodayUriFactory.
DrmUtils - Class in com.castlabs.android.drm
  Utility class providing DRM-related functionality for the Android SDK.
DrmUtils.HttpExecutorException - Exception Class in com.castlabs.android.drm
  Exception thrown when HTTP execution fails.
DROPPED_VIDEO_FRAME_COUNT_TO_NOTIFY - Static variable in class com.castlabs.android.PlayerSDK
  The maximum number of frames that can be dropped between invocations of `VideoRendererListener.onDroppedFrames(int, long)` Set to `-1` to disable.
DROPPED_VIDEO_FRAME_DISABLE_DURATION_MS - Static variable in class com.castlabs.android.PlayerSDK
  Set to `Long.MAX_VALUE` to permanently disable the video quality
DROPPED_VIDEO_FRAME_THRESHOLD_COUNT - Static variable in class com.castlabs.android.PlayerSDK
  The number of dropped frames within `PlayerSDK.DROPPED_VIDEO_FRAME_THRESHOLD_DURATION_MS` to trigger video quality blacklisting.
DROPPED_VIDEO_FRAME_THRESHOLD_DURATION_MS - Static variable in class com.castlabs.android.PlayerSDK
  The duration to keep frame dropped events
DTS_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
  Identifies the dts audio renderers
DtsAudio - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
  DTS audio content type.
DUMMY_SURFACE_AUTO - Static variable in class com.castlabs.android.SdkConsts
  Auto detect if the dummy surface can be used on the current device
DUMMY_SURFACE_DISABLED - Static variable in class com.castlabs.android.SdkConsts
  Disable usage of the dummy surface
DUMMY_SURFACE_ENABLED - Static variable in class com.castlabs.android.SdkConsts
  Enable usage of the dummy surface
DUMMY_SURFACE_MODE - Static variable in class com.castlabs.android.PlayerSDK
  By default the player queries the device API version and internal API for support of the GL based dummy surface for faster and smoother transitions when the playback surface is attached/detached from the video codec.
duration - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial.Asset
  Duration of the media asset in milliseconds.
duration - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
  The duration of the interstitial in milliseconds, or `-1` if unknown.
durationMs - Variable in class com.castlabs.android.adverts.Ad
  Ad duration in milliseconds or `C.TIME_UNSET`
durationMs - Variable in exception class com.castlabs.android.player.exceptions.BlocklistException
  The duration of the blocklisted track in milliseconds.
durationMs(long) - Method in class com.castlabs.android.player.models.mpd.EventMessage.Builder
  Sets the duration of the event in milliseconds.
durationSec - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The duration of the date range in seconds.
durationSeconds - Variable in class com.castlabs.analytics.AnalyticsMetaData
  The duration of the current asset in seconds
durationStrToMinString(String) - Static method in class com.castlabs.utils.StringUtils
  Convert a string formatted as "PnYnMnDTnHnMnS" (as defined by XML Schema Part 2: Datatypes, 3.2.6 duration) into a string formatted as "M" (ie.
durationStrToTimeString(String) - Static method in class com.castlabs.utils.StringUtils
  Convert a string formatted as "PnYnMnDTnHnMnS" (as defined by XML Schema Part 2: Datatypes, 3.2.6 duration) into a string formatted as"H+:MM:SS"
durationUs(long) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Sets the duration of the Period in microseconds.
durationUs(long) - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
  Sets the duration of the Window in microseconds.
dynamic(boolean) - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
  Sets whether this is a dynamic (live) Window or not.

## E

EMPTY - Static variable in class com.castlabs.android.player.models.Timeline
  An empty Timeline.
ENABLE_AD_SPEED_UP - Static variable in class com.castlabs.android.PlayerSDK
  Default global value to enable or disable automatic setting of a speed to 1x when playing ads.
ENABLE_AUDIO_CODEC_SYNC_INTERACTIONS_WITH_QUEUEING - Static variable in class com.castlabs.android.PlayerSDK
  Enable audio codec sync interactions with queueing.
ENABLE_AUDIO_DECODER_FALLBACK - Static variable in class com.castlabs.android.PlayerSDK
  If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
ENABLE_CDM_KEY_STATUS - Static variable in class com.castlabs.android.PlayerSDK
  Key status change listener can be installed to CDM's starting API 23 and is used to get statuses of known key ids.
ENABLE_CONNECTIVITY_CHECKS - Static variable in class com.castlabs.android.PlayerSDK
  By default, the player will not automatically recover from loss of connectivity.
ENABLE_DASH_EVENT_CALLBACK - Static variable in class com.castlabs.android.PlayerSDK
  The default value to enable/disable internal handling of DASH event callbacks
ENABLE_DRM_FALLBACK - Static variable in class com.castlabs.android.PlayerSDK
  When multiple `Drm` systems are present on a device and one of them fails locally then the playback is automatically restarted and configured with another DRM type being available.
ENABLE_DRM_PLACEHOLDER_SESSION - Static variable in class com.castlabs.android.PlayerSDK
  The player selects unsecure codec when starting playing clear part of the content e.g.
ENABLE_ERROR_RESPONSE_BODY - Static variable in class com.castlabs.android.PlayerSDK
  If set to true, the body of the HTTP response will be returned in `CastlabsPlayerException.getErrorData()` when available.
ENABLE_INVALIDATE_SELECTION_ON_RENDERER_CAPS_CHANGED - Static variable in class com.castlabs.android.PlayerSDK
  Whether to allow to invalidate selections on renderer capabilities change.
ENABLE_MAX_REF_FRAME_WORKAROUND - Static variable in class com.castlabs.android.PlayerSDK
  Enable a codec workaround that disables codec-reconfiguration on some devices.
ENABLE_TEXT_WITH_NO_PREFERRED_LANGUAGE - Static variable in class com.castlabs.android.PlayerSDK
  If set to `true` and text language specified by `SdkConsts.INTENT_PREFERRED_TEXT_LANGUAGE` does not match any of the available text tracks then the first available text track will still be enabled.
ENABLE_TRICK_MODE_TRACK_SWITCH - Static variable in class com.castlabs.android.PlayerSDK
  Deprecated.
  Use `TrickplayConfiguration.preferTrickPlayTracks` instead
ENABLE_TRIGGER_MANIFEST_FALLBACK_MIME_APPLICATION - Static variable in class com.castlabs.android.PlayerSDK
  Whether to trigger the alternative Manifest callback when an error occurs while downloading segments with MimeType `MimeTypes.BASE_TYPE_APPLICATION`.
ENABLE_UNSECURE_DECODER_FALLBACK - Static variable in class com.castlabs.android.PlayerSDK
  If true (default), allows the player to fallback to unsecure decoders if it failed to initialize the primary decoder.
ENABLE_VIDEO_CODEC_SYNC_INTERACTIONS_WITH_QUEUEING - Static variable in class com.castlabs.android.PlayerSDK
  Enable video codec sync interactions with queueing.
ENABLE_VIDEO_DECODER_FALLBACK - Static variable in class com.castlabs.android.PlayerSDK
  If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
ENABLE_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME - Static variable in class com.castlabs.android.PlayerSDK
  Global parameter to enable or disable the workaround whether all video frames are marked as sync frames but should not be treated as sync frames except the very first in a segment (DASH-only)
enableAdSpeedUp - Variable in class com.castlabs.android.player.PlayerConfig
  The flag to enable or disable automatic setting of a speed to 1x when playing ads.
enableAdSpeedUp(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the flag to enable or disable automatic setting of a speed to 1x when playing ads.
ENABLED - Static variable in class com.castlabs.android.player.AbrConfiguration
  The common algorithms may be disabled.
ENABLED - Static variable in class com.castlabs.android.player.CLLibraryLoader
  The library loader can be disabled.
enableDashEventCallback - Variable in class com.castlabs.android.player.PlayerConfig
  Enable internal handling of DASH event callbacks
enableDashEventCallback(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Whether to enable internal handling of DASH event callbacks
enableFields(int) - Static method in class com.castlabs.android.network.UserAgent
  Enable user-agent fields
enableHlsInterstitials - Variable in class com.castlabs.android.settings.ExperimentalFlags
  Enables experimental HLS Interstitials support.
enableLooping - Variable in class com.castlabs.android.player.PlayerConfig
  If set to true then the playback looping will be enabled and the player will automatically restart the playback after reaching end of content
enableLooping(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If set to true then the playback looping will be enabled and the player will automatically restart the playback after reaching end of content
enableLooping(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Whether to enable Playlist looping or not.
enableTrickplayMode - Variable in class com.castlabs.android.player.PlayerConfig
  Enable Trickplay mode at the start of the playback.
enableTrickplayMode(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Whether to enable Trickplay playback on start or not
enableTrickplayMode(boolean) - Method in class com.castlabs.android.player.PlayerController
  Enables or disables trickplay playback.
enableTunneling - Variable in class com.castlabs.android.player.PlayerConfig
  Enable tunneling support
enableTunneling(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets whether to enable tunneling
enableTunnelingWithoutAudio - Variable in class com.castlabs.android.player.PlayerConfig
  Force using of tunneling when audio track is disabled.
enableTunnelingWithoutAudio(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets whether to force tunneling with only video track present.
enableViewportFilter - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Enable to filter out renditions having unnecessarily high resolution for the current display viewport.
enableViewportFilter(boolean) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `enableViewportFilter` and returns a reference to this Builder so that the methods can be chained together.
enableWorkaroundEveryVideoFrameIsSyncFrame - Variable in class com.castlabs.android.player.PlayerConfig
  If True, the workaround will be enabled to not treat the video frames as sync frames except the very first one.
enableWorkaroundEveryVideoFrameIsSyncFrame(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets whether to enable or disable the workaround whether all video frames are marked as sync frames but should not be treated as sync frames except the very first in a segment (DASH-only).
encode() - Method in class com.castlabs.android.player.DrmKeyStorage
  Encodes the DrmKeyStorage object into a byte array.
encodeApid(String) - Static method in class com.castlabs.utils.FileHelper
  Encodes teh given apid
encodeFileName(String) - Static method in class com.castlabs.utils.FileHelper
  Remove illegal characters from file names
endTimeUs - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The end time of the date range in microseconds since the epoch.
equals(Bundle, Bundle) - Static method in class com.castlabs.utils.BundleUtils
  Compares two bundles and their content recursively
equals(Object) - Method in class com.castlabs.android.adverts.Ad
equals(Object) - Method in class com.castlabs.android.adverts.AdPodData
equals(Object) - Method in class com.castlabs.android.adverts.AdRequest
equals(Object) - Method in class com.castlabs.android.adverts.AdSchedule
equals(Object) - Method in class com.castlabs.android.drm.DrmConfiguration
equals(Object) - Method in class com.castlabs.android.network.NetworkConfiguration
equals(Object) - Method in class com.castlabs.android.network.RetryConfiguration
equals(Object) - Method in class com.castlabs.android.player.AbrConfiguration
equals(Object) - Method in class com.castlabs.android.player.AudioAttributes
equals(Object) - Method in class com.castlabs.android.player.BufferConfiguration
equals(Object) - Method in class com.castlabs.android.player.CatchupConfiguration
equals(Object) - Method in class com.castlabs.android.player.CustomUtcTimingElement
equals(Object) - Method in class com.castlabs.android.player.DisplayInfo
equals(Object) - Method in class com.castlabs.android.player.LiveConfiguration
equals(Object) - Method in class com.castlabs.android.player.MediaCodecInfo
equals(Object) - Method in class com.castlabs.android.player.models.AudioTrack
equals(Object) - Method in class com.castlabs.android.player.models.mpd.EventMessage
equals(Object) - Method in class com.castlabs.android.player.models.PlayerModel
equals(Object) - Method in class com.castlabs.android.player.models.SideloadedTrack
equals(Object) - Method in class com.castlabs.android.player.models.SubtitleTrack
equals(Object) - Method in class com.castlabs.android.player.models.Track
equals(Object) - Method in class com.castlabs.android.player.models.VideoTrack
equals(Object) - Method in class com.castlabs.android.player.models.VideoTrackQuality
equals(Object) - Method in class com.castlabs.android.player.PlayerConfig
equals(Object) - Method in class com.castlabs.android.player.TrickplayConfiguration
equals(Object) - Method in class com.castlabs.android.player.VideoFilterConfiguration
ERROR_DEVICE_TIME - Static variable in exception class com.castlabs.android.drm.DrmTodayException
  A device time error occurred
ERROR_INVALID_REQUEST - Static variable in exception class com.castlabs.android.drm.DrmTodayException
  Error indicating an invalid request that was rejected by the server
ERROR_IO_ERROR - Static variable in exception class com.castlabs.android.drm.DrmTodayException
  Error indicating that an IO error occurred during the license request.
ERROR_KEY_NOT_FOUND - Static variable in exception class com.castlabs.android.drm.DrmTodayException
  Error indicating that the requested content was not found
ERROR_NOT_AUTHORIZED - Static variable in exception class com.castlabs.android.drm.DrmTodayException
  Error indicating an unauthorized request
ERROR_PROVISIONING_FAILED - Static variable in exception class com.castlabs.android.drm.DrmTodayException
  Error indicating that the provisioning request failed.
ERROR_TOO_MANY_CONCURRENT_SESSIONS - Static variable in exception class com.castlabs.android.drm.DrmTodayException
  Error raised when DRMtoday refuses license renewal due to too many open sessions
ERROR_UNKNOWN - Static variable in exception class com.castlabs.android.drm.DrmTodayException
  Error indicating a general error
ERROR_WIDEVINE_DEV_CERTIFICATE_REVOKED - Static variable in exception class com.castlabs.android.drm.DrmTodayException
  A device's Widevine certificate was revoked
ESSENTIAL_PROPERTY - Static variable in class com.castlabs.android.player.DashDescriptor
  Essential property descriptor.
EventMessage - Class in com.castlabs.android.player.models.mpd
  An Event Message (emsg) as defined in ISO 23009-1.
EventMessage(String, String, long, long, byte[]) - Constructor for class com.castlabs.android.player.models.mpd.EventMessage
  Creates a new EventMessage.
EventMessage.Builder - Class in com.castlabs.android.player.models.mpd
  Builder for creating EventMessage instances.
EventMessagesListener - Interface in com.castlabs.android.player
  Listener for event messages changes.
EventMetadataListener - Class in com.castlabs.android.player
  A listener for handling event metadata in the player.
EventMetadataListener(PlayerController) - Constructor for class com.castlabs.android.player.EventMetadataListener
  Creates a new EventMetadataListener.
EventStream - Class in com.castlabs.android.player.models.mpd
  A DASH in-MPD EventStream element, as defined by ISO/IEC 23009-1, 2nd edition, section 5.10.
EventStream(String, String, long, List<Long>, List<EventMessage>) - Constructor for class com.castlabs.android.player.models.mpd.EventStream
  Creates a new EventStream.
EventStream.Builder - Class in com.castlabs.android.player.models.mpd
  Builder for creating EventStream instances.
EventStreamListener - Interface in com.castlabs.android.player
  This listener is responsible to deliver cue-start and cue-end events corresponding to the event-streams.
EventStreamListListener - Interface in com.castlabs.android.player
  This listener provides all the events corresponding to the event-streams as a list.
executeModifierPost(String, byte[], Map<String, String>, HashMap<String, List<String>>, int, int, int, SSLSocketFactory, List<ResponseModifier>, int, Object) - Static method in class com.castlabs.android.drm.DrmUtils
  Executes a POST request with response modifiers.
executePost(Uri, byte[], Map<String, String>) - Static method in class com.castlabs.android.drm.DrmUtils
  Executes a POST request to the specified URI.
executePost(String, byte[], Map<String, String>) - Static method in class com.castlabs.android.drm.DrmUtils
  Executes a POST request with the given data and returns the response.
executePost(String, byte[], Map<String, String>, Map<String, List<String>>, int, int, int, SSLSocketFactory) - Static method in class com.castlabs.android.drm.DrmUtils
  Executes a POST request.
EXO_SUBTITLE_VIEW_ID - Static variable in class com.castlabs.android.player.DefaultPlayerPlugin
  The ID of the ExoPlayer subtitle view.
ExoSubtitleComponent() - Constructor for class com.castlabs.android.player.ExoSubtitlesRendererPlugin.ExoSubtitleComponent
  Creates a new ExoSubtitleComponent.
ExoSubtitlesPreviewBuilder - Class in com.castlabs.android.subtitles
  Builds `SubtitlesPreview` instances for the Exoplayer subtitles plugin.
ExoSubtitlesPreviewBuilder() - Constructor for class com.castlabs.android.subtitles.ExoSubtitlesPreviewBuilder
  Creates a new ExoSubtitlesPreviewBuilder.
ExoSubtitlesRendererPlugin - Class in com.castlabs.android.player
  Plugin which exposes a TrackRenderer for the default Exoplayer subtitles.
ExoSubtitlesRendererPlugin() - Constructor for class com.castlabs.android.player.ExoSubtitlesRendererPlugin
  Creates a new ExoSubtitlesRendererPlugin.
ExoSubtitlesRendererPlugin.ExoSubtitleComponent - Class in com.castlabs.android.player
  A component for handling ExoPlayer subtitle rendering.
ExoSubtitlesStyleObserver - Class in com.castlabs.android.subtitles
  Implementation of the `SubtitlesStyleObserver` that is used to pass the current subtitle style to the underlying ExoPlayer track renderer view.
ExoSubtitlesStyleObserver(SubtitleView) - Constructor for class com.castlabs.android.subtitles.ExoSubtitlesStyleObserver
  Creates a new ExoSubtitlesStyleObserver.
EXPERIMENTAL - Variable in class com.castlabs.android.player.PlayerController
  Contains experimental features that are not yet stable.
EXPERIMENTAL - Static variable in class com.castlabs.android.PlayerSDK
  Set of features which are catalogued as Experimental.
ExperimentalFlags - Class in com.castlabs.android.settings
  Holds flags for experimental features.
ExperimentalFlags() - Constructor for class com.castlabs.android.settings.ExperimentalFlags
  Empty constructor
ExtendedDataSource - Class in com.castlabs.android.network
  A `DataSource` that supports multiple URI schemes.
ExtendedDataSource(Context, TransferListener, HttpDataSource) - Constructor for class com.castlabs.android.network.ExtendedDataSource
  Constructs a new instance, using a provided `HttpDataSource` for fetching remote data.
ExtendedDataSource(Context, TransferListener, HttpDataSource, PlayerController) - Constructor for class com.castlabs.android.network.ExtendedDataSource
  Constructs a new instance, using a provided `HttpDataSource` for fetching remote data.
ExtendedDataSource(Context, TransferListener, String) - Constructor for class com.castlabs.android.network.ExtendedDataSource
  Constructs a new instance.
ExtendedDataSource(Context, TransferListener, String, boolean, SSLSocketFactory) - Constructor for class com.castlabs.android.network.ExtendedDataSource
  Constructs a new instance, optionally configured to follow cross-protocol redirects.
ExtendedDataSource(Context, String) - Constructor for class com.castlabs.android.network.ExtendedDataSource
  Constructs a new instance.
ExtendedMediaCodecVideoTrackRenderer - Class in com.castlabs.android.player
  Extension of `MediaCodecVideoRenderer` to add customizations and extensions.
ExtendedMediaCodecVideoTrackRenderer(Context, MediaCodecAdapter.Factory, MediaCodecSelector, long, DrmSessionManager, boolean, Handler, VideoRendererEventListener, int, boolean, boolean, boolean) - Constructor for class com.castlabs.android.player.ExtendedMediaCodecVideoTrackRenderer
  Constructs a new instance.
ExtendedTrackSelector - Class in com.castlabs.android.player
  Extended Track Selector that provides advanced track selection capabilities.
ExtendedTrackSelector(Point) - Constructor for class com.castlabs.android.player.ExtendedTrackSelector
  Constructs an ExtendedTrackSelector with default video track selection factory.
ExtendedTrackSelector(Point, VideoTrackSelection.Factory, ExtendedTrackSelector.PlayerInfoProvider, ExtendedTrackSelector.EventListener, PlayerConfig) - Constructor for class com.castlabs.android.player.ExtendedTrackSelector
  Constructs an ExtendedTrackSelector.
ExtendedTrackSelector.EventListener - Interface in com.castlabs.android.player
  Interface which receives Track Selection-related callbacks.
ExtendedTrackSelector.ModelSelection - Class in com.castlabs.android.player
  Represents the selection of tracks and other related information for a media item.
ExtendedTrackSelector.PlayerInfoProvider - Interface in com.castlabs.android.player
  Provides information about the player.
ExtensibleSdkElement - Class in com.castlabs.android.thumbs
  Base class for SDK elements that can be extended with additional functionality.
ExtensibleSdkElement(List<RequestModifier>) - Constructor for class com.castlabs.android.thumbs.ExtensibleSdkElement
  Creates a new ExtensibleSdkElement with the given request modifiers.
ExtensibleSdkElement.Extension - Interface in com.castlabs.android.thumbs
  Interface for extensions that can be added to an `ExtensibleSdkElement`.
ExternalSourceSelector - Interface in com.castlabs.android.player
  The interface defines the source (CDN) fallback selection.
ExternalSourceSelector.SourceData - Class in com.castlabs.android.player
  Source (CDN) data container
ExternalSourceSelector.SwitchType - Enum in com.castlabs.android.player
  The type of the source (CDN) fallback
extra - Variable in class com.castlabs.analytics.AnalyticsMetaData
  Additional and plugin specific meta-data.
extractDashThumbnails(DashManifest, Timeline, PlayerModel) - Static method in class com.castlabs.android.player.ExtendedTrackSelector
  Extracts the embedded thumbnail tracks in the DASH manifest, and updates the provided player model with them.
extractPsshData(UUID, byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
  Extract the atom data in a given PSSH box.

## F

fallbackTimeThresholdMs - Variable in class com.castlabs.android.player.CatchupConfiguration
  Threshold relative to the `CatchupConfiguration.timeReference` which indicates a fallback safeguard for the `speed` mode.
FAST_BITRATE_SWITCHING - Static variable in class com.castlabs.android.PlayerSDK
  By default, the player queries the currently selected video codec if it supports fast adaptive bitrate switching (`SdkConsts.FAST_BITRATE_SWITCHING_AUTO`).
FAST_BITRATE_SWITCHING_AUTO - Static variable in class com.castlabs.android.SdkConsts
  Query the codec for its capabilities to be reconfigured dynamically when the video resolution changes.
FAST_BITRATE_SWITCHING_DISABLED - Static variable in class com.castlabs.android.SdkConsts
  Enforce dynamic reconfigurations of the codec when the video resolution changes
FAST_BITRATE_SWITCHING_ENABLED - Static variable in class com.castlabs.android.SdkConsts
  Enforce dynamic reconfigurations of the codec when the video resolution changes
FATAL_ERROR_ON_SECONDARY_DISPLAY_NOT_ALLOWED - Static variable in class com.castlabs.android.PlayerSDK
  The default value is true.
fetchLicence(Looper, Format, DrmConfiguration, boolean) - Method in interface com.castlabs.android.drm.DrmLicenseManager
  Used for pre-fetching a DRM License.
fetchLicense(Bundle, KeyStore) - Static method in class com.castlabs.android.player.DrmLicenseLoader
  Fetches the license and store it in the key store
fetchLicense(PlayerConfig, KeyStore) - Static method in class com.castlabs.android.player.DrmLicenseLoader
  Fetches the license and store it in the key store
FileHelper - Class in com.castlabs.utils
  The file helper contains utility functions to work with files and folders, including recursive listings, recursive deletes and file and folder copy.
FILTER_REASON_BITRATE - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: bitrate is out of specified bounds.
FILTER_REASON_BLACKLISTED - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: the track is marked as blacklisted e.g.
FILTER_REASON_CUSTOM - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: custom logic was applied through a `TrackFilter`.
FILTER_REASON_EXCEED_MAX_PIXELS - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: the track resolution exceed the max pixels set e.g.
FILTER_REASON_FRAMERATE - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: framerate is out of specified bounds.
FILTER_REASON_HD_NOT_PERMITTED - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: HD playback is currently disabled.
FILTER_REASON_HEIGHT - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: height is out of specified bounds.
FILTER_REASON_NO_CODEC - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: there is no codec support for the track
FILTER_REASON_PIXELS - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: pixels i.e.
FILTER_REASON_WIDTH - Static variable in class com.castlabs.android.SdkConsts
  Represents the reason for filtering out the track during `PlayerModel` creation: width is out of specified bounds.
FilterException - Exception Class in com.castlabs.android.player.exceptions
  Exception that is raised when all track types of a particular type (e.g.
FilterFormat - Class in com.castlabs.android.player.filter
  Wrapper class around a Format, as well as any information that may be required to filter it.
FilterFormat(Format, int, Format[], boolean) - Constructor for class com.castlabs.android.player.filter.FilterFormat
  Represents a filter format for media content.
filterReasonToString(int) - Static method in class com.castlabs.android.SdkConsts
  Utility method that translates a filter reason to a string representation.
filterTrack(FilterFormat) - Method in interface com.castlabs.android.player.filter.TrackFilter
  Filters a track based on the provided `FilterFormat`.
filterTrack(FilterFormat) - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
Finished - Enum constant in enum com.castlabs.android.player.PlayerController.State
  Playback finished successfully and the end of the data stream was reached.
fireError(CastlabsPlayerException) - Method in class com.castlabs.android.player.PlayerListeners
  Iterates the registered listeners and delegates to `PlayerListener.onError(CastlabsPlayerException)`.
fireFatalErrorOccurred(CastlabsPlayerException) - Method in class com.castlabs.android.player.PlayerListeners
  Iterates the registered listeners and delegates to `PlayerListener.onFatalErrorOccurred(CastlabsPlayerException)`.
fireLicenseKeysChanged() - Method in class com.castlabs.android.player.PlayerListeners
  INTERNAL: Fire an license keys changed event to all registered listeners.
fireLicenseKeysLoaded() - Method in class com.castlabs.android.player.PlayerListeners
  INTERNAL: Fire an license keys loaded event to all registered listeners.
FLAG_ENABLE_API_LEVEL - Static variable in class com.castlabs.android.network.UserAgent
  Flag to include the Android API level in the user-agent.
FLAG_ENABLE_DEVICE_ID - Static variable in class com.castlabs.android.network.UserAgent
  Flag to include the device ID in the user-agent.
FLAG_ENABLE_EXO_VERSION - Static variable in class com.castlabs.android.network.UserAgent
  Flag to include the Exoplayer version in the user-agent.
FLAG_ENABLE_MODEL - Static variable in class com.castlabs.android.network.UserAgent
  Flag to include the device model in the user-agent.
flags - Variable in class com.castlabs.android.player.DrmKeyStorage
  Additional flags associated with the DRM key.
force - Variable in class com.castlabs.android.player.CustomUtcTimingElement
  Whether to force the usage or not.
FORCE_DRM_LICENSE_PREFETCH - Static variable in class com.castlabs.android.PlayerSDK
  By default the player pre-fetches the license as soon as tracks are selected and segments are ready to be downloaded.
FORCE_HDCP_EXCEPTION - Static variable in class com.castlabs.android.PlayerSDK
  If set to true, the behavior of the sdk on HDMI disconnect/hdcp disconnects would be to throw a fatal exception to indicate a crypto error as well as an info exception to indicate HDMI disconnection.
FORCE_IN_STREAM_DRM_INIT_DATA - Static variable in class com.castlabs.android.PlayerSDK
  Global parameter whether to prefer DRM init data in segments over the manifest's data (DASH-only).
FORCE_REOPEN_ON_HDCP_STATE_CHANGE - Static variable in class com.castlabs.android.PlayerSDK
  Sets the behaviour when `PlayerSDK.FORCE_HDCP_EXCEPTION` is `false`, otherwise the option is ignored.
FORCE_SINGLE_DRM_SESSION - Static variable in class com.castlabs.android.PlayerSDK
  By default the player creates two DRM sessions, one for Audio, and one for Video.
FORCE_TEXT_FATAL_EXCEPTION - Static variable in class com.castlabs.android.PlayerSDK
  Indicates whether to consider as fatal errors the ones encountered while downloading text segments
FORCE_UNSECURED_DECODER - Static variable in class com.castlabs.android.PlayerSDK
  Disable the usage of the secure decoder pipeline.
FORCE_VIDEO_CODEC_MAX_INPUT_SIZE_UNKNOWN - Static variable in class com.castlabs.android.PlayerSDK
  By default the player will deduce the maximum input size that is used to configure the video codec via `MediaFormat` and the `MediaFormat.KEY_MAX_INPUT_SIZE` key.
FORCE_WIDEVINE_L3 - Static variable in class com.castlabs.android.PlayerSDK
  Deprecated.
  use `DrmConfiguration.forceWidevineL3` instead, or `DrmTodayConfiguration.Builder.forceWidevineL3(boolean)` if using DrmTodayConfiguration.
forceDataSourceWrap(boolean) - Method in class com.castlabs.android.network.ModifierDataSourceFactory
  Force the data source to be wrapped even if no request modifiers are present.
forceInStreamDrmInitData - Variable in class com.castlabs.android.player.PlayerConfig
  If true then DRM init data from segments will be used instead of the one from manifest (currently is only applicable for DASH streams)
forceInStreamDrmInitData(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets whether to use DRM init data coming from segments or from the manifest (DASH-only).
forceUnreferencedTrickPlayTracks - Variable in class com.castlabs.android.player.TrickplayConfiguration
  If enabled, and the content contains a Trickplay (usually I-frame only) tracks, the first one will be selected even no trick play track can be related to the currently selected main video.
forceUnreferencedTrickPlayTracks(boolean) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.forceUnreferencedTrickPlayTracks` and returns a reference to this Builder so that the methods can be chained together.
forceWidevineL3 - Variable in class com.castlabs.android.drm.DrmConfiguration
  If set to true, Widevine L3 will be enforced.
forceWidevineL3(boolean) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets whether to force Widevine L3
forceWidevineL3(boolean) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  If set to true, Widevine L3 will be enforced.
format - Variable in exception class com.castlabs.android.player.exceptions.BlocklistException
  The format of the blocklisted track.
format(Locale, String, Object...) - Static method in class com.castlabs.utils.StringUtils
  Tries safely to format the string using the provided locale and format.
FormatChangeListener - Interface in com.castlabs.android.player
  This interface will receive events whenever the downstream `Format`s change.
forwardPlayers(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Sets the number of "forward players".
fromBundle(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the `Builder` fields according to the stored keys in the given `Bundle`.
fromConfig(PlayerConfig) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the `Builder` fields according to the values from the given `PlayerConfig`
fromString(String) - Static method in class com.castlabs.utils.LanguageUtils
  Translates simple language tags like "en" or "en-EN" into `Locale`s.
fuzzFactor - Variable in class com.castlabs.android.network.RetryConfiguration
  The fuzzy factor applied to each retry delay
fuzzFactor(float) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
  Sets the fuzzy factor.

## G

generatePlayreadyHeader(byte[], String) - Static method in class com.castlabs.android.drm.DrmUtils
  Takes the raw bytes from a Widevine CENC header and generates a Playready Header Object
generateWidvineCencHeader(byte[], String, byte[], String) - Static method in class com.castlabs.android.drm.DrmUtils
  Generates a Widevine CENC header
generateWidvineCencHeader(UUID, byte[], String, String) - Static method in class com.castlabs.android.drm.DrmUtils
  Generates a Widevine Header from a CENC UUID and a merchant.
generateWiseplayHeader(byte[], String) - Static method in class com.castlabs.android.drm.DrmUtils
  Takes the raw bytes from a Widevine CENC header and generates a Wiseplay init data
get() - Method in class com.castlabs.android.adverts.AdSchedule.Builder
  Builds and returns an instance of `AdSchedule`.
get() - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Builds and returns a new DrmConfiguration instance
get() - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Create the configuration.
get() - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Get the network configuration
get() - Method in class com.castlabs.android.network.RetryConfiguration.Builder
  Create the configuration instance
get() - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Get the ABR configuration created by this builder
get() - Method in class com.castlabs.android.player.AudioAttributes.Builder
  Creates an `AudioAttributes` instance from this builder.
get() - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  Builds a `BufferConfiguration` instance with the configured values.
get() - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
  Builds the instance
get() - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Creates the license loader.
get() - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Builds the instance
get() - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
  Builds the instance
get() - Method in class com.castlabs.android.player.models.mpd.EventMessage.Builder
  Builds a new EventMessage instance.
get() - Method in class com.castlabs.android.player.models.mpd.EventStream.Builder
  Builds a new EventStream instance.
get() - Method in class com.castlabs.android.player.models.SideloadedTrack.Builder
  Builds the SideloadedTrack.
get() - Method in class com.castlabs.android.player.models.Timeline.Builder
  Builds the `Timeline`.
get() - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Builds the `Timeline.Period`.
get() - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
  Builds the `Timeline.Window`.
get() - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Builds the PlayerConfig object
get() - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
  Builds and returns the `PlayerViewLifecycleDelegate.ResumeConfiguration`
get() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Constructs the `MultiControllerPlaylist`.
get() - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Returns a `TrickplayConfiguration` built from the parameters previously set.
get() - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Returns a `VideoFilterConfiguration` built from the parameters previously set.
get(Uri) - Method in class com.castlabs.android.player.HlsClearKeyCache
  Returns the encryption key cached against the given URI.
get(Uri) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
get(String) - Method in class com.castlabs.android.drm.KeyStore
  Get a DrmKeyStorage
get(String, Map<String, String>, TransferListener, NetworkConfiguration, int) - Method in class com.castlabs.android.network.DefaultHttpDataSourceBuilder
get(String, Map<String, String>, TransferListener, NetworkConfiguration, int) - Method in interface com.castlabs.android.network.HttpDataSourceBuilder
  Create a new data source
get(String, Map<String, String>, TransferListener, NetworkConfiguration, int, SSLSocketFactory) - Method in class com.castlabs.android.network.DefaultHttpDataSourceBuilder
get(String, Map<String, String>, TransferListener, NetworkConfiguration, int, SSLSocketFactory) - Method in interface com.castlabs.android.network.HttpDataSourceBuilder
  Create a new data source
getAbrConfiguration() - Method in class com.castlabs.android.player.PlayerController
  Returns the current ABR configuration
getAbsoluteUrl(String) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Returns the absolute URL of the thumbnail source.
getAcceptedIssuers() - Method in class com.castlabs.android.network.CustomX509TrustManager
getAdApi() - Method in interface com.castlabs.android.adverts.AdInterface
  Get an `AdApi` to issue custom operations to the ad provider
getAdApi() - Method in interface com.castlabs.android.adverts.AdLoader
  Get an `AdApi` to issue custom operations to the ad provider
getAdApi() - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
getAdClientInterface() - Method in class com.castlabs.android.player.PlayerController
  Gets access to `AdClientInterface` APIs
getAdContainer() - Method in interface com.castlabs.android.adverts.AdLoader
  Returns ad UI container
getAdContainer() - Method in class com.castlabs.android.adverts.ServerAdLoader
getAdInterface() - Method in class com.castlabs.android.player.PlayerController
  Gets access to `AdInterface` APIs
getAdPositionMs(Ad, ExoPlayer) - Method in interface com.castlabs.android.adverts.AdLoader
  Returns the position of the provided `Ad` in milliseconds relative to the window that is currently playing (i.e.
getAdPositionMs(Ad, ExoPlayer) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
getAdsConfiguration() - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
  Returns the video filter configuration for ads.
getAll() - Method in class com.castlabs.android.drm.KeyStore
  Get all stored keys
getAnalyticsMetaData() - Method in class com.castlabs.android.player.PlayerController
  Returns the analytics meta-data associated with the controller.
getAnalyticsSession() - Method in class com.castlabs.android.player.PlayerController
  Get the current analytics session if there is one.
getAudioAttributes() - Method in class com.castlabs.android.player.PlayerController
  Returns the audio attributes for this player.
getAudioCapabilities() - Method in class com.castlabs.android.player.AudioCapabilitiesManager
  Returns the current audio capabilities of the device.
getAudioChannels() - Method in class com.castlabs.android.player.models.AudioTrack
  Get the number of audio channels.
getAudioFocusCallback() - Method in class com.castlabs.android.player.PlayerController
  Gets the audio focus callback for this player.
getAudioSamplingRate() - Method in class com.castlabs.android.player.models.AudioTrack
  Get the audio sampling rate in Hz.
getAudioTrack() - Method in class com.castlabs.android.player.PlayerController
  Returns the current audio track.
getAudioTrack(int) - Method in class com.castlabs.android.player.models.PlayerModel
  Gets the audio track at the given index.
getAudioTracks() - Method in class com.castlabs.android.downloader.DownloadInfo
  Returns the audio tracks as a list of `TrackIndexOverride` objects.
getAudioTracks() - Method in class com.castlabs.android.player.models.PlayerModel
  Gets the list of audio tracks.
getAudioTracks() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the `AudioTrack`s of the Period.
getAudioTracks() - Method in class com.castlabs.android.player.PlayerController
  Returns a list of audio track assets found in the opened movie meta data.
getBackBufferTime() - Method in class com.castlabs.android.player.PlayerController
  Returns the oldest position that still has buffered content, in microseconds.
getBandwidthMeterWrapper() - Method in class com.castlabs.android.player.PlayerController
  The bandwidth meter wrapper
getBandwidthResetMode() - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Returns the current bandwidth reset mode configuration.
getBitrate() - Method in class com.castlabs.android.player.models.AudioTrack
  Get The average bandwidth in bits per second.
getBitrate() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the track bitrate.
getBitrate() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the average bandwidth in bits per second or `Format.NO_VALUE` if not known.
getBitrateEstimate() - Method in class com.castlabs.android.player.BandwidthMeterWrapper
getBitrateEstimate() - Method in class com.castlabs.android.player.PlayerController
  Returns the estimated bandwidth in bits/sec.
getBufferConfiguration() - Method in class com.castlabs.android.player.PlayerController
  Returns the buffer configuration of this controller
getBufferedPercentage() - Method in class com.castlabs.android.player.PlayerController
  Returns an estimate of the percentage in the current content window or ad up to which data is buffered, or 0 if no estimate is available.
getBufferedPosition() - Method in class com.castlabs.android.player.PlayerController
  Returns an estimate of the position in the current content window or ad up to which data is buffered, in microseconds.
getBufferSizeBytes() - Method in class com.castlabs.android.player.PlayerController
  Return the current buffer size in bytes
getBufferSizeTime() - Method in class com.castlabs.android.player.PlayerController
  Return the current buffer size ahead of the playhead in media time microseconds
getBytes(UUID) - Static method in class com.castlabs.android.drm.DrmUtils
  Converts a UUID to bytes
getCauseMessage() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Returns the cause message of this exception.
getClientListener() - Method in interface com.castlabs.android.adverts.AdClientInterface
  Gets the client listener.
getClientProviders() - Static method in class com.castlabs.android.adverts.Adverts
  Returns the list of registered client-side Ad providers.
getCmcdConfigurationFactory() - Method in class com.castlabs.android.player.PlayerController
  Gets the `CmcdConfigurationFactory` that will be used to create `CmcdConfiguration` instances.
getCodecName(String) - Static method in class com.castlabs.utils.Codecs
  Gets the human-readable name for a given codec string.
getCodecs() - Method in class com.castlabs.android.player.models.AudioTrack
  Get a list of codecs of this quality.
getCodecs() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the codecs of this quality.
getComponent(Class<T>) - Method in class com.castlabs.android.player.PlayerController
  Returns the player component of the given type if it exists.
getComponent(Class<T>) - Method in class com.castlabs.android.player.PlayerView
  Returns the player view component of the given type if it exists.
getComponentView(int) - Method in class com.castlabs.android.player.PlayerController
  Returns a View previously set through `PlayerController.setComponentView(int, View)` and indexed with a view id.
getComponentView(int) - Method in class com.castlabs.android.player.PlayerView
  Returns the component View linked to the provided id
getConfig() - Method in class com.castlabs.android.player.models.Timeline.Window
  Returns the `PlayerConfig` of the Window.
getConfiguration(boolean) - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
  Returns the configuration.
getContentConfiguration() - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
  Returns the video filter configuration for content.
getContentType() - Method in class com.castlabs.android.player.AudioAttributes
  Returns the content type.
getContext() - Method in class com.castlabs.android.player.PlayerController
  Returns the context associated with this controller.
getContext() - Static method in class com.castlabs.android.PlayerSDK
  Access the globally configured application context used by the SDK.
getCurrentAd() - Method in interface com.castlabs.android.adverts.AdLoader
  Get the currently loaded and prepared for playing Ad
getCurrentAd() - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
getCurrentConfig() - Method in class com.castlabs.android.thumbs.ExtensibleSdkElement
  Returns the current player configuration.
getCurrentController() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Returns the current underlying `PlayerController`.
getCurrentItem() - Method in interface com.castlabs.android.player.Playlist
  Returns the currently playing item
getCurrentItem() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Returns the currently playing item
getCurrentItem() - Method in class com.castlabs.android.player.SingleControllerPlaylist
getCurrentItemIndex() - Method in exception class com.castlabs.android.player.exceptions.PlaylistException
  Returns the index of the item that was playing when the error occurred.
getCurrentItemIndex() - Method in interface com.castlabs.android.player.Playlist
  Returns current item index
getCurrentItemIndex() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
getCurrentItemIndex() - Method in class com.castlabs.android.player.SingleControllerPlaylist
getCurrentPeriodIndexInCurrentWindow() - Method in interface com.castlabs.android.player.ExtendedTrackSelector.PlayerInfoProvider
  Returns the current period index in the current window.
getCurrentPeriodIndexInCurrentWindow(ExoPlayer) - Static method in class com.castlabs.android.player.PlayerController
  Get the index of the current `Period` in the current `Window`.
getCurrentVideoQuality() - Method in class com.castlabs.android.player.models.PlayerModel
  Gets the current video quality.
getCustomCode() - Method in exception class com.castlabs.android.drm.DrmTodayException
  Returns the custom DrmToday response code string, if available.
getCustomDataJSON() - Method in class com.castlabs.android.drm.DrmTodayConfiguration
  Returns the generated JSON to provide to the MediaDrm callbacks.
getCustomMessage() - Method in exception class com.castlabs.android.drm.DrmTodayException
  Returns the custom CRT error message, if available.
getData() - Method in class com.castlabs.android.network.NetworkMessage
  Get the payload that will be sent with the request.
getDataSourceFactory() - Method in class com.castlabs.android.player.PlayerController
  Provides access to the `DataSourceFactory`.
getDateRanges() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the `HlsDateRange`s of the Period.
getDecoderInfos(String, Format, boolean, boolean) - Method in class com.castlabs.android.player.DefaultMediaCodecSelector
getDelegate() - Method in class com.castlabs.android.player.BandwidthMeterWrapper
  Returns the delegate or null if no delegate is set.
getDescriptors() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the `DashDescriptor`s of the Period.
getDescriptors() - Method in class com.castlabs.android.player.models.Track
  Gets the list of Dash descriptors for this track.
getDeviceSecurityLevel(Drm) - Static method in class com.castlabs.android.drm.DrmUtils
  Returns the security level supported by the current device and the given DRM if the devices supports the DRM.
getDisplay(Context) - Static method in class com.castlabs.android.utils.ScreenUtils
  Resolves a display for the given context without requiring a UI context.
getDownloadablePlugins() - Static method in class com.castlabs.android.PlayerSDK
  Returns the list of currently registered downloadable plugins.
getDrm() - Method in class com.castlabs.android.player.models.AudioTrack
  Get `Drm` of the current track
getDrm() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Get `Drm` of the current quality
getDrmConfiguration(DrmConfiguration) - Method in interface com.castlabs.android.player.ConfigurationProvider
  Provides updated `DrmConfiguration` or `null` if no updates needed
getDrmInitData() - Method in class com.castlabs.android.player.models.AudioTrack
  Get the `DrmInitData` of the current track.
getDrmInitData() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the DRM initialization data for this quality.
getDrmKeyStatus() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the DRM key status.
getDrmKeyStatus(VideoTrackQuality, Format) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.PlayerInfoProvider
  Returns the DRM key status for the given video track quality and video input format.
getDrmLicenseManagerComponents() - Static method in class com.castlabs.android.PlayerSDK
  Returns the list of currently registered DrmLicenseManagerComponents.
getDrmTodayDashboardUrl(String) - Static method in class com.castlabs.android.drm.DrmUtils
  Get the Dashboard URLs for the respective Lic urls
getDrmTodayIdFromResponseHeader(Map<String, List<String>>) - Static method in class com.castlabs.android.drm.DrmUtils
  Takes a Hashmap of Response Headers returned by DrmToday and extracts the DrmToday Trace ID to log a url to analyze DRM Response details
getDrmTodayTraceId(Throwable) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Utility method to extract the DRMToday trace identifier from an exception's cause chain.
getDuration() - Method in class com.castlabs.android.player.PlayerController
  Get the duration in microseconds of a region of media currently available for playback (including both live and static streams) or -1 if no duration is available for the current stream.
getDurationMs() - Method in class com.castlabs.android.player.models.mpd.EventMessage
  Gets the duration of the event in milliseconds.
getDurationMs() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the duration of the Period in milliseconds.
getDurationUs() - Method in class com.castlabs.android.player.models.AudioTrack
  The duration in microseconds, or `SdkConsts.UNKNOWN_TIME_US` if the duration is unknown, or `SdkConsts.MATCH_LONGEST_US` if the duration should match the duration of the longest track whose duration is known.
getDurationUs() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the duration of the Period in microseconds.
getDurationUs() - Method in class com.castlabs.android.player.models.Timeline.Window
  Returns the Window duration in microseconds.
getDurationUs() - Method in class com.castlabs.android.player.models.VideoTrack
  The duration in microseconds, or `SdkConsts.UNKNOWN_TIME_US` if the duration is unknown, or `SdkConsts.MATCH_LONGEST_US` if the duration should match the duration of the longest track whose duration is known.
getDurationUs(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the segment's duration in microseconds
getEmbeddedTrackGroupIndex() - Method in class com.castlabs.android.player.models.SubtitleTrack
  Returns the track group index in which this SubtileTrack is embedded.
getEnabled() - Method in class com.castlabs.analytics.AnalyticsSession
  Returns true if the session is enabled, otherwise false.
getEnabledFields() - Static method in class com.castlabs.android.network.UserAgent
  Returns the currently enabled fields to include in the user-agent
getEncodingForMimeType(String) - Static method in class com.castlabs.utils.Codecs
  Gets the ExoPlayer encoding constant for a given MIME type.
getEndPositionMs() - Method in class com.castlabs.android.player.Chapter
  Returns the end position of the chapter in milliseconds.
getErrorCode() - Method in exception class com.castlabs.android.drm.DrmTodayException
  Returns the error code of this exception.
getErrorData() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Returns a `Bundle` with error-specific error data.
getEvent() - Method in class com.castlabs.android.player.CustomDashEventListener.CustomEvent
  Returns the type of the event.
getEvents() - Method in class com.castlabs.android.player.models.mpd.EventStream
  Gets the list of event messages in the event stream.
getEventStreams() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the `EventStream`s of the Period.
getExoTrackTypeString(int) - Static method in class com.castlabs.android.utils.TrackTypeUtils
  Translates the track types to human readable strings
getFailedConfig() - Method in exception class com.castlabs.android.player.exceptions.PlaylistException
  Returns the configuration of the playlist item that failed to load.
getFailedItemIndex() - Method in exception class com.castlabs.android.player.exceptions.PlaylistException
  Returns the index of the failed item in the playlist.
getFilterReason() - Method in class com.castlabs.android.player.filter.FilterFormat
  Returns the filter reason, or 0 in case the track is unfiltered.
getFlags() - Method in class com.castlabs.android.player.AudioAttributes
  Returns the flags.
getFormat() - Method in class com.castlabs.android.player.filter.FilterFormat
  Returns the format of this track.
getFormat() - Method in class com.castlabs.android.player.models.SubtitleTrack
  Returns the underlying format of this track.
getFormat() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns a `Format` for this quality.
getFrameRate() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the frame rate of this quality in frames per second or -1 if not known.
getGridHeight() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the grid height (if a thumbnail grid is used).
getGridWidth() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the grid width (if a thumbnail grid is used).
getGroupFormats() - Method in class com.castlabs.android.player.filter.FilterFormat
  Returns the formats for all tracks in the same group.
getGroupType(int, int) - Method in class com.castlabs.android.player.DefaultTrackTypeProvider
getGroupType(int, int) - Method in class com.castlabs.android.player.TrackTypeProvider
  Gets the track group type by provided track or track group types.
getHeaderParameter() - Method in interface com.castlabs.android.network.DataSourceFactory
  Returns a non-null map of all registered header parameters.
getHeaderParameter() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
getHeaderParameter() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
getHeight() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the height of this quality in pixels or -1 if not known.
getHlsKeyCache() - Method in class com.castlabs.android.player.PlayerController
  Returns the current `HlsClearKeyCache` used for HLS Clearkey requests.
getId() - Method in class com.castlabs.android.adverts.HlsInterstitialPlugin
getId() - Method in class com.castlabs.android.player.CustomDashEventListener.CustomEvent
  Returns the id of the event.
getId() - Method in class com.castlabs.android.player.DashDescriptor
  Gets the ID of the descriptor.
getId() - Method in class com.castlabs.android.player.DefaultPlayerPlugin
getId() - Method in class com.castlabs.android.player.IPTVPlugin
getId() - Method in class com.castlabs.android.player.models.AudioTrack
  Get the id of this track.
getId() - Method in class com.castlabs.android.player.models.mpd.EventMessage
  Gets the instance identifier.
getId() - Method in class com.castlabs.android.player.models.SubtitleTrack
  Returns the id associated with this track.
getId() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the Period id.
getId() - Method in class com.castlabs.android.player.models.VideoTrack
  Set the id of this track
getId() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Set the id of this track
getId() - Method in class com.castlabs.android.Plugin
  Returns the ID of the plugin.
getInitialPositionUs(Timeline) - Method in interface com.castlabs.android.player.InitialPositionProvider
  Return the desired initial position in microseconds.
getInstance(Context) - Static method in class com.castlabs.android.player.AudioCapabilitiesManager
  Returns the singleton instance of the AudioCapabilitiesManager.
getInteger(String) - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Returns the value for the given key out of the `errorData` Map.
getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Gets a key request for the specified session and key type.
getKeyStore() - Static method in class com.castlabs.android.player.PlayerController
  Returns the `KeyStore` that will be used to store offline IDs or null if no store is configured.
getKIDFromPlayreadySchemeData(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
  Takes a Playready Header Object and extracts the KID converted to CENC or null.
getKIDFromPlayreadySchemeData(DrmInitData.SchemeData) - Static method in class com.castlabs.android.drm.DrmUtils
  Gets the KID (Key ID) from a PlayReady scheme data.
getKIDFromPlayreadySchemeData(String) - Static method in class com.castlabs.android.drm.DrmUtils
  Takes a Base64 encoded string representation of a Playready Header Object and extracts the KID converted to CENC or null.
getKIDFromWidevineHeader(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
  Gets the KID (Key ID) from a Widevine header.
getKIDFromWidevineSchemeData(DrmInitData.SchemeData) - Static method in class com.castlabs.android.drm.DrmUtils
  Gets the KID (Key ID) from a Widevine scheme data.
getLabel() - Method in class com.castlabs.android.player.models.AudioTrack
  Returns the default label for this track.
getLabel() - Method in class com.castlabs.android.player.models.SubtitleTrack
  Returns the default label for this track.
getLabel() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the label for this quality.
getLanguage() - Method in class com.castlabs.android.player.models.AudioTrack
  The language of the format.
getLanguage() - Method in class com.castlabs.android.player.models.SubtitleTrack
  The language of the format.
getLastUri() - Method in class com.castlabs.android.network.ExtendedDataSource
  Returns the last accessed Uri.
getLca(Uri, Uri) - Static method in class com.castlabs.utils.UriUtils
  Returns the least common ancestor of th two Uri's.
getLicenseData() - Method in class com.castlabs.AssetLicenseLoader
getLicenseData() - Method in interface com.castlabs.LicenseLoader
  This method must find the license file and return its bytes or throw an Exception if the license data could not be loaded.
getLicenseData() - Method in class com.castlabs.ManifestLicenseLoader
getLicenseData() - Method in class com.castlabs.SimpleLicenseLoader
  Returns the license data that was passed in the constructor.
getLicenseKeysCount() - Method in class com.castlabs.android.drm.KeyStore
  Get count of stored license keys
getLicenseKeysCount() - Method in class com.castlabs.android.drm.MemoryKeyStore
getLicenseKeysCount() - Method in class com.castlabs.android.drm.SharedPreferencesKeyStore
getLicenseRemainingDurationSec() - Method in class com.castlabs.android.player.PlayerController
  Returns the remaining license duration for the current DRM session.
getLicenseRemainingDurationSec(TrackRendererPlugin.Type) - Method in class com.castlabs.android.player.PlayerController
  Returns the remaining license duration for the current DRM session.
getLifecycleDelegate() - Method in interface com.castlabs.android.player.IPlayerView
  This method must return an instance of the `PlayerViewLifecycleDelegate`.
getLifecycleDelegate() - Method in class com.castlabs.android.player.PlayerView
getLiveConfiguration() - Method in class com.castlabs.android.player.PlayerController
  Returns the live configuration of this controller
getLiveEdgeLatency() - Method in class com.castlabs.android.player.PlayerController
  For live streams, the number of milliseconds that the playback should lag behind the "live edge" (i.e.
getLiveEdgeUs() - Method in class com.castlabs.android.player.PlayerController
  Returns the live edge time in microseconds, or `C.TIME_UNSET` if unknown or not applicable.
getLiveEdgeUs(boolean) - Method in class com.castlabs.android.player.PlayerController
  Returns the live edge time in microseconds, or `C.TIME_UNSET` if unknown or not applicable.
getLiveStartTime() - Method in class com.castlabs.android.player.PlayerController
  Get the live start time in microseconds since the epoch or -1 if unknown or not applicable.
getLoadedConfigs() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
getLocalizedLanguageName(String) - Static method in class com.castlabs.android.player.models.Track
  Returns the given language code's name, in the `Locale` determined by `Track.LABEL_LOCALE`.
getMainHandler() - Method in class com.castlabs.android.player.PlayerController
  Get the main handler of this controller.
getManifestUrl(File) - Static method in class com.castlabs.android.downloader.ContainerUtils
  Reads the zip files `meta.json` file and returns a `Uri` to that Manifest.
getManifestUrl(File, JSONObject) - Static method in class com.castlabs.android.downloader.ContainerUtils
  Takes the zip files `meta.json` content and returns a `Uri` to that Manifest.
getMaxBufferSizeBytes() - Method in class com.castlabs.android.player.PlayerController
  Return the maximum buffer size in bytes
getMaximumLoadedItems() - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Returns the maximum number overall of Playlist items to keep loaded at any time.
getMaxIndex() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the maximal available index (needed for the downloader integration).
getMaxPlayoutRate() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Gets the maximum playout rate.
getMaxSegment() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Get's the segment's max index
getMediaCodecSelector() - Method in class com.castlabs.android.player.PlayerController
  Returns the `MediaCodecSelector`.
getMediaMimeType() - Method in class com.castlabs.android.player.models.AudioTrack
  Get the media mime type associated with this track.
getMediaMimeType() - Method in class com.castlabs.android.player.models.SubtitleTrack
  Returns the media mime type associated with this track.
getMediaMimeType() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the media mime type of this quality.
getMediaType() - Method in class com.castlabs.android.player.filter.FilterFormat
  Returns the media type of this track.
getMessage() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
getMessageData() - Method in class com.castlabs.android.player.models.mpd.EventMessage
  Gets the body of the message.
getMimeType() - Method in class com.castlabs.android.player.models.AudioTrack
  Get the codec mime type associated with this track.
getMimeType() - Method in class com.castlabs.android.player.models.SubtitleTrack
  Returns the codec mime type associated with this track.
getMimeType() - Method in class com.castlabs.android.player.models.VideoTrack
  The mime type associated with this track, or `null` if not set.
getMimeType() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the codec mime type of this quality.
getMinSegment() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Get's the segment's min index
getModifierDataSourceFactory(int) - Method in class com.castlabs.android.player.PlayerController
  Provides access to the `DataSourceFactory` that will be for the specific request type.
getName() - Method in interface com.castlabs.android.adverts.AdProvider
  Return a unique name to identify the provider.
getName() - Method in class com.castlabs.android.adverts.HlsInterstitialPlugin
getName() - Method in class com.castlabs.android.player.models.AudioTrack
  The name associated with this track.
getName() - Method in class com.castlabs.android.player.models.SubtitleTrack
  The name associated with this track.
getNetworkConfiguration() - Method in class com.castlabs.android.player.PlayerController
  Returns the current network configuration of this controller.
getNextItemIndex() - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Returns the next item index in the Playlist.
getOfflinePath() - Method in class com.castlabs.android.player.PlayerController
  Gets the local path to the currently played content if it is played offline, otherwise `null`
getOriginalGroupIndex() - Method in class com.castlabs.android.player.models.Track
  Gets the original group index of this group, when no filters were applied.
getOriginalGroupIndex() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the original index of the corresponding track group
getOriginalLanguage() - Method in class com.castlabs.android.player.models.AudioTrack
  The language tag as present in the manifest.
getOriginalLanguage() - Method in class com.castlabs.android.player.models.SubtitleTrack
  The language tag as present in the manifest.
getOriginalTrackIndex() - Method in class com.castlabs.android.player.models.Track
  Gets the original track index of this track, when no filters were applied.
getOriginalTrackIndex() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the original index of this track, when no filters were applied.
getPassthroughDecoderInfo() - Method in class com.castlabs.android.player.DefaultMediaCodecSelector
getPath() - Method in class com.castlabs.android.player.PlayerController
  Returns the path set in this controller or null
getPeriod(int) - Method in class com.castlabs.android.player.models.Timeline
  Returns the requested Period
getPeriodCount() - Method in class com.castlabs.android.player.models.Timeline
  Returns the number of Period in the Timeline
getPeriodDurationUs() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the period duration in microseconds.
getPeriodInfo(Timeline.Period) - Method in interface com.castlabs.android.player.PeriodInfoProvider
  Gets the `PeriodInfoProvider.PeriodInfo` for the specified period
getPeriods() - Method in class com.castlabs.android.player.models.Timeline
  Returns the List of `Timeline.Period`s
getPeriods() - Method in class com.castlabs.android.player.models.Timeline.Window
  Returns the List of `Timeline.Period`s in the Window.
getPeriodStartMs() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the period relative start time in milliseconds.
getPictureWidthHeightRatio() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the picture width to height ratio.
getPixelWidthHeightRatio() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the pixel width to height ratio.
getPlayer() - Method in class com.castlabs.android.player.PlayerController
  Access the player API instance.
getPlayerConfig() - Method in class com.castlabs.android.player.PlayerController
  Returns the current player configuration.
getPlayerConfig(PlayerConfig) - Method in interface com.castlabs.android.player.ConfigurationProvider
  Provides updated `PlayerConfig` or `null` if no updates needed
getPlayerConfig(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Gets the internal PlayerConfig from the user config added to the playlist.
getPlayerController() - Method in interface com.castlabs.android.player.IPlayerView
  Returns the current instance of the `PlayerController` that is used by this view.
getPlayerController() - Method in class com.castlabs.android.player.PlayerView
  Access the `PlayerController` that can be used to interact with this view.
getPlayerControllerPlugins() - Static method in class com.castlabs.android.PlayerSDK
  Returns the list of currently registered player-view plugins.
getPlayerListeners() - Method in class com.castlabs.android.player.PlayerController
  Returns the `PlayerListeners` that are used to notify about player events.
getPlayerPlugins() - Static method in class com.castlabs.android.PlayerSDK
  Returns the list of currently registered player plugins.
getPlayerState() - Method in class com.castlabs.android.player.PlayerController
  Returns the current player state.
getPlayerView() - Method in class com.castlabs.android.player.PlayerController
  Returns the current `IPlayerView` that is associated with this controller.
getPlayerView() - Method in interface com.castlabs.android.views.PlayerViewProvider
  Returns the `IPlayerView` that is used by the activity.
getPlayerViewPlugins() - Static method in class com.castlabs.android.PlayerSDK
  Returns the list of currently registered player-view plugins.
getPlaylist() - Method in interface com.castlabs.android.player.Playlist
  Returns the current Playlist as a List of `PlayerConfig` items.
getPlaylist() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Returns the current Playlist as a List of `PlayerConfig` items.
getPlaylist() - Method in class com.castlabs.android.player.SingleControllerPlaylist
getPlaylistSnapshot() - Method in exception class com.castlabs.android.player.exceptions.PlaylistException
  Returns a snapshot of the playlist at the time of the error.
getPlaylistWindowAfter() - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Returns the number of Playlist items to load after the current one.
getPlaylistWindowBefore() - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Returns the number of Playlist items to load before the current one.
getPlugin(Class<T>) - Static method in class com.castlabs.android.PlayerSDK
  Returns the instance of the registered plugin or null if no plugin was found
getPlugins() - Static method in class com.castlabs.android.PlayerSDK
  Returns the list of currently registered plugins.
getPosition() - Method in interface com.castlabs.android.adverts.AdInterface
  Get the Ad position in microseconds.
getPosition() - Method in class com.castlabs.android.player.PlayerController
  Get the position in microseconds which is the playback position within the region of media currently available for playback.
getPositionInFirstPeriodUs() - Method in class com.castlabs.android.player.models.Timeline.Window
  Returns the position of the Window relative to its first Period in microseconds.
getPositionInPeriod() - Method in class com.castlabs.android.player.PlayerController
  Get the position in microseconds which is the playback position within the period of media currently available for playback.
getPositionInWindowMs() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the position of the Period inside its Window in milliseconds.
getPositionInWindowUs() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the position of the Period inside its Window in microseconds.
getPreBufferTime() - Method in class com.castlabs.android.player.PlayerController
  Gets an estimate of the absolute position in microseconds up to which data is buffered.
getPreferredAudioLanguage() - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Get the preferred audio language
getPreferredSubtitleLanguage() - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Get the preferred subtitles language
getPresentationTimesUs() - Method in class com.castlabs.android.player.models.mpd.EventStream
  Gets the presentation times of the events in microseconds, sorted in ascending order.
getPreviousItemIndex() - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Returns the previous item index in the Playlist.
getPropertyByteArray(String) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Gets a byte array property from the MediaDrm instance.
getPropertyString(String) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Gets a string property from the MediaDrm instance.
getProvisionRequest() - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Gets a provision request for the device.
getQualities() - Method in class com.castlabs.android.player.models.MutableVideoTrack
  Returns an unmodifiable view on the currently registered qualities sorted in decreasing bitrate order.
getQualities() - Method in class com.castlabs.android.player.models.VideoTrack
  Returns an unmodifiable view on the currently registered qualities sorted in decreasing bitrate order.
getQueryParameter() - Method in interface com.castlabs.android.network.DataSourceFactory
  Returns a non-null map of all registered query parameters.
getQueryParameter() - Method in class com.castlabs.android.network.DefaultDataSourceFactory
getQueryParameter() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
getRendererCapabilities(Context, DrmConfiguration) - Method in class com.castlabs.android.player.DashPlayerPlugin
getRendererCapabilities(Context, DrmConfiguration) - Method in class com.castlabs.android.player.HlsPlayerPlugin
getRendererCapabilities(Context, DrmConfiguration) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
getRendererCapabilities(Context, DrmConfiguration) - Method in interface com.castlabs.android.player.PlayerPlugin
  Retrieve array of supported RendererCapabilities.
getRendererCapabilities(Context, TrackRendererPlugin.Type, DrmConfiguration) - Method in class com.castlabs.android.player.BasePlayerModelBuilder
  Returns the `RendererCapabilities` for the given `TrackRendererPlugin.Type` and `DrmConfiguration`.
getRendererCapabilities(Context, TrackRendererPlugin.Type, DrmConfiguration) - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
getRendererCapabilities(Context, TrackRendererPlugin.Type, DrmConfiguration) - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
  Returns the renderer capabilities for the given type and DRM configuration.
getRendererCapabilitiesListener() - Method in class com.castlabs.android.player.ExtendedTrackSelector
getRendererTrackTypeString(int) - Static method in class com.castlabs.android.utils.TrackTypeUtils
  Translates the track types to human readable strings
getRequestModifiers() - Method in class com.castlabs.android.player.PlayerController
  Access the list of currently registered request modifier plugins
getResources(String, File, Bundle) - Method in interface com.castlabs.android.downloader.Downloadable
  Takes the URL to the remove manifest, the one that started the download, the base path to the target folder and the Bundle that was used to start the download.
getResponseBody() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
  Gets the response body from the failed request.
getResponseCode() - Method in class com.castlabs.android.downloader.ZipDataSource
getResponseCode() - Method in class com.castlabs.android.network.ExtendedDataSource
getResponseHeaders() - Method in class com.castlabs.android.downloader.ZipDataSource
getResponseHeaders() - Method in class com.castlabs.android.network.ExtendedDataSource
getResponseModifiers() - Method in class com.castlabs.android.player.PlayerController
  Access the list of currently registered response modifier plugins
getRootView() - Method in interface com.castlabs.android.player.IPlayerView
  Retrieve the root view of the current `IPlayerView` implementation.
getRootView() - Method in class com.castlabs.android.player.PlayerView
  Returns the root view of the PlayerView.
getScalingMode() - Method in interface com.castlabs.android.player.IPlayerView
  Gets the current scaling mode of the video view.
getScalingMode() - Method in class com.castlabs.android.player.PlayerView
getSchemeIdUri() - Method in class com.castlabs.android.player.DashDescriptor
  Gets the scheme ID URI of the descriptor.
getSchemeIdUri() - Method in class com.castlabs.android.player.models.mpd.EventMessage
  Gets the message scheme.
getSchemeIdUri() - Method in class com.castlabs.android.player.models.mpd.EventStream
  Gets the scheme URI.
getScreenSize(Context) - Static method in class com.castlabs.android.utils.ScreenUtils
  Deprecated.
  Use `ScreenUtils.getWindowSize(Context)`
getSecondaryDisplay() - Method in class com.castlabs.android.player.PlayerController
  The secondary display setting, which is a bitmap of `SdkConsts.SECONDARY_DISPLAY_NEVER`, `SdkConsts.SECONDARY_DISPLAY_ALLOW_UNPROTECTED_CONTENT`, `SdkConsts.SECONDARY_DISPLAY_ALLOW_SECURE_DISPLAY`, and `SdkConsts.SECONDARY_DISPLAY_ALLOW_ALWAYS`.
getSecurityLevel() - Method in class com.castlabs.android.drm.DrmConfiguration
  Gets the security level for the selected DRM on this device.
getSeekRangeEndUs() - Method in class com.castlabs.android.player.PlayerController
  Get the end of the current seek range in microseconds or `C.TIME_UNSET`.
getSegmentCount() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Get's the segment count
getSegmentUrl(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Builds the Uri to locate the corresponding file according to the segment and the previously set `Representation.MultiSegmentRepresentation`.
getSelectionFlags() - Method in class com.castlabs.android.player.models.AudioTrack
  Get the selection flags.
getServerDateForLastRequest() - Method in interface com.castlabs.android.drm.LicenseServerTimeProvider
  Return the server time in milliseconds.
getServerProviders() - Static method in class com.castlabs.android.adverts.Adverts
  Returns the list of registered server-side Ad providers.
getSessions() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
  Returns the list of sessions this proxy delegates to.
getSeverity() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Returns the severity of this issue.
getSideloaded() - Method in class com.castlabs.android.player.models.SubtitleTrack
  Check if the subtitle is of side-loaded type.
getSideloadedSubtitleTracks() - Method in class com.castlabs.android.player.models.PlayerModel
  Gets the list of sideloaded subtitle tracks.
getSideloadedTracks() - Method in class com.castlabs.android.downloader.DownloadInfo
  Returns the list of sideloaded tracks.
getSize() - Method in interface com.castlabs.android.player.Playlist
  Returns the number of Configs in the playlist.
getSize() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
getSize() - Method in class com.castlabs.android.player.SingleControllerPlaylist
getSpeed() - Method in class com.castlabs.android.player.PlayerController
  Returns the current playback speed.
getSslSocketFactory(PlayerController) - Static method in class com.castlabs.android.utils.SslUtils
  Unified way to get `SSLSocketFactory`.
getSSLSocketFactory() - Method in class com.castlabs.android.player.PlayerController
  Provides access to previously set `SSLSocketFactory`
getStartSegmentNumber() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the start segment number.
getStatusCode() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
  Gets the HTTP status code from the failed request.
getString(String) - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Returns the value for the given key out of the `errorData` Map.
getSubtitlesStyle() - Method in class com.castlabs.android.player.PlayerController
  Returns the current subtitles style settings.
getSubtitleTrack() - Method in class com.castlabs.android.player.PlayerController
  Returns the currently active subtitle track.
getSubtitleTrack(int) - Method in class com.castlabs.android.player.models.PlayerModel
  Gets the subtitle track at the given index.
getSubtitleTracks() - Method in class com.castlabs.android.downloader.DownloadInfo
  Returns the subtitle tracks as a list of `TrackIndexOverride` objects.
getSubtitleTracks() - Method in class com.castlabs.android.player.models.PlayerModel
  Gets the list of subtitle tracks.
getSubtitleTracks() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the `SubtitleTrack`s of the Period.
getSubtitleTracks() - Method in class com.castlabs.android.player.PlayerController
  Returns a list of the currently registered subtitles.
getSupportedDRM() - Static method in class com.castlabs.android.drm.DrmUtils
  Returns an unmodifiable Set of currently supported DRM based on the device and player plugins.
getTag() - Method in class com.castlabs.android.network.ModifierDataSourceFactory
  Get the tag that should be attached to generated requests.
getTag() - Method in class com.castlabs.android.network.NetworkMessage
  Get the tag that can be used to correlate responses.
getThumbnailDataTracks() - Method in class com.castlabs.android.player.models.PlayerModel
  Gets the list of thumbnail data tracks.
getThumbnailHeight() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the thumbnails height in pixels.
getThumbnailTracks() - Method in class com.castlabs.android.player.PlayerController
  Returns a list of thumbnail track assets found in the opened DASH manifest.
getThumbnailWidth() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the thumbnails width in pixels.
getTimeline() - Method in class com.castlabs.android.player.PlayerController
  Returns the current `Timeline`.
getTimeMs() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the time per thumbnail in milliseconds.
getTimescale() - Method in class com.castlabs.android.player.models.mpd.EventStream
  Gets the timescale of the event stream in units per second.
getTimeUs(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the segment's timestamp in microseconds
getTraceId() - Method in exception class com.castlabs.android.drm.DrmTodayException
  Returns the trace identifier returned by DRMToday, if available.
getTrackIndex() - Method in class com.castlabs.android.player.models.Track
  Gets the track index of this track.
getTrackIndex() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the index of this quality within the set of qualities on the parent track.
getTrackRendererPlugins() - Static method in class com.castlabs.android.PlayerSDK
  Returns the list of currently registered track renderer plugins.
getTrackType() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
  Gets the type of track that caused the download error.
getTrackType(Format) - Method in class com.castlabs.android.player.DefaultTrackTypeProvider
getTrackType(Format) - Method in class com.castlabs.android.player.TrackTypeProvider
  Defines the type of the track with the provided format.
getTrackTypeWeight(int) - Method in class com.castlabs.android.player.DefaultTrackTypeProvider
getTrackTypeWeight(int) - Method in class com.castlabs.android.player.TrackTypeProvider
  Defines the weight of the provided track.
getTransferListener() - Method in class com.castlabs.android.player.BandwidthMeterWrapper
  Return the transfer listener that will delegate to a sub meter if the transfer listener support is enabled.
getTrickplayConfiguration() - Method in class com.castlabs.android.player.PlayerController
  Returns the current `TrickplayConfiguration`
getType() - Method in class com.castlabs.android.player.DashDescriptor
  Gets the type of the descriptor.
getType() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Returns the type of this error.
getType() - Method in class com.castlabs.android.player.models.AudioTrack
  Get the type of the track renderer plugin based on the codecs.
getType() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the type of thumbnails.
getUri() - Method in class com.castlabs.android.downloader.ZipDataSource
getUri() - Method in class com.castlabs.android.network.ExtendedDataSource
getUri() - Method in class com.castlabs.android.network.NetworkMessage
  Get the request URI.
getUri() - Method in exception class com.castlabs.android.player.exceptions.DownloadException
  The underlying URI that caused the error.
getUrl() - Method in class com.castlabs.android.drm.DrmTodayConfiguration
  Returns the URL to the backend for the selected DRM.
getUrl() - Method in class com.castlabs.android.player.CustomDashEventListener.CustomEvent
  Returns the url of the event.
getUrl() - Method in class com.castlabs.android.player.models.SubtitleTrack
  Returns the URL that is used for side-loaded tracks.
getUrl() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Gets the URL or URL template to the thumbnail data.
getUsage() - Method in class com.castlabs.android.player.AudioAttributes
  Returns the usage.
getValue() - Method in class com.castlabs.android.player.DashDescriptor
  Gets the value of the descriptor.
getValue() - Method in class com.castlabs.android.player.models.mpd.EventMessage
  Gets the value for the event.
getValue() - Method in class com.castlabs.android.player.models.mpd.EventStream
  Gets the value of the event stream.
getVersion() - Static method in class com.castlabs.android.PlayerSDK
  Exposes the SDK version
getVideoFilterConfiguration() - Method in class com.castlabs.android.player.PlayerController
  Returns the current video filter configuration.
getVideoQualities() - Method in class com.castlabs.android.player.PlayerController
  Returns a list of video qualities for the currently active video track.
getVideoQuality() - Method in class com.castlabs.android.player.PlayerController
  Returns the current displayed video quality.
getVideoQualityMode() - Method in class com.castlabs.android.player.PlayerController
  Returns the current video quality mode.
getVideoSizeFilter() - Method in class com.castlabs.android.player.PlayerController
  Deprecated.
  Use `PlayerController.getVideoFilterConfiguration()`.
getVideoTrack() - Method in class com.castlabs.android.player.PlayerController
  Returns the current video track.
getVideoTrack(int) - Method in class com.castlabs.android.player.models.PlayerModel
  Gets the video track at the given index.
getVideoTracks() - Method in class com.castlabs.android.player.models.PlayerModel
  Gets the list of video tracks.
getVideoTracks() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the `VideoTrack`s of the Period.
getVideoTracks() - Method in class com.castlabs.android.player.PlayerController
  Returns a list of video tracks.
getVideoView() - Method in interface com.castlabs.android.player.IPlayerView
  Retrieve the video container view of the current `IPlayerView` implementation.
getVideoView() - Method in class com.castlabs.android.player.PlayerView
  Returns the video container view of the PlayerView.
getView() - Method in class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
  Returns the View that was created by this component.
getView(Context) - Method in interface com.castlabs.android.subtitles.SubtitlesPreview
  A view component that will render the subtitle text
getViewElevation() - Method in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
  Will be used by the `IPlayerView` to decide in which order the different Components will `attach` their Views.
getVolume() - Method in class com.castlabs.android.player.PlayerController
  Returns the current output volume (gain) of the audio track.
getWidth() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns the width of this quality in pixels or -1 if not known.
getWindow(int) - Method in class com.castlabs.android.player.models.Timeline
  Returns the requested Window
getWindowCount() - Method in class com.castlabs.android.player.models.Timeline
  Returns the number of Window in the Timeline
getWindowIndex() - Method in class com.castlabs.android.player.models.Timeline.Period
  Returns the Window index to which this Period belongs to.
getWindowPositionInFirstPeriod() - Method in class com.castlabs.android.player.PlayerController
  The position of the start of the current window relative to the start of the first period belonging to it, in microseconds.
getWindows() - Method in class com.castlabs.android.player.models.Timeline
  Returns the List of `Timeline.Window`s
getWindowSize(Context) - Static method in class com.castlabs.android.utils.ScreenUtils
  Returns the best available playback size in pixels for track-selection decisions.
getWindowStartTimeMs() - Method in class com.castlabs.android.player.models.Timeline.Window
  Returns the start time of the Window in milliseconds.
Global configuration - Search tag in class com.castlabs.android.PlayerSDK
  Section
GoogleDNSConnectivityCheck - Class in com.castlabs.android.network
  Connectivity check implementation that attempts to connect to Google's public DNS server (8.8.8.8:53).
GoogleDNSConnectivityCheck(Context) - Constructor for class com.castlabs.android.network.GoogleDNSConnectivityCheck
  Check the connectivity by establishing a connection to "8.8.8.8:53", which is a Google DNS, with the connection timeout of 5000ms
GoogleDNSConnectivityCheck(Context, int) - Constructor for class com.castlabs.android.network.GoogleDNSConnectivityCheck
  Check the connectivity by establishing a connection to "8.8.8.8:53", which is a Google DNS, with specified connection timeout in ms
gridHeight - Variable in class com.castlabs.android.player.models.SideloadedTrack
  The grid height as number of thumbnails per column.
gridHeight(long) - Method in class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
  Set grid height
gridWidth - Variable in class com.castlabs.android.player.models.SideloadedTrack
  The grid width as number of thumbnails per row.
gridWidth(long) - Method in class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
  Set grid width
guessFormat(String) - Static method in class com.castlabs.android.player.PlayerConfig
  Guess the format of the or return `SdkConsts.CONTENT_TYPE_UNKNOWN`.

## H

hashCode() - Method in class com.castlabs.android.adverts.Ad
hashCode() - Method in class com.castlabs.android.adverts.AdPodData
hashCode() - Method in class com.castlabs.android.adverts.AdSchedule
hashCode() - Method in class com.castlabs.android.drm.DrmConfiguration
hashCode() - Method in class com.castlabs.android.network.NetworkConfiguration
hashCode() - Method in class com.castlabs.android.network.RetryConfiguration
hashCode() - Method in class com.castlabs.android.player.AbrConfiguration
hashCode() - Method in class com.castlabs.android.player.AudioAttributes
hashCode() - Method in class com.castlabs.android.player.BufferConfiguration
hashCode() - Method in class com.castlabs.android.player.CatchupConfiguration
hashCode() - Method in class com.castlabs.android.player.CustomUtcTimingElement
hashCode() - Method in class com.castlabs.android.player.DisplayInfo
hashCode() - Method in class com.castlabs.android.player.LiveConfiguration
hashCode() - Method in class com.castlabs.android.player.MediaCodecInfo
hashCode() - Method in class com.castlabs.android.player.models.AudioTrack
hashCode() - Method in class com.castlabs.android.player.models.mpd.EventMessage
hashCode() - Method in class com.castlabs.android.player.models.PlayerModel
hashCode() - Method in class com.castlabs.android.player.models.SideloadedTrack
hashCode() - Method in class com.castlabs.android.player.models.SubtitleTrack
hashCode() - Method in class com.castlabs.android.player.models.Track
hashCode() - Method in class com.castlabs.android.player.models.VideoTrack
hashCode() - Method in class com.castlabs.android.player.models.VideoTrackQuality
hashCode() - Method in class com.castlabs.android.player.PlayerConfig
hashCode() - Method in class com.castlabs.android.player.TrickplayConfiguration
HashUtils - Class in com.castlabs.utils
  Utility hash functions
hasTrickModeId(int) - Method in class com.castlabs.android.player.models.Track
  Checks if this track has the specified trick mode ID.
HDCP_EXCEPTION_TIMEOUT_MS - Static variable in class com.castlabs.android.PlayerSDK
  This is the time in milliseconds to wait for DRM key to change its status from `KeyStatus.OutputNotAllowed` to `KeyStatus.Usable` before throwing an exception.
HDMI_CONNECTION_DELAY_MS - Static variable in class com.castlabs.android.PlayerSDK
  This is the time in milliseconds to delay the HDMI connection event.
headerParameter(String, String) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Add a header parameter to each content data request
headers - Variable in class com.castlabs.android.network.Request
  The header parameters that will be applied to the request.
headers - Variable in class com.castlabs.android.network.Response
  The response headers
highMediaTime(int, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  Time in milliseconds that will be used by the buffer controls to determine if the buffer can be drained.
highMediaTimeMs - Variable in class com.castlabs.android.player.BufferConfiguration
  Time in milliseconds that will be used by the buffer controls to determine if the buffer can be drained.
HlsClearKeyCache - Class in com.castlabs.android.player
  Cache for `Drm.Clearkey`.
HlsClearKeyCache() - Constructor for class com.castlabs.android.player.HlsClearKeyCache
  Default constructor for HlsClearKeyCache.
HlsDateRange - Class in com.castlabs.android.player.models.hls
  Represents a date range in an HLS playlist.
HlsDateRange(String, long, String, String, Long, Float, Float, String, String, String, Map<String, String>) - Constructor for class com.castlabs.android.player.models.hls.HlsDateRange
  Creates a new instance.
hlsForcePlaylistUpdateTargetDuration - Variable in class com.castlabs.android.player.LiveConfiguration
  Whether the `LiveConfiguration.hlsPlaylistUpdateTargetDurationCoefficient` should also be applied when the currently loaded manifest is renewed.
hlsForcePlaylistUpdateTargetDuration - Variable in class com.castlabs.android.player.LowLatencyProfile
  Will override `LiveConfiguration.hlsForcePlaylistUpdateTargetDuration`
HlsInterstitial - Class in com.castlabs.android.player.models.hls
  Represents an HLS interstitial content that can be inserted into the main content stream.
HlsInterstitial(Uri, Uri, String, String, int, long, long) - Constructor for class com.castlabs.android.player.models.hls.HlsInterstitial
  Creates a new HLS interstitial with the specified parameters.
HlsInterstitial.Asset - Class in com.castlabs.android.player.models.hls
  Represents a media asset contained in an interstitial.
HlsInterstitialAdLoader - Class in com.castlabs.android.adverts
  AdLoader implementation for handling HLS interstitial ads using ExoPlayer's HlsInterstitialMediaSource.
HlsInterstitialAdLoader() - Constructor for class com.castlabs.android.adverts.HlsInterstitialAdLoader
  Default constructor for HlsInterstitialAdLoader.
HlsInterstitialListener - Class in com.castlabs.android.player
  Abstract class that provides a listener interface for HLS interstitial events.
HlsInterstitialListener() - Constructor for class com.castlabs.android.player.HlsInterstitialListener
  Default constructor for HlsInterstitialListener
HlsInterstitialPlugin - Class in com.castlabs.android.adverts
  Plugin that provides HLS interstitial advertisement functionality.
HlsInterstitialPlugin() - Constructor for class com.castlabs.android.adverts.HlsInterstitialPlugin
  Creates a new instance of HlsInterstitialPlugin.
hlsLiveTailSegmentIndex - Variable in class com.castlabs.android.player.LiveConfiguration
  Defines the HLS segment index counting from the tail from which the live playback should start.
hlsLiveTailSegmentIndex - Variable in class com.castlabs.android.player.LowLatencyProfile
  Will override `LiveConfiguration.hlsLiveTailSegmentIndex`
hlsLiveTailSegmentIndex(int) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Defines the HLS segment index counting from the tail from which the live playback should start.
hlsLiveTailSegmentIndex(int) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
  Defines the HLS segment index counting from the tail from which the live playback should start.
HlsPlayerPlugin - Class in com.castlabs.android.player
  Plugin that provides HLS playback functionality.
HlsPlayerPlugin() - Constructor for class com.castlabs.android.player.HlsPlayerPlugin
  Default constructor for HlsPlayerPlugin.
hlsPlaylistUpdateTargetDurationCoefficient - Variable in class com.castlabs.android.player.LiveConfiguration
  The default coefficient applied to playlist update interval when calculating the playlist update interval.
hlsPlaylistUpdateTargetDurationCoefficient - Variable in class com.castlabs.android.player.LowLatencyProfile
  Will override `LiveConfiguration.hlsPlaylistUpdateTargetDurationCoefficient`
hlsPlaylistUpdateTargetDurationCoefficient(float, boolean) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Defines the default coefficient applied to playlist update interval when calculating the playlist update interval.
hlsPlaylistUpdateTargetDurationCoefficient(float, boolean) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
  Defines the default coefficient applied to playlist update interval when calculating the playlist update interval.
HTTP_CODE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  HTTP response code associated with the error
HTTP_DATASOURCE_BUILDER - Static variable in class com.castlabs.android.PlayerSDK
  The HTTP data source factory that is used to create http data sources.
HttpDataSourceBuilder - Interface in com.castlabs.android.network
  Implementations of this interface are responsible for creating http data source instances.
HttpExecutorException(int, String, Map<String, List<String>>, Throwable) - Constructor for exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
  Creates a new HttpExecutorException.
HttpListener - Interface in com.castlabs.android.network
  Listener related to HTTP events.

## I

IAnalyticsSession - Interface in com.castlabs.analytics
  Base interface for analytics plugins.
id - Variable in class com.castlabs.android.adverts.Ad
  Ad Id
id - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The ID of the date range.
id - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
  The unique identifier for this interstitial.
id - Variable in class com.castlabs.android.player.PlayerConfig
  ID for this content
id() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
id() - Method in class com.castlabs.android.player.ExoSubtitlesRendererPlugin.ExoSubtitleComponent
id() - Method in class com.castlabs.android.player.IPTVComponent
id() - Method in class com.castlabs.android.player.models.mpd.EventStream
  Gets the constructed ID of this event stream.
id() - Method in interface com.castlabs.android.player.PlayerControllerPlugin.Component
  Returns the class that is used to identify this component when it is registered with the player controller.
id() - Method in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
  Returns the class that is used to identify this component when it is registered with the player view.
id() - Method in class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
id() - Method in interface com.castlabs.android.thumbs.ExtensibleSdkElement.Extension
  Returns the class of the extension.
id(long) - Method in class com.castlabs.android.player.models.mpd.EventMessage.Builder
  Sets the instance identifier.
id(Object) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Sets the id of the Period.
id(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the configuration id
Idle - Enum constant in enum com.castlabs.android.player.PlayerController.State
  The player controller is not prepared or preparing and no content is loaded This is the initial player state and the state the player returns to after it is destroyed.
Image - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
  Image content type.
imageUrl - Variable in class com.castlabs.android.player.Chapter
  (Optional) URI to an image
ImageUtils - Class in com.castlabs.android.utils
  Image utilities that offers helper functions to decode and scale bitmap images.
INBAND_EVENT_STREAM - Static variable in class com.castlabs.android.player.DashDescriptor
  Inband event stream descriptor.
indexOf(Object[], Object) - Static method in class com.castlabs.utils.ArrayUtils
  Returns the index of the object in the array.
init(Context) - Static method in class com.castlabs.android.PlayerSDK
  Initializes the SDK using the given context and the default `ManifestLicenseLoader` to find a meta-data entry with the key `castlabs-license` in your Applications Manifest.
init(Context) - Method in class com.castlabs.android.Plugin
  This method is called on registered plugins after the player SDK was successfully initialized.
init(Context, LicenseLoader) - Static method in class com.castlabs.android.PlayerSDK
  Initializes the SDK using the given context and `LicenseLoader` to find and load a license file.
init(Context, String) - Static method in class com.castlabs.android.PlayerSDK
  Initializes the SDK using the given context and the license specified here.
init(DrmLicenseManager, DrmConfiguration, PlayerController) - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
  Called upon `DrmLicenseManager` creation
init(IPlayerView) - Method in class com.castlabs.android.player.PlayerService.Binder
  Initialises the service binder and eventually restores the PlayerController from the background.
InitialPositionProvider - Interface in com.castlabs.android.player
  Callback to define an initial playing position right after the `Timeline` is ready.
initialTrackSelection - Variable in class com.castlabs.android.player.AbrConfiguration
  The initial track selection can be used to manually select a track by index initially, in combination with `AbrConfiguration.keepInitialSelection`.
initialTrackSelection(int, boolean) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  The initial track selection can be used to manually select a track by index initially, in combination with `AbrConfiguration.Builder.keepInitialSelection`.
instanceOf(Throwable, Class<T>) - Static method in class com.castlabs.utils.Validate
  Search for the specific cause recursively
INTENT_ABR_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  Provide an instance of `AbrConfiguration` when opening playback.
INTENT_AD_SCHEDULE - Static variable in class com.castlabs.android.SdkConsts
  Use this key to inform an instance of `AudioAttributes` in an intent.
INTENT_ADVERTS_DATA - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store `AdRequest` in an intent.
INTENT_ALLOW_HLS_CHUNKLESS_PREPARATION - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` to configure `PlayerConfig.allowHlsChunklessPreparation`
INTENT_ANALYTICS_DATA - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an instance of `AnalyticsMetaData` in an intent.
INTENT_ANALYTICS_SESSION_TYPE - Static variable in class com.castlabs.android.SdkConsts
  Use this key to create and start analytics session upon `PlayerController.play()` or `PlayerController.open(Bundle)`.
INTENT_AUDIO_ATTRIBUTES - Static variable in class com.castlabs.android.SdkConsts
  Use this key to inform an instance of `AudioAttributes` in an intent.
INTENT_AUDIO_CODEC_FILTER - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `int` that will be used to configure the audio codec filtering.
INTENT_AUDIO_DECODER_FALLBACK - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` to configure `PlayerConfig.audioDecoderFallback`
INTENT_AUDIO_TRACK_GROUP_IDX - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key and set an int value that indicates the audio track group that should be used.
INTENT_AUDIO_TRACK_IDX - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key and set an int value that indicates the audio track that should be used.
INTENT_AUDIO_VOLUME - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key and set an float value that indicates the audio track volume.
INTENT_BUFFER_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store a `BufferConfiguration` that will be used by the player
INTENT_CLIP_PERIODS - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store a `boolean` and enable clipping periods to their duration (DASH-only)
INTENT_CLIPPING_END - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify a media time to end playback prematurely.
INTENT_CLIPPING_START - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify a media time from which playback should start.
INTENT_CONFIGURATION_ID - Static variable in class com.castlabs.android.player.PlayerConfig
  A unique ID for the configuration
INTENT_CONFIGURATION_URL - Static variable in class com.castlabs.android.player.PlayerConfig
  Intent key to specify an optional URL to an API endpoint that can be used to refresh the configuration.
INTENT_CONTENT_PARAMETERS - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify a `Bundle` containing key-value String pairs to add as header parameters for manifest requests.
INTENT_CONTENT_QUERY_PARAMETERS - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify a `Bundle` containing key-value String pairs to add as query parameters for manifest requests.
INTENT_CONTENT_TYPE - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key and set an int value which has to be one of `SdkConsts.CONTENT_TYPE_DASH`, `SdkConsts.CONTENT_TYPE_HLS`, `SdkConsts.CONTENT_TYPE_SMOOTHSTREAMING`, `SdkConsts.CONTENT_TYPE_MP4`, or `SdkConsts.CONTENT_TYPE_UNKNOWN` to indicate the stream format
INTENT_DOWNLOAD_FOLDER - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key to indicate the download folder
INTENT_DOWNLOAD_ID - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key to indicate the download ID
INTENT_DRM_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key and set a `DrmConfiguration` as a value.
INTENT_ENABLE_AD_SPEED_UP - Static variable in class com.castlabs.android.SdkConsts
  Use this key to enable or disable automatic setting of a speed to 1x when playing ads.
INTENT_ENABLE_DASH_EVENT_CALLBACK - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify whether the internal handling of DASH event callbacks should be enabled or not
INTENT_ENABLE_LOOPING - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` and enable playback looping
INTENT_ENABLE_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` and enable or disable the workaround whether all video frames are marked as sync frames but should not be treated as sync frames except the very first in a segment (DASH-only)
INTENT_FORCE_IN_STREAM_DRM_INIT_DATA - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store a `boolean` and prefer DRM init data in segments over the manifest's data (DASH-only).
INTENT_HD_CONTENT_FILTER - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `int` that will be used to configure the HD content filter.
INTENT_HEADER_PARAMS_BUNDLE - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.INTENT_CONTENT_PARAMETERS` or `SdkConsts.INTENT_SEGMENT_PARAMETERS`, or use the new `PlayerConfig` class.
INTENT_LIVE - Static variable in class com.castlabs.android.player.PlayerConfig
  Indicates live content
INTENT_LIVE_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify the Live Configuration.
INTENT_MERGE_VIDEO_TRACKS - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` and enable merging of video tracks (e.g.
INTENT_METADATA - Static variable in class com.castlabs.android.player.PlayerConfig
  Additional Bundle-formatted meta-data such as poster images, titles, byline and any custom meta-data
INTENT_NETWORK_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify the `NetworkConfiguration` used by the player
INTENT_PAUSE_ON_HDMI_DISCONNECTED - Static variable in class com.castlabs.android.SdkConsts
  Use this key to enable or disable automatic playback pausing when HDMI is disconnected.
INTENT_POSITION_TO_PLAY - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key with a long value to specify the playback start position in microseconds.
INTENT_PREFER_LATENCY_OVER_BUFFER_SAFETY - Static variable in class com.castlabs.android.SdkConsts
  If set to true, will instruct ExoPlayer to drop startup buffers to start closer to the live edge.
INTENT_PREFERRED_AUDIO_LANGUAGE - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify a preferred audio language using a two letter language code.
INTENT_PREFERRED_CODEC_INFOS - Static variable in class com.castlabs.android.player.PlayerConfig
  Preferred media codec infos
INTENT_PREFERRED_TEXT_LANGUAGE - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify a preferred text language using a two letter language code.
INTENT_PRESERVE_PLAYER_RESOURCES - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store a `boolean` and set to true.
INTENT_PRESERVE_PLAYER_VIEW_SURFACE - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` to set to true and the `PlayerView` is used, the playback surface be kept on screen and preserved when the player player is released.
INTENT_PUSH_BLACK_SCREEN_ON_DISPOSE - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` that indicates if the decoder should push a black screen to the surface when disposed.
INTENT_QUERY_PARAMS_BUNDLE - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.INTENT_SEGMENT_QUERY_PARAMETERS` or `SdkConsts.INTENT_CONTENT_QUERY_PARAMETERS`, or use the new `PlayerConfig` class.
INTENT_RESTORE_SPEED - Static variable in class com.castlabs.android.SdkConsts
  Use this key to enable or disable automatic restoring of a speed after playing ads.
INTENT_SECONDARY_DISPLAY - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `int` that will be used as the secondary display configuration for a player controller
INTENT_SEGMENT_PARAMETERS - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify a `Bundle` containing key-value String pairs to add as header parameters for segment requests.
INTENT_SEGMENT_QUERY_PARAMETERS - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify a `Bundle` containing key-value String pairs to add as query parameters for segment requests.
INTENT_SIDELOADED_TRACKS_ARRAYLIST - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `ArrayList` of `SideloadedTrack`
INTENT_START_PLAYING - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key and set a boolean value to indicate that playback should start automatically
INTENT_SUBTITLE_BUNDLE_ARRAYLIST - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST`, or use the new `PlayerConfig` class.
INTENT_SUBTITLE_LANGUAGE - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST`, or use the new `PlayerConfig` class.
INTENT_SUBTITLE_MIME_TYPE - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST`, or use the new `PlayerConfig` class.
INTENT_SUBTITLE_NAME - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST`, or use the new `PlayerConfig` class.
INTENT_SUBTITLE_SUB_SAMPLE_TYPE - Static variable in class com.castlabs.android.SdkConsts
  Defines whether the subtitle times are absolute or relative.
INTENT_SUBTITLE_TRACK_GROUP_IDX - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key and set an int value that indicates the subtitle track group that should be used.
INTENT_SUBTITLE_TRACK_IDX - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key and set an int value that indicates the subtitle track that should be used.
INTENT_SUBTITLE_URL - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST`, or use the new `PlayerConfig` class.
INTENT_THREESIXTY - Static variable in class com.castlabs.android.player.PlayerConfig
  Indicates 360 degree content
INTENT_THUMBNAILS_DATA - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  in favour of `SdkConsts.INTENT_SIDELOADED_TRACKS_ARRAYLIST` and `SideloadedTrack.ThumbnailBuilder`.
INTENT_TITLE - Static variable in class com.castlabs.android.SdkConsts
  (optional) Use this as a bundle key to indicate a title for the currently played content
INTENT_TRICKPLAY_CONFIGURATION - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify the initial `TrickplayConfiguration` used by the player
INTENT_TRICKPLAY_ENABLED - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify whether the `Trickplay` mode should be enabled or not.
INTENT_TUNNELING_ENABLED - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store a `Boolean` and enable tunneling.
INTENT_TUNNELING_WITHOUT_AUDIO_ENABLED - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store a `Boolean` and force tunneling usage with audio track being disabled
INTENT_UNSECURE_DECODER_FALLBACK - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` to configure `PlayerConfig.unsecureDecoderFallback`
INTENT_URL - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key to indicate the playback URL
INTENT_USE_ETH0 - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` and use ETH0 for network multicast
INTENT_USE_STANDALONE_MEDIA_CLOCK - Static variable in class com.castlabs.android.SdkConsts
  If set to true, will use Exoplayer's `StandaloneMediaClock` instead of the Renderer Clock.
INTENT_USER_ID - Static variable in class com.castlabs.android.SdkConsts
  Use this key to specify the User ID.
INTENT_VIDEO_CODEC_FILTER - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `int` that will be used to configure the video codec filtering.
INTENT_VIDEO_DECODER_FALLBACK - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store an `boolean` to configure `PlayerConfig.videoDecoderFallback`
INTENT_VIDEO_FILTER - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store a `VideoFilterConfiguration` that will be used to configure the video tracks filtering.
INTENT_VIDEO_SIZE_FILTER - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.INTENT_VIDEO_FILTER`
INTENT_VIDEO_TRACK_GROUP_IDX - Static variable in class com.castlabs.android.SdkConsts
  Use this as a bundle key and set an int value that indicates the video track group that should be used.
INTENT_VIISIGHTS_DATA - Static variable in class com.castlabs.android.SdkConsts
  Use this key to store ViisightData in an intent.
intervalMs - Variable in class com.castlabs.android.player.models.SideloadedTrack
  The interval per-thumbnail for THUMBNAILS tracks.
intervalMs(long) - Method in class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
  Set the interval in ms
Invalid - Enum constant in enum com.castlabs.android.drm.KeyStatus
  Key response is received and the key is not-usable for playback
IOUtils - Class in com.castlabs.utils
  Utility functions for IO operations
IPlayerView - Interface in com.castlabs.android.player
  This interface describes the visual component of the video player.
IPTVComponent - Class in com.castlabs.android.player
  IPTV Clear Player component.
IPTVComponent(IPTVPlayerPlugin) - Constructor for class com.castlabs.android.player.IPTVComponent
  Creates a new instance of `IPTVComponent`.
IPTVPlayerPlugin - Class in com.castlabs.android.player
  A player plugin implementation for IPTV content.
IPTVPlayerPlugin() - Constructor for class com.castlabs.android.player.IPTVPlayerPlugin
  Creates a new IPTV player plugin with default settings.
IPTVPlayerPlugin(boolean) - Constructor for class com.castlabs.android.player.IPTVPlayerPlugin
  Creates a new IPTV player plugin with the specified clear playback mode.
IPTVPlayerPlugin(IptvAnalyticsListener.EventDispatcher) - Constructor for class com.castlabs.android.player.IPTVPlayerPlugin
  Creates a new IPTV player plugin with the specified event dispatcher.
IPTVPlugin - Class in com.castlabs.android.player
  Plugin for IPTV playback.
IPTVPlugin() - Constructor for class com.castlabs.android.player.IPTVPlugin
  Creates a new IPTVPlugin instance with default values.
IPTVPlugin(boolean, boolean, int, long) - Constructor for class com.castlabs.android.player.IPTVPlugin
  Creates a new IPTVPlugin instance.
iptvReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The acquisition timeout in milliseconds for IPTV-UDP/RTP requests.
iptvReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the read timeout for DRM requests
isAd - Variable in class com.castlabs.android.player.PeriodInfoProvider.PeriodInfo
  `true` if this is a period-based ad
isAd() - Method in class com.castlabs.android.player.filter.FilterFormat
  Returns whether this track belongs to an Ad Period.
isAudio() - Method in class com.castlabs.android.drm.DrmInitDataContainer
  Returns true if there is DRM initialization data for the audio track.
isAudioCodec(String) - Static method in class com.castlabs.utils.Codecs
  Checks if a given codec string represents an audio codec.
isBackgrounded() - Method in class com.castlabs.android.player.PlayerController
  Returns whether the player is currently backgrounded.
isCatchingUp() - Method in class com.castlabs.android.player.PlayerController
  Checks if the current playback is in catch-up mode.
isConnected() - Method in interface com.castlabs.android.network.ConnectivityCheck
  Returns true if an internet connection is available
isConnected() - Method in class com.castlabs.android.network.DefaultConnectivityCheck
isConnected() - Method in class com.castlabs.android.network.SocketConnectivityCheck
isDefault() - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
isDefault() - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
  Checks if this builder is the default one.
isDisabled() - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns false if the quality can be played and true otherwise
isDisabled(Drm, KeyStatus) - Static method in class com.castlabs.android.drm.DrmUtils
  Checks if a track with specified DRM and key status should be disabled.
isDisabled(KeyStatus) - Static method in class com.castlabs.android.drm.DrmUtils
  Checks if a track with specified key status should be disabled.
isDrmSupported(Drm) - Static method in class com.castlabs.android.drm.DrmUtils
  Helper function.
isDRMTodayMobile - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  Set to true for DRMToday Mobile configurations
isDynamic() - Method in class com.castlabs.android.player.models.Timeline.Window
  Returns whether this is a dynamic (live) Window or not.
isEmbedded() - Method in class com.castlabs.android.player.models.SubtitleTrack
  Returns whether this track is embedded in another TrackGroup.
isEmpty() - Method in class com.castlabs.android.player.models.Timeline
  Returns whether the Timeline is empty.
isEnableCache() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  If true, caching thumbnails will be enabled if the default loader implementation is used.
isFiltered() - Method in class com.castlabs.android.player.filter.FilterFormat
  Returns whether this track has been marked as filtered.
isFormatSupported(int, DrmConfiguration) - Method in class com.castlabs.android.player.DashPlayerPlugin
isFormatSupported(int, DrmConfiguration) - Method in class com.castlabs.android.player.HlsPlayerPlugin
isFormatSupported(int, DrmConfiguration) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
isFormatSupported(int, DrmConfiguration) - Method in interface com.castlabs.android.player.PlayerPlugin
  Check if this plugin can create a player for the given content format and DRM configuration.
isHdPlaybackEnabled() - Method in class com.castlabs.android.player.PlayerController
  Returns true if this controllers filter setting allows HD content playback.
isHdPlaybackEnabled(int, DrmConfiguration) - Static method in class com.castlabs.android.utils.SelectorUtils
  Returns true if this controllers filter setting allows HD content playback.
isHighlighted() - Method in class com.castlabs.android.player.Chapter
  Returns whether the chapter is highlighted.
isLive() - Method in class com.castlabs.android.player.PlayerController
  Returns true if the live stream is currently played otherwise false
isLoopingEnabled() - Method in class com.castlabs.android.player.PlayerController
  Returns true if looping is enables and the player will automatically restart the playback on finish.
isOutputAllowed() - Method in class com.castlabs.android.player.models.VideoTrack
  Checks if this track has at least one quality that can be played, i.e.
isPlaying() - Method in interface com.castlabs.android.adverts.AdInterface
  Check the Ad is currently playing.
isPlaying() - Method in class com.castlabs.android.player.PlayerController
  Returns true if the player is currently playing
isPlayreadyHeader(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
  Checks if the given data represents a Playready Header object.
isPlayWhenReady() - Method in class com.castlabs.android.player.PlayerController
  Returns true if the player will start playing as soon as it fills enough buffer.
isPluginRegistered(Drm) - Static method in class com.castlabs.android.PlayerSDK
  INTERNAL! This is an internal method and you will not need to call this method explicitly.
isPreserveCache() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  If true, caching is enabled, and the default loader implementation is used, the cache will be preserved and cached files will not be removed after a playback session.
isRelativeUrl() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Checks if the source URL for the thumbnail data is specified relative to the manifest.
isSeeking() - Method in class com.castlabs.android.player.PlayerController
  Returns true if the player is currently seeking to a new position.
isShown(long) - Method in class com.castlabs.android.player.Chapter
  Returns whether the chapter is shown at the given position.
isSideloaded() - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Checks if this track has been side loaded or not.
isSkippable - Variable in class com.castlabs.android.adverts.Ad
  Returns whether the Ad is Skippable
isSupportedAudioCodec(String) - Static method in class com.castlabs.android.player.PlayerController
  Checks if the given audio codec is supported.
isSupportedCodec() - Method in class com.castlabs.android.player.models.AudioTrack
  Based on the manifest mime type returns if it is possible to play this audio track either on the device querying the available decoders or via passthrough using HDMI information.
isTrickModeTrack() - Method in class com.castlabs.android.player.models.Track
  Checks if this track is a trick mode track.
isTrickplayMode() - Method in class com.castlabs.android.player.PlayerController
  Returns whether the player is currently in trickplay mode or not.
isTrue(boolean, String) - Static method in class com.castlabs.utils.Validate
  Validate that the argument condition is `true`; otherwise throwing an exception with the specified message.
isTypeSupported(TrackRendererPlugin.Type, DrmConfiguration) - Method in class com.castlabs.android.player.ClearkeyTrackRendererBuilder
isTypeSupported(TrackRendererPlugin.Type, DrmConfiguration) - Method in interface com.castlabs.android.player.TrackRendererPlugin.TrackRendererBuilder
  Checks if this builder supports the given type and DRM configuration.
isUiDisabled - Variable in class com.castlabs.android.adverts.Ad
  Returns whether the Ad IMA UI is disabled
isValid(TrackGroupArray) - Method in class com.castlabs.android.player.TrackIndexOverride
  Checks if this TrackIndexOverride is valid for the given track groups.
isVideo() - Method in class com.castlabs.android.drm.DrmInitDataContainer
  Returns true if there is DRM initialization data for the video track.
isWidevineHeader(byte[]) - Static method in class com.castlabs.android.drm.DrmUtils
  Checks if the given data represents a Widevine Header object.
ITEM_THRESHOLD_FULLY_BUFFERED - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Default value for `MultiControllerPlaylist.setNextItemThreshold(int)`.
ITEM_THRESHOLD_UPON_START - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  The value to be set in `MultiControllerPlaylist.setNextItemThreshold(int)` indicating the next stream should be prepared together with the current stream
itemChangeFlags(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Sets the behaviour that will be applied when a new playlist item is about to be played.

## J

join(Collection<String>, String) - Static method in class com.castlabs.utils.StringUtils
  Join a list of token using teh given delimiter
JSONtoBundle(JSONObject) - Static method in class com.castlabs.android.utils.DataUtils
  Converts a JSONObject to a Bundle.
justEnableAnalyticsForCurrentItem(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  If set to true the analytics sessions are just enabled for current item in the playlist.

## K

keep() - Method in class com.castlabs.android.player.filter.FilterFormat
  Marks this track to be kept by clearing the filter reason.
keep() - Method in interface com.castlabs.utils.Disposable
  Keeps the object from being disposed.
KEEP_ALL - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Flag which indicates to carry all the track selections and bandwidth estimate from one PlayerController onto the next one, as well as the `TrickplayConfiguration`.
KEEP_AUDIO_TRACK - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Flag which indicates to carry the selected `AudioTrack` from one PlayerController onto the next one.
KEEP_BANDWIDTH_ESTIMATE - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Flag which indicates to carry the last available bitrate estimate from one PlayerController onto the next one.
KEEP_SUBTITLE_TRACK - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Flag which indicates to carry the selected `SubtitleTrack` from one PlayerController onto the next one.
KEEP_TRICKPLAY_CONFIG - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Flag which indicates to carry the current `TrickplayConfiguration` from one PlayerController onto the next one.
KEEP_VIDEO_QUALITY - Static variable in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Flag which indicates to carry the selected `VideoTrackQuality` from one PlayerController onto the next one.
keepAudioEnabled - Variable in class com.castlabs.android.player.TrickplayConfiguration
  Whether to keep audio renderer enabled during trickplay.
keepAudioEnabled(boolean) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.keepAudioEnabled` and returns a reference to this Builder so that the methods can be chained together.
keepDashEventCallbackEnabled - Variable in class com.castlabs.android.player.TrickplayConfiguration
  Whether to keep `PlayerConfig.enableDashEventCallback` enabled during trickplay.
keepDashEventCallbackEnabled(boolean) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.keepDashEventCallbackEnabled` and returns a reference to this Builder so that the methods can be chained together.
keepInitialSelection - Variable in class com.castlabs.android.player.AbrConfiguration
  True if the first selection should be kept.
KEY_ASSET_ID - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the last used asset ID
KEY_AUDIO_BITRATE - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the current audio bitrate
KEY_AUDIO_DRM - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the last used DRM type
KEY_DEVICE_SECURITY_LEVEL - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the last required security level
KEY_DISPLAY_COUNT - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the current number of reported displays
KEY_DISPLAY_REMOTE - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store a boolean that indicates if the connected display is a remote display
KEY_DISPLAY_SECURE - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store a boolean that indicates if the connected display is a secure display
KEY_DISPLAY_SETTING - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the current display configuration
KEY_DRM - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the last used DRM type
KEY_DRM_URL - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the DRM backend URL for the last request
KEY_OFFLINE_ID - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the Offline ID in case offline key storage is enabled
KEY_POSITION - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the current playback position.
KEY_PRESENTATION_DISPLAY_COUNT - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the current number of reported presentation displays
KEY_REQUEST_ID - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the last used DRMToday request ID
KEY_STATE - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the current playback state
KEY_URL - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the current playback URL
KEY_VARIANT_ID - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the last used variant ID
KEY_VERSION - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the castlabs SDK version
KEY_VIDEO_BITRATE - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the current video bitrate
KEY_VIDEO_SIZE - Static variable in class com.castlabs.analytics.Crashlog
  Key used to store the current video dimensions
keyRotation - Variable in class com.castlabs.android.drm.DrmConfiguration
  Enforce Key-Rotation support also on older devices before Android M.
keyRotation(boolean) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets whether to enable key rotation on older devices
keyRotation(boolean) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Enforce Key-Rotation support also on older devices before Android M.
keySetId - Variable in class com.castlabs.android.player.DrmKeyStorage
  The ID of the key set.
KeyStatus - Enum in com.castlabs.android.drm
  DRM key status types
KeyStore - Class in com.castlabs.android.drm
  Implementations of this interface are used by the DRM Session to store and retrieve keySetIds that are used to store offline licenses.
keyValidUntilMs - Variable in class com.castlabs.android.player.DrmKeyStorage
  The timestamp in milliseconds until which the key is valid.
killBackgroundPlayer(boolean) - Method in class com.castlabs.android.player.PlayerService.Binder
  Utility method that can be used to dispose an existing background player without connecting a `PlayerView`.
kind - Variable in class com.castlabs.android.player.models.SideloadedTrack
  The kind attribute for text tracks
kind(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.SubtitleBuilder
  Set the kind

## L

label - Variable in class com.castlabs.android.player.models.SideloadedTrack
  The label for text tracks
label(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.SubtitleBuilder
  Set the label
LABEL_LOCALE - Static variable in class com.castlabs.android.player.models.Track
  For Tracks that display a language, this Locale will be used.
language - Variable in class com.castlabs.android.player.models.SideloadedTrack
  Two latter language code for text tracks
language(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.SubtitleBuilder
  Set the language
LanguageUtils - Class in com.castlabs.utils
  This object contains enums and utilities for working with language tags.
LazyImageLoader - Class in com.castlabs.android.utils
  An instance of this class can be used to load images from a given URL as Bitmaps lazily and apply them to a given `ImageView` once loaded.
LazyImageLoader(Context) - Constructor for class com.castlabs.android.utils.LazyImageLoader
  Create a new lazy image loader for a given context
LazyImageLoader(Context, int) - Constructor for class com.castlabs.android.utils.LazyImageLoader
  Create a new lazy image loader for a give context with a default image id that is applied to all image views
LazyImageLoader(Context, String, int) - Constructor for class com.castlabs.android.utils.LazyImageLoader
  Create a new lazy image loader for a give context with a default image id that is applied to all image views.
length - Variable in class com.castlabs.android.downloader.DownloadableResource
  The length in bytes or `SdkConsts.LENGTH_UNBOUNDED` if unknown
LENGTH_UNBOUNDED - Static variable in class com.castlabs.android.SdkConsts
  Represents an unbounded length of data.
licenseLoader - Static variable in class com.castlabs.android.PlayerSDK
  The license loader
LicenseLoader - Interface in com.castlabs
  An implementation of this interface is used to fetch the Castlabs license file and return its data.
LicenseServerTimeProvider - Interface in com.castlabs.android.drm
  Interface for providing server time information for DRM license requests.
listener(MultiControllerPlaylist.PlaylistListener) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Sets the `MultiControllerPlaylist.PlaylistListener`
listFiles(File, FileFilter, boolean) - Static method in class com.castlabs.utils.FileHelper
  List all the files in a given folder.
live - Variable in class com.castlabs.analytics.AnalyticsMetaData
  True if the current asset is a live stream
live - Variable in class com.castlabs.android.player.PlayerConfig
  Content live or VoD
live(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets whether this is live content
LIVE_EDGE_LATENCY_MS_UNINFORMED - Static variable in class com.castlabs.android.SdkConsts
  Indicates that live edge latency has not been informed
liveConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
  The Live configuration
liveConfiguration(LiveConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the `LiveConfiguration`
LiveConfiguration - Class in com.castlabs.android.player
  Configuration object that groups all relevant parameters related to live streaming.
LiveConfiguration() - Constructor for class com.castlabs.android.player.LiveConfiguration
  Create a new live configuration using the default values
LiveConfiguration(CustomUtcTimingElement, int, int, float, boolean, CatchupConfiguration, long, boolean, long, long, int, boolean) - Constructor for class com.castlabs.android.player.LiveConfiguration
  Create a new live configuration
LiveConfiguration.Builder - Class in com.castlabs.android.player
  Builder class for creating LiveConfiguration instances.
liveEdgeLatencyMs - Variable in class com.castlabs.android.player.LiveConfiguration
  Defines the number of milliseconds that the playback should lag behind the "live edge" (i.e.
liveEdgeLatencyMs - Variable in class com.castlabs.android.player.LowLatencyProfile
  Will override `LiveConfiguration.liveEdgeLatencyMs`
liveEdgeLatencyMs(int) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Defines the number of milliseconds that the playback should lag behind the "live edge" (i.e.
liveEdgeLatencyMs(int) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
  Defines the number of milliseconds that the playback should lag behind the "live edge"
load() - Static method in class com.castlabs.android.player.CLLibraryLoader
  Call this method to load the registered native libraries and execute the post load actions.
load() - Method in class com.castlabs.android.player.DrmLicenseLoader
  Triggers an asynchronous license loading.
load(DrmInitData, DrmInitData) - Method in interface com.castlabs.android.drm.DrmLicenseManager
  Pass in video and audio init data and trigger a license load.
load(String) - Static method in class com.castlabs.android.downloader.DownloadInfo
  Takes a path to a Manifest and checks if next to the manifest file, a download info file exists.
load(String) - Method in interface com.castlabs.android.player.PlaybackStateStorage
  Loads and returns the playback state for the given given url.
LoadControlListener - Interface in com.castlabs.android.player
  Interface definition for a callback to be notified of `CastlabsLoadControl` events.
loadImage(String, ImageView, int) - Method in class com.castlabs.android.utils.LazyImageLoader
  Asynchronously download the image from the given image URL and display the resulting bitmap on the corresponding `ImageView`.
loadImage(String, String, ImageView, int) - Method in class com.castlabs.android.utils.LazyImageLoader
  Asynchronously download the image from the given image URL and display the resulting bitmap on the corresponding `ImageView`.
log() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Logs this exception using its severity to choose the log level
log(String, String) - Static method in class com.castlabs.analytics.Crashlog
  Adds a log line to the crash context
log(String, String) - Method in interface com.castlabs.analytics.CrashReporter
  Adds a log line to the crash context
logTransferInfo(boolean) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
  Set whether to log transfer info or not.
loop(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Sets the `loop` flag
lowerTimeThresholdMs - Variable in class com.castlabs.android.player.CatchupConfiguration
  Threshold relative to the `CatchupConfiguration.timeReference` which indicates the end or destination of the Catchup.
LowLatencyProfile - Class in com.castlabs.android.player
  Profile that groups all the relevant parameters related to low latency live streaming.
LowLatencyProfile() - Constructor for class com.castlabs.android.player.LowLatencyProfile
  Create a new low latency profile with the default params
LowLatencyProfile(CustomUtcTimingElement, int, int, float, boolean, int, int) - Constructor for class com.castlabs.android.player.LowLatencyProfile
  Create a low latency profile
LowLatencyProfile.Builder - Class in com.castlabs.android.player
  Builder class for creating LowLatencyProfile instances.
lowMediaTime(int, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  Time in milliseconds that will be used by the buffer controls to determine if the buffer needs to be filled.
lowMediaTimeMs - Variable in class com.castlabs.android.player.BufferConfiguration
  Time in milliseconds that will be used by the buffer controls to determine if the buffer needs to be filled.

## M

manifest - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
  The manifest associated with this selection.
manifestConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The connection timeout in milliseconds for manifest requests
manifestConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the connection timeout for manifest requests
ManifestLicenseLoader - Class in com.castlabs
  Implementation of the `LicenseLoader` that will return license data from the Manifest meta-data.
ManifestLicenseLoader(Context) - Constructor for class com.castlabs.ManifestLicenseLoader
  Creates a new instance of ManifestLicenseLoader.
manifestModifier(ManifestModifier) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Add a `ManifestModifier` to optionally trim tracks out of it.
ManifestModifier<T> - Interface in com.castlabs.android.player
  Allows to modify a manifest before it's used for extracting track info.
manifestReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The read timeout in milliseconds for manifest requests
manifestReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the read timeout for manifest requests
manifestRetryConfiguration - Variable in class com.castlabs.android.network.NetworkConfiguration
  The `RetryConfiguration` for manifest requests that will be to determine how often to retry after loading errors
manifestRetryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the retry configuration used for manifests
manifestUrl - Variable in class com.castlabs.android.player.ExternalSourceSelector.SourceData
  The manifest URL for the source (CDN) fallback.
mapISO6392BtoISO6392T(String) - Static method in class com.castlabs.utils.LanguageUtils
  Locale supports only ISO 639-2/T and not ISO 639-2/B thus failing for languages whose two codes differ, e.g.
MATCH_LONGEST_US - Static variable in class com.castlabs.android.SdkConsts
  Represents a microsecond duration whose exact value is unknown, but which should match the longest of some other known durations.
matchesFormat(Format) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Returns true if this quality matches the given formats width, height, frameRate, codecs, bitrate, max playout rate and mimetype
maxAttempts - Variable in class com.castlabs.android.network.RetryConfiguration
  The maximum number of requests before the request will fail.
maxAttempts(int) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
  Sets the number of total attempts permitted by the configuration.
maxBitrate - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Max bitrate of the rendition in bits per second In case rendition's bitrate is not specified in the manifest then the filtering is not enabled
maxBitrate(long) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `maxBitrate` and returns a reference to this Builder so that the methods can be chained together.
maxDelayMs - Variable in class com.castlabs.android.network.RetryConfiguration
  The upper bound for delays.
maxDelayMs(long) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
  Sets the maximum delay permitted by the configuration
maxDuration - Variable in class com.castlabs.android.adverts.AdPodData
  Returns the maximum duration of the pod in seconds.
maxDurationForQualityDecrease(long, TimeUnit) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  The maximum amount of data that is expected to be buffered before a quality decrease is permitted.
maxDurationForQualityDecreaseUs - Variable in class com.castlabs.android.player.AbrConfiguration
  The maximum amount of data that is expected to be buffered before a quality decrease is permitted.
maxFramerate - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Max framerate of the rendition In case rendition's framerate is not specified in the manifest then the filtering is not enabled
maxFramerate(float) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `maxFramerate` and returns a reference to this Builder so that the methods can be chained together.
maxHeight - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Max height of the rendition in pixels, ignored if `VideoFilterConfiguration.enableViewportFilter` is set.
maxHeight(int) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `maxHeight` and returns a reference to this Builder so that the methods can be chained together.
maxInitialBitrate - Variable in class com.castlabs.android.player.AbrConfiguration
  The bandwidth estimation in bits per second that is used when the bandwidth estimator reports that it can not estimate due to lack of information.
maxInitialBitrate(long) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  The bandwidth estimation in bits per second that is used when the bandwidth estimator reports that it can not estimate due to lack of information.
maxPixel - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Max number of pixels (width * height) of the rendition In case rendition's resolution is not specified in the manifest then the filtering is not enabled
maxPixel(long) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `maxPixel` and returns a reference to this Builder so that the methods can be chained together.
maxSeekFps - Variable in class com.castlabs.android.player.TrickplayConfiguration
  Maximum amount of frames per second to show during `seek` mode.
maxSeekFps(double) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.maxSeekFps` and returns a reference to this Builder so that the methods can be chained together.
maxTrackBitrate - Variable in class com.castlabs.android.player.TrickplayConfiguration
  Defines the maximum bitrate for Trickplay track selection, if `TrickplayConfiguration.preferTrickPlayTracks` is set to true.
maxTrackBitrate(int) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.maxTrackBitrate` and returns a reference to this Builder so that the methods can be chained together.
maxWidth - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Max width of the rendition in pixels, ignored if `VideoFilterConfiguration.enableViewportFilter` is set.
maxWidth(int) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `maxWidth` and returns a reference to this Builder so that the methods can be chained together.
md5(String) - Static method in class com.castlabs.utils.HashUtils
  Takes a string and returns the HEX representation of the MD5 sum for the given string.
measureSize(int, int) - Method in class com.castlabs.android.player.PlayerView
  Calculates the appropriate width and height for the video surface based on the measured dimensions and scaling mode.
MEDIA_END - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.TimeReference
  Wil use the media end as the time reference.
MediaCodecInfo - Class in com.castlabs.android.player
  Container class holding the media codec name associated with the mimetype
MediaCodecInfo(String, String) - Constructor for class com.castlabs.android.player.MediaCodecInfo
  Creates the container class.
mediaCodecInfos(ArrayList<MediaCodecInfo>) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the preferred codecs for specified mimetypes.
mediaDrmProperties - Variable in class com.castlabs.android.drm.DrmConfiguration
  This bundle contains key-value pairs as the properties of Widevine mediaDrm.
mediaDrmProperties(Bundle) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets the MediaDrm properties
mediaDrmProperties(Bundle) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Sets the mediaDrmProperties bundle
MediaTrackEventListener - Interface in com.castlabs.android.player
  Interface for receiving notifications about media track events.
mediaTypeToString(int) - Static method in class com.castlabs.android.SdkConsts
  Utility method that translates a media type to a string
MemoryHlsClearKeyCache - Class in com.castlabs.android.player
  Cache for `Drm.Clearkey` which stores keys in memory.
MemoryHlsClearKeyCache() - Constructor for class com.castlabs.android.player.MemoryHlsClearKeyCache
  Create an empty cache with a size of `MemoryHlsClearKeyCache.DEFAULT_CACHE_SIZE`
MemoryHlsClearKeyCache(int, Map<Uri, byte[]>) - Constructor for class com.castlabs.android.player.MemoryHlsClearKeyCache
  Creates a cache with a size of maxCacheSize and pre-filled with the provided Map.
MemoryHlsClearKeyCache(Map<Uri, byte[]>) - Constructor for class com.castlabs.android.player.MemoryHlsClearKeyCache
  Create a cache with a size of `MemoryHlsClearKeyCache.DEFAULT_CACHE_SIZE` and pre-filled with the provided Map.
MemoryKeyStore - Class in com.castlabs.android.drm
  Simple implementation of `KeyStore` that stores all keys in memory.
MemoryKeyStore() - Constructor for class com.castlabs.android.drm.MemoryKeyStore
  Creates a new instance of MemoryKeyStore.
merchant - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  The merchant
MERGE_VIDEO_TRACKS - Static variable in class com.castlabs.android.PlayerSDK
  Global parameter to enable or disable the video merging option, default is `true`
mergeVideoTracks - Variable in class com.castlabs.android.player.PlayerConfig
  If True, the video tracks will be merged into a single video track
mergeVideoTracks(boolean) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Explicitly set the merge video tracks flag.
mergeVideoTracks(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets whether to merge video tracks
messageData(byte[]) - Method in class com.castlabs.android.player.models.mpd.EventMessage.Builder
  Sets the body of the message.
metaData - Variable in class com.castlabs.android.player.PlayerConfig
  Optional metadata
metaData(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the Bundle metadata
METADATA_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
  Identifies the metadata renderers for HLS ID3 metadata
MetadataListener - Interface in com.castlabs.android.player
  You can use this listener to get callbacks about timed Meta-Data attached to a stream.
method - Variable in class com.castlabs.android.player.AbrConfiguration
  The ABR method
method(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Select the underlying ABR method as one of `AbrConfiguration.METHOD_COMMON_NBA`, `AbrConfiguration.METHOD_EXO`, `AbrConfiguration.METHOD_ITERATE`, or `AbrConfiguration.METHOD_FLIP`.
METHOD_COMMON_NBA - Static variable in class com.castlabs.android.player.AbrConfiguration
  Common across platforms implementation of network based adaptation
METHOD_EXO - Static variable in class com.castlabs.android.player.AbrConfiguration
  Exo implementation of network based adaptation
METHOD_FLIP - Static variable in class com.castlabs.android.player.AbrConfiguration
  Flip between lowest and highest quality (FOR DEBUGGING)
METHOD_ITERATE - Static variable in class com.castlabs.android.player.AbrConfiguration
  Iterate through renditions (FOR DEBUGGING)
migratePlayerListeners(PlayerController, PlayerController) - Static method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Deprecated.
  Use `PlayerController.movePlayerListeners(PlayerController)`
MIME_TYPE_CEA608 - Static variable in class com.castlabs.android.SdkConsts
  Mime type for CEA608
MIME_TYPE_DVBSUBS - Static variable in class com.castlabs.android.SdkConsts
  Mime type for DVB subtitles
MIME_TYPE_DVBTTX - Static variable in class com.castlabs.android.SdkConsts
  Mime type for DVB Teletext
MIME_TYPE_JPEG - Static variable in class com.castlabs.android.SdkConsts
  Mime type for Dash embedded thumbnails
MIME_TYPE_MP4_VTT - Static variable in class com.castlabs.android.SdkConsts
  Mime type for MP4 embedded VTT
MIME_TYPE_SRT - Static variable in class com.castlabs.android.SdkConsts
  Mime type for SRT
MIME_TYPE_TTML - Static variable in class com.castlabs.android.SdkConsts
  Mime type for TTML
MIME_TYPE_VTT - Static variable in class com.castlabs.android.SdkConsts
  Mime type for VTT
mimeType - Variable in class com.castlabs.android.player.MediaCodecInfo
  The MIME type of the media codec.
mimeType - Variable in class com.castlabs.android.player.models.SideloadedTrack
  The MIME type of the track.
mimeType(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.Builder
  Set the mime type
minBitrate - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Min bitrate of the rendition in bits per second In case rendition's bitrate is not specified in the manifest then the filtering is not enabled
minBitrate(long) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `minBitrate` and returns a reference to this Builder so that the methods can be chained together.
minDegradationSamples - Variable in class com.castlabs.android.player.AbrConfiguration
  The minium number of segments observed before buffer degradation detection is permitted.
minDegradationSamples(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Set the `AbrConfiguration.minDegradationSamples`
minDurationForQualityIncrease(long, TimeUnit) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  The minimum amount of that data is expected to be buffered before a quality increase is permitted.
minDurationForQualityIncreaseUs - Variable in class com.castlabs.android.player.AbrConfiguration
  The minimum amount of that data is expected to be buffered before a quality increase is permitted.
minDurationToRetainAfterDiscard(long, TimeUnit) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  The minimum duration of the buffer to retain after discarding the segments when switching to significantly higher quality (i.e.
minDurationToRetainAfterDiscardUs - Variable in class com.castlabs.android.player.AbrConfiguration
  Duration of the buffer to retain after discarding chunks e.g.
minFramerate - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Min framerate of the rendition In case rendition's framerate is not specified in the manifest then the filtering is not enabled
minFramerate(float) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `minFramerate` and returns a reference to this Builder so that the methods can be chained together.
minHeight - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Min height of the rendition in pixels In case rendition's height is not specified in the manifest then the filtering is not enabled
minHeight(int) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `minHeight` and returns a reference to this Builder so that the methods can be chained together.
minManifestUpdatePeriodMs - Variable in class com.castlabs.android.player.LiveConfiguration
  By default the manifest update period is defined by the manifest.
minManifestUpdatePeriodMs(long) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Set a forced manifest update period for DASH Manifests and ignore the default value specified in the manifest.
minPixel - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Min number of pixels (width * height) of the rendition In case rendition's resolution is not specified in the manifest then the filtering is not enabled
minPixel(long) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `minPixel` and returns a reference to this Builder so that the methods can be chained together.
minPlaybackStart(int, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  The minimum duration of data that must be buffered for playback to start or resume following a user action such as a seek.
minPlaybackStartMs - Variable in class com.castlabs.android.player.BufferConfiguration
  The minimum duration of data that must be buffered for playback to start or resume following a user action such as a seek.
minPlaybackStartMs - Variable in class com.castlabs.android.player.LowLatencyProfile
  Will override `BufferConfiguration.minPlaybackStartMs`
minPlaybackStartMs(int) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
  The minimum duration of data that must be buffered for playback to start or resume following a user action such as a seek
minRebufferStart(int, TimeUnit) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  The minimum duration of data that must be buffered for playback to resume after a player invoked rebuffer (i.e.
minRebufferStartMs - Variable in class com.castlabs.android.player.BufferConfiguration
  The minimum duration of data that must be buffered for playback to resume after a player invoked rebuffer (i.e.
minRebufferStartMs - Variable in class com.castlabs.android.player.LowLatencyProfile
  Will override `BufferConfiguration.minRebufferStartMs`
minRebufferStartMs(int) - Method in class com.castlabs.android.player.LowLatencyProfile.Builder
  The minimum duration of data that must be buffered for playback to resume after a player invoked rebuffer
minSampledBytes - Variable in class com.castlabs.android.player.AbrConfiguration
  The min number of totally transferred bytes before the ABR calculations are considered reliable, applicable to `AbrConfiguration.METHOD_COMMON_NBA`
minSampledBytes(long) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Set the `AbrConfiguration.minSampledBytes`
minWidth - Variable in class com.castlabs.android.player.VideoFilterConfiguration
  Min width of the rendition in pixels
minWidth(int) - Method in class com.castlabs.android.player.VideoFilterConfiguration.Builder
  Sets the `minWidth` and returns a reference to this Builder so that the methods can be chained together.
ModelSelection() - Constructor for class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
  Constructs a new ModelSelection instance.
ModifierDataSourceFactory - Class in com.castlabs.android.network
  Delegating data source factory that will trigger all `RequestModifier`s registered with the player controller.
ModifierDataSourceFactory(DataSourceFactory, int, List<RequestModifier>, List<ResponseModifier>) - Constructor for class com.castlabs.android.network.ModifierDataSourceFactory
  Create a new instance of this data source factory
ModifierDataSourceFactory(DataSourceFactory, int, List<RequestModifier>, List<ResponseModifier>, NetworkConfiguration, RequestModifier.Listener) - Constructor for class com.castlabs.android.network.ModifierDataSourceFactory
  Create a new instance of this data source factory
movePlayerListeners(PlayerController) - Method in class com.castlabs.android.player.PlayerController
  Migrates all the listeners from this PlayerController to the given one.
MPDParser - Class in com.castlabs.android.player
  Extends the default ExoPlayer DASH Manifest parsers.
MPDParser(boolean, boolean) - Constructor for class com.castlabs.android.player.MPDParser
  Creates a new MPDParser instance.
MPDParser(boolean, boolean, long, long) - Constructor for class com.castlabs.android.player.MPDParser
  Creates a new MPDParser instance with manifest update period and availability start time offset.
MPDParser(boolean, boolean, long, long, long) - Constructor for class com.castlabs.android.player.MPDParser
  Creates a new MPDParser instance with manifest update period, availability start time offset, and subtitle offset.
ms2s(long) - Static method in class com.castlabs.utils.TimeUtils
  Converts Milliseconds to Seconds
ms2us(long) - Static method in class com.castlabs.utils.TimeUtils
  Converts Milliseconds to Microseconds
MSG_MANIFEST_LOADING_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Message reported by exceptions of type `CastlabsPlayerException.TYPE_MANIFEST_LOADING_FAILED`
MSG_VIDEO_DECODER_INITIALIZATION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Message reported by exceptions of type `CastlabsPlayerException.TYPE_VIDEO_DECODER_INITIALIZATION`
MultiControllerPlaylist - Class in com.castlabs.android.player.playlist
  Playlist management.
MultiControllerPlaylist(Context, MultiControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Deprecated.
  Use the `Builder`.
MultiControllerPlaylist(PlayerView, MultiControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Deprecated.
  Use the `Builder`.
MultiControllerPlaylist.AbstractPlaylistListener - Class in com.castlabs.android.player.playlist
  Abstract implementation of the `MultiControllerPlaylist.PlaylistListener`.
MultiControllerPlaylist.Builder - Class in com.castlabs.android.player.playlist
  Builder for `MultiControllerPlaylist`
MultiControllerPlaylist.ItemChangeFlags - Annotation Type in com.castlabs.android.player.playlist
  Flags to be used when changing the item in the Playlist.
MultiControllerPlaylist.PlaylistListener - Interface in com.castlabs.android.player.playlist
  Playlist-related events listener.
MutableVideoTrack - Class in com.castlabs.android.player.models
  Subclass of `VideoTrack` which allows for `adding` and `removing` `VideoTrackQuality`.
MutableVideoTrack() - Constructor for class com.castlabs.android.player.models.MutableVideoTrack
  Creates a new instance of `MutableVideoTrack`.
MutableVideoTrack(long) - Constructor for class com.castlabs.android.player.models.MutableVideoTrack
  Creates a new instance of `MutableVideoTrack`.

## N

networkConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
  The network configuration
networkConfiguration(NetworkConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the `NetworkConfiguration`
NetworkConfiguration - Class in com.castlabs.android.network
  Network configuration for the Castlabs SDK.
NetworkConfiguration() - Constructor for class com.castlabs.android.network.NetworkConfiguration
  Creates a new NetworkConfiguration with default values.
NetworkConfiguration.Builder - Class in com.castlabs.android.network
  Builder for `NetworkConfiguration` instances.
NetworkMessage<HeaderValueType> - Class in com.castlabs.android.network
  Base class for network requests and responses
newInstance(UUID) - Static method in class com.castlabs.android.drm.CastlabsMediaDrm
  Creates a new instance of CastlabsMediaDrm for the specified DRM scheme UUID.
nextItem() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Advances playback to the next Playlist item.
nextItem() - Method in interface com.castlabs.android.player.Playlist
  Advances playback to the next Playlist item.
nextItem() - Method in class com.castlabs.android.player.SingleControllerPlaylist
nextItemThresholdMs(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Sets the `nextItemThreshold` in milliseconds.
NO_AUDIO_CODEC - Enum constant in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
  Tunneling mode could not be enabled because there is no audio codec.
NO_VIDEO_CODEC - Enum constant in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
  Tunneling mode could not be enabled because there is no video codec.
none() - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
  Configure the none catchup mode
NONE - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.Type
  Do nothing.
NotFound - Enum constant in enum com.castlabs.android.drm.KeyStatus
  Key response is received but the key was not found and therefore not-usable for playback
notifyManifestIntervalMs - Variable in class com.castlabs.android.player.LiveConfiguration
  Sets the manifest notify interval in milliseconds.
notifyManifestIntervalMs(int) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Set the manifest notify interval in milliseconds.
notNull(Object) - Static method in class com.castlabs.utils.Validate
  Validate that the specified argument is not `null`; otherwise throwing an exception.
notNull(Object, String) - Static method in class com.castlabs.utils.Validate
  Validate that the specified argument is not `null`; otherwise throwing an exception with the specified message.
ns2ms(long) - Static method in class com.castlabs.utils.TimeUtils
  Converts Nanoseconds to Milliseconds
numberOfPresentationDisplays - Variable in class com.castlabs.android.player.DisplayInfo
  The number of presentation displays.
numberOfTotalDisplays - Variable in class com.castlabs.android.player.DisplayInfo
  The total number of displays

## O

offlineId - Variable in class com.castlabs.android.drm.DrmConfiguration
  This is used to identify this DRM Configuration and its asset when storing offline keys.
offlineId(String) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets the offline ID for this configuration
offlineId(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Set the ID that will be used to store the offline key for this DRM configuration.
Oma - Enum constant in enum com.castlabs.android.drm.Drm
  Deprecated.
  OMA-DRM is deprecated in favor of Widevine. This value is present for backwards compatibility reasons.
onAdClicked(String) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
  Fired when the ad is clicked
onAdCompleted() - Method in interface com.castlabs.android.adverts.AdInterface.Listener
  This callback is fired right after the Ad playback has finished.
onAdError(Ad, CastlabsPlayerException) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
  This callback is fired if there is an error on loading or during the Ad playback.
onAdPaused() - Method in interface com.castlabs.android.adverts.AdInterface.Listener
  Fired when playback is paused while playing an ad
onAdPlaybackPositionChanged(long) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
  Event triggered when the Ad playback position changed.
onAdResumed(Ad) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
  Fired when playback is resumed while playing an ad
onAdSkipped() - Method in interface com.castlabs.android.adverts.AdInterface.Listener
  This callback is fired if the user skip the Ad
onAdStarted(Ad) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
  This callback is fired right before the Ad is about to start playing.
onAdWillStart(Ad) - Method in interface com.castlabs.android.adverts.AdInterface.Listener
  This callback is fired when the Ad begins loading.
onAudioCapabilitiesChanged(AudioCapabilities) - Method in class com.castlabs.android.player.AudioCapabilitiesManager
onAudioDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
onAudioDecoderInitialized(String, long, long) - Method in interface com.castlabs.android.player.AudioRendererListener
  Called when a decoder is created.
onAudioDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.AudioTrackListener
onAudioDisabled(DecoderCounters) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
onAudioDisabled(DecoderCounters) - Method in interface com.castlabs.android.player.AudioRendererListener
  Called when the renderer is disabled.
onAudioDisabled(DecoderCounters) - Method in class com.castlabs.android.player.AudioTrackListener
onAudioEnabled(DecoderCounters) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
onAudioEnabled(DecoderCounters) - Method in interface com.castlabs.android.player.AudioRendererListener
  Called when the renderer is enabled.
onAudioEnabled(DecoderCounters) - Method in class com.castlabs.android.player.AudioTrackListener
onAudioFormatChange(Format, int, long) - Method in interface com.castlabs.android.player.FormatChangeListener
  Invoked when the downstream audio format changed.
onAudioInputFormatChanged(Format) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
onAudioInputFormatChanged(Format) - Method in interface com.castlabs.android.player.AudioRendererListener
  Called when the format of the media being consumed by the renderer changes.
onAudioInputFormatChanged(Format) - Method in class com.castlabs.android.player.AudioTrackListener
onAudioSessionId(int) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
onAudioSessionId(int) - Method in interface com.castlabs.android.player.AudioRendererListener
  Called when the audio session is set.
onAudioSessionId(int) - Method in class com.castlabs.android.player.AudioTrackListener
onAudioSinkUnderrun(int, long, long) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
onAudioSinkUnderrun(int, long, long) - Method in interface com.castlabs.android.player.AudioRendererListener
  Called when an `AudioSink` underrun occurs.
onAudioSinkUnderrun(int, long, long) - Method in class com.castlabs.android.player.AudioTrackListener
onAudioTrackChanged(AudioTrack) - Method in interface com.castlabs.android.player.TrackSelectionListener
  Called when the selected audio track changes.
onAudioTrackConfigurationError(AudioSink.ConfigurationException) - Method in class com.castlabs.android.player.AudioTrackListener
  Called when an error occurs configuring an `AudioSink`.
onAudioTrackInitializationError(AudioSink.InitializationException) - Method in class com.castlabs.android.player.AudioTrackListener
  Called when an error occurs initializing an `AudioSink`.
onAudioTracks(Collection<AudioTrack>) - Method in class com.castlabs.android.player.filter.AbstractPlayerModelFilter
onAudioTracks(Collection<AudioTrack>) - Method in interface com.castlabs.android.player.filter.PlayerModelFilter
  Apply custom filter logic on AudioTracks.
onAudioTrackWriteError(AudioSink.WriteException) - Method in class com.castlabs.android.player.AudioTrackListener
  Called when an error occurs writing data to an `AudioSink`.
onBeforeRelease(boolean) - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
  Called before the `PlayerViewLifecycleDelegate.releasePlayer(boolean)` method starts.
onBeforeRelease(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onBind(Intent) - Method in class com.castlabs.android.player.PlayerService
onBytesTransferred(DataSource, DataSpec, boolean, int) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
onCatchupEnded() - Method in class com.castlabs.android.player.AbstractCatchupListener
  Catchup has ended.
onCatchupEnded() - Method in interface com.castlabs.android.player.CatchupListener
  Catchup has ended.
onCatchupSeek(CatchupConfiguration.Type) - Method in class com.castlabs.android.player.AbstractCatchupListener
  A seek operation was triggered.
onCatchupSeek(CatchupConfiguration.Type) - Method in interface com.castlabs.android.player.CatchupListener
  A seek operation was triggered.
onCatchupStarted(float) - Method in class com.castlabs.android.player.AbstractCatchupListener
  Catchup has started.
onCatchupStarted(float) - Method in interface com.castlabs.android.player.CatchupListener
  Catchup has started.
onComponentError(DrmLicenseManagerComponent, Exception) - Method in interface com.castlabs.android.drm.DrmLicenseManager
  Called when a `DrmLicenseManagerComponent` triggers an error
onComponentViewsChanged(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.ComponentViewListener
  Called whenever the list of ComponentViews in the `PlayerController` has changed.
onComponentViewsChanged(PlayerController) - Method in class com.castlabs.android.player.VisualComponentProxy
onContentMediaSource(PlayerConfig, MediaSource) - Method in interface com.castlabs.android.adverts.AdLoader
  Notifies the loader of the content `MediaSource` that will be used for playback.
onContentMediaSource(PlayerConfig, MediaSource) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
onContentMediaSource(PlayerConfig, MediaSource) - Method in class com.castlabs.android.adverts.ServerAdLoader
onControllerCreate(PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
onControllerCreate(PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
  Called when a `PlayerController` is created.
onControllerDestroy(PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
onControllerDestroy(PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
  Player controller is destroyed.
onControllerError(PlayerController, CastlabsPlayerException, PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
onControllerError(PlayerController, CastlabsPlayerException, PlayerConfig) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
  Called if a `PlayerController` fires an error.
onControllerLoad(PlayerConfig, PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
onControllerLoad(PlayerConfig, PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
  Called right before starting to load an item into the given `PlayerController`.
onControllerRelease(PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
onControllerRelease(PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
  Player controller is released.
onCreate() - Method in class com.castlabs.android.player.PlayerService
onCryptoError(MediaCodec.CryptoException) - Method in class com.castlabs.android.player.AudioTrackListener
onCryptoError(MediaCodec.CryptoException) - Method in interface com.castlabs.android.player.MediaTrackEventListener
  Invoked when a decoder operation raises a `DecryptionException`.
onCryptoError(MediaCodec.CryptoException) - Method in class com.castlabs.android.player.VideoTrackListener
onCueEnd(EventMessage) - Method in interface com.castlabs.android.player.EventStreamListener
  Callback method that will be triggered on cue-end
onCueStart(EventMessage) - Method in interface com.castlabs.android.player.EventStreamListener
  Callback method that will be triggered on cue-start
onCustomDashEvent(CustomDashEventListener.CustomEvent) - Method in interface com.castlabs.android.player.CustomDashEventListener
  Callback method that will be triggered on custom DASH events
onDecoderInitializationError(MediaCodecRenderer.DecoderInitializationException) - Method in class com.castlabs.android.player.AudioTrackListener
onDecoderInitializationError(MediaCodecRenderer.DecoderInitializationException) - Method in interface com.castlabs.android.player.MediaTrackEventListener
  Invoked when a decoder fails to initialize.
onDecoderInitializationError(MediaCodecRenderer.DecoderInitializationException) - Method in class com.castlabs.android.player.VideoTrackListener
onDestroy() - Method in class com.castlabs.android.player.PlayerService
onDestroy(PlayerController) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
onDestroy(PlayerController) - Method in class com.castlabs.android.player.AbstractPlayerControllerListener
onDestroy(PlayerController) - Method in class com.castlabs.android.player.IPTVComponent
onDestroy(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerListener
  Called when the controller is destroyed
onDestroy(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.Component
  Called when the controller is destroyed.
onDestroy(PlayerController) - Method in class com.castlabs.android.player.VisualComponentProxy
onDestroy(ExtensibleSdkElement) - Method in interface com.castlabs.android.thumbs.ExtensibleSdkElement.Extension
  Called when the element is destroyed.
onDisplayChanged(DisplayInfo, boolean) - Method in class com.castlabs.android.player.AbstractPlayerListener
onDisplayChanged(DisplayInfo, boolean) - Method in interface com.castlabs.android.player.PlayerListener
  Callback triggered when the underlying screen information changes.
onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
onDroppedFrames(int, long) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
onDroppedFrames(int, long) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onDroppedFrames(int, long) - Method in interface com.castlabs.android.player.VideoRendererListener
  Called to report the number of frames dropped by the renderer.
onDroppedFrames(int, long) - Method in class com.castlabs.android.player.VideoTrackListener
onDurationChanged(long) - Method in class com.castlabs.android.player.AbstractPlayerListener
onDurationChanged(long) - Method in interface com.castlabs.android.player.PlayerListener
  Callback triggered when the stream duration has been refreshed.
onError(ProvisioningManager.ProvisionException) - Method in interface com.castlabs.android.drm.ProvisioningManager.ProvisionedCallback
  Triggered when the provisioning request failed.
onError(CastlabsPlayerException) - Method in class com.castlabs.android.player.AbstractPlayerListener
onError(CastlabsPlayerException) - Method in interface com.castlabs.android.player.DrmLicenseLoader.Callback
  Called when an error occurs during license loading
onError(CastlabsPlayerException) - Method in interface com.castlabs.android.player.PlayerListener
  Error callback that is called when exceptions are raised on background threads.
onError(CastlabsPlayerException) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onError(Exception) - Method in interface com.castlabs.android.adverts.AdLoader.Listener
  Called when an error occurs e.g.
onError(String, Exception) - Method in interface com.castlabs.android.player.ExternalSourceSelector
  Called when error occurs during manifest or chunk download.
onEventsChanged(PlayerConfig, Collection<EventMessage>, Collection<EventMessage>, Collection<EventMessage>) - Method in interface com.castlabs.android.player.EventMessagesListener
  Called when event messages have changed.
onEventsUpdated(List<EventStream>, Timeline.Period) - Method in interface com.castlabs.android.player.EventStreamListListener
  Returns the list of event-streams in the period.
onExoPlayerStateChanged(boolean, int) - Method in class com.castlabs.analytics.AnalyticsSession
onExoPlayerStateChanged(boolean, int) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Lets the Analytics Sessions know of any state changes in ExoPlayer.
onExoPlayerStateChangedInternal(boolean, int) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
onFatalErrorOccurred(CastlabsPlayerException) - Method in class com.castlabs.android.player.AbstractPlayerListener
onFatalErrorOccurred(CastlabsPlayerException) - Method in interface com.castlabs.android.player.PlayerListener
  Error callback that is called when a fatal exception is raised on background threads.
onFatalErrorOccurred(CastlabsPlayerException) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onFullyBuffered() - Method in class com.castlabs.android.player.AbstractPlayerListener
onFullyBuffered() - Method in interface com.castlabs.android.player.PlayerListener
  Invoked when all the remaining content has been buffered.
onFullyBuffered() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onGetMetadata(Ad) - Method in interface com.castlabs.android.adverts.AdClientInterface.Listener
  Provides bundled Ad metadata.
onIntent(Intent) - Method in interface com.castlabs.android.player.PlayerService.NotificationHandler
  Receive notification intent to handle
onInterstitialResolved(HlsInterstitial, Collection<HlsInterstitial.Asset>) - Method in class com.castlabs.android.player.HlsInterstitialListener
  Called when an HLS interstitial is resolved.
onItemChange(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist.AbstractPlaylistListener
onItemChange(PlayerConfig) - Method in interface com.castlabs.android.player.SingleControllerPlaylist.PlaylistListener
  Called every time a new item, defined by a `PlayerConfig` starts playing.
onItemChange(PlayerConfig, PlayerController, PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
onItemChange(PlayerConfig, PlayerController, PlayerController) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
  Called every time a new playlist item is about to start.
onItemLoad(PlayerConfig) - Method in interface com.castlabs.android.player.SingleControllerPlaylist.ItemLoadListener
  The provided config has been loaded onto the playlist
onItemUnload(PlayerConfig) - Method in interface com.castlabs.android.player.SingleControllerPlaylist.ItemLoadListener
  The provided config has been unloaded from the playlist
onLicenseKeysChanged() - Method in interface com.castlabs.android.drm.DrmEventListener
  Called when keys are changed e.g.
onLicenseKeysChanged() - Method in class com.castlabs.android.player.ExtendedTrackSelector
onLicenseKeysLoaded() - Method in interface com.castlabs.android.drm.DrmEventListener
  Called when a key was loaded successfully
onLicenseKeysLoaded() - Method in class com.castlabs.android.player.ExtendedTrackSelector
onLicenseLoaded() - Method in interface com.castlabs.android.player.DrmLicenseLoader.Callback
  Called when the license was loaded successfully
onLicenseLoadError(int, int, DownloadException) - Method in interface com.castlabs.android.drm.DrmEventListener
  Called when license load error occurred
onLicenseLoadError(int, int, DownloadException) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onLicenseRemoved() - Method in interface com.castlabs.android.player.DrmLicenseLoader.Callback
  Called when the license was removed from internal storage successfully
onLoadCanceled(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
onLoadCanceled(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
onLoadCanceled(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>) - Method in interface com.castlabs.android.player.StreamingEventListener
  Invoked when the current upstream load operation is canceled.
onLoadCompleted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
onLoadCompleted(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
onLoadCompleted(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>) - Method in interface com.castlabs.android.player.StreamingEventListener
  Invoked when a load operation completes.
onLoadError(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
onLoadError(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>, DownloadException) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
onLoadError(DataSpec, int, int, int, Format, long, long, long, long, long, int, int, Map<String, List<String>>, DownloadException) - Method in interface com.castlabs.android.player.StreamingEventListener
  Invoked when the current upstream load operation fails.
onLoadingChanged(boolean, long, long, long, boolean, float) - Method in interface com.castlabs.android.player.LoadControlListener
  Invoked each time the loading result is changed.
onLoadStarted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
onLoadStarted(DataSpec, int, int, int, Format, long, long, int, int, Map<String, List<String>>) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
onLoadStarted(DataSpec, int, int, int, Format, long, long, int, int, Map<String, List<String>>) - Method in interface com.castlabs.android.player.StreamingEventListener
  Invoked when an upstream load is started.
onManifest(T) - Method in interface com.castlabs.android.player.ManifestModifier
  Called when a manifest is loaded, allowing modification before it's used for track info extraction.
onMediaPeriodCreated(int, MediaSource.MediaPeriodId) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
onMediaPeriodReleased(int, MediaSource.MediaPeriodId) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
onMediaSource(MediaSource) - Method in interface com.castlabs.android.adverts.AdLoader.Listener
  Called when media source is successfully created
onMetadata(List<Metadata.Entry>) - Method in class com.castlabs.android.player.EventMetadataListener
onMetadata(List<Metadata.Entry>) - Method in interface com.castlabs.android.player.MetadataListener
  Callback method that will be triggered with newly available meta-data.
onNoRendererFound(int) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
  Informs that no active Renderer has been found for the given mediaType.
onOpenBundle(PlayerController, Bundle) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
onOpenBundle(PlayerController, Bundle) - Method in class com.castlabs.android.player.IPTVComponent
onOpenBundle(PlayerController, Bundle) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.Component
  Called when the player controller is opened with a bundle.
onOpenBundle(PlayerController, Bundle) - Method in class com.castlabs.android.player.VisualComponentProxy
onOpenState(PlayerController, PlayerConfig) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
onOpenState(PlayerController, PlayerConfig) - Method in class com.castlabs.android.player.IPTVComponent
onOpenState(PlayerController, PlayerConfig) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.Component
  Called when the player controller is opened with a config.
onOpenState(PlayerController, PlayerConfig) - Method in class com.castlabs.android.player.VisualComponentProxy
onPeriodChanged(Timeline.Period) - Method in interface com.castlabs.android.player.PeriodChangedListener
  Invoked whenever the current playing `Timeline.Period` changes
onPeriodChanged(Timeline.Period) - Method in interface com.castlabs.android.player.TimelineListener
  Deprecated.
  Called whenever the period being currently played is changed.
onPlaybackPositionChanged(long) - Method in class com.castlabs.android.player.AbstractPlayerListener
onPlaybackPositionChanged(long) - Method in interface com.castlabs.android.player.PlayerListener
  Event triggered when the playback position changed.
onPlaybackPositionChanged(long) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onPlayerModelChanged() - Method in class com.castlabs.android.player.AbstractPlayerListener
onPlayerModelChanged() - Method in interface com.castlabs.android.player.PlayerListener
  Callback triggered when the player model has been changed and the `PlayerController` can now be queried for available and selected video tracks and qualities, audio tracks and subtitle tracks and the duration.
onPlayerStateChanged(boolean, int) - Method in interface com.castlabs.android.adverts.AdLoader
  Called when the player state is changed
onPlayerStateChanged(boolean, int) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
onPlaylistEnded() - Method in class com.castlabs.android.player.SingleControllerPlaylist.AbstractPlaylistListener
onPlaylistEnded() - Method in interface com.castlabs.android.player.SingleControllerPlaylist.PlaylistListener
  Called when the playlist reaches the end.
onPlaylistEndReached(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.AbstractPlaylistListener
onPlaylistEndReached(boolean) - Method in interface com.castlabs.android.player.playlist.MultiControllerPlaylist.PlaylistListener
  Called whenever the MultiControllerPlaylist has played the last item in the playlist.
onPositionDiscontinuity(int) - Method in interface com.castlabs.android.adverts.AdLoader
  Called when the playback discontinuity occurs
onPositionDiscontinuity(int) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
onPositionFramesMismatch(long, long, long, long) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
onPositionFramesMismatch(long, long, long, long) - Method in interface com.castlabs.android.player.AudioRendererListener
  Called when the frame position is too far from the expected frame position.
onPostDestroy() - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
  Called after the `PlayerViewLifecycleDelegate.destroy()` method has completed.
onPostDestroy() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onPostLoad() - Method in interface com.castlabs.android.player.CLLibraryLoader.PostLoadAction
  Method that is called after all libraries are loaded
onPostRelease(boolean) - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
  Called after the `PlayerViewLifecycleDelegate.releasePlayer(boolean)` method has completed.
onPostRelease(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onPostResume(PlayerController) - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
  Called after the `PlayerViewLifecycleDelegate.resume()` method has completed.
onPostResume(PlayerController) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onPostStart() - Method in interface com.castlabs.android.player.PlayerViewLifecycleDelegate.LifecycleListener
  Called after the `PlayerViewLifecycleDelegate.start(Activity)` method has completed.
onPostStart() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onPrepare(ExtensibleSdkElement) - Method in interface com.castlabs.android.thumbs.ExtensibleSdkElement.Extension
  Called when the element is prepared.
onReadingStarted(int, MediaSource.MediaPeriodId) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
onRedirect(int, int, URL, URL) - Method in interface com.castlabs.android.network.HttpListener
  An HTTP redirection (status code 3XX) has occurred.
onRelease(PlayerController) - Method in class com.castlabs.android.player.AbstractPlayerControllerListener
onRelease(PlayerController) - Method in interface com.castlabs.android.player.PlayerControllerListener
  Called when the controller is released
onRemotePlay(Bundle, JSONObject) - Method in class com.castlabs.android.Plugin
  Invoked whenever starting remote play (ie.
onRenderedFirstFrame(Surface) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
onRenderedFirstFrame(Surface) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onRenderedFirstFrame(Surface) - Method in interface com.castlabs.android.player.VideoRendererListener
  Called when a frame is rendered for the first time since setting the surface, and when a frame is rendered for the first time since the renderer was reset.
onRenderedFirstFrame(Surface) - Method in class com.castlabs.android.player.VideoTrackListener
onRendererCapabilitiesChanged(Renderer) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onRequest(Request) - Method in interface com.castlabs.android.network.RequestModifier
  Called with the current request object.
onResponse(Response) - Method in interface com.castlabs.android.network.ResponseModifier
  Called with the current response object.
onRestart(String, PlayerConfig) - Method in interface com.castlabs.android.player.ExternalSourceSelector
  Called when the restart is needed for the specified manifest URL.
onSeekCompleted() - Method in class com.castlabs.android.player.AbstractPlayerListener
onSeekCompleted() - Method in interface com.castlabs.android.player.PlayerListener
  This callback is invoked when the position of the video playback has been changed by the `PlayerController`.
onSeekRangeChanged(long, long) - Method in class com.castlabs.android.player.AbstractPlayerListener
onSeekRangeChanged(long, long) - Method in interface com.castlabs.android.player.PlayerListener
  Event triggered when the seek range changed
onSeekRangeChanged(long, long) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onSeekTo(long) - Method in class com.castlabs.android.player.AbstractPlayerListener
onSeekTo(long) - Method in interface com.castlabs.android.player.PlayerListener
  This callback is invoked when the position of the video playback is actively changed by the `PlayerController`.
onSeekTo(long) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onSelectionActivated(Object) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onSetPosition(long) - Method in interface com.castlabs.android.adverts.AdLoader
  Called just before the `PlayerController` start seeking or setting a new position.
onSetPosition(long) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
onSpeedChanged(float) - Method in class com.castlabs.android.player.AbstractPlayerListener
onSpeedChanged(float) - Method in interface com.castlabs.android.player.PlayerListener
  Callback triggered when the playback speed is changed.
onStartCommand(Intent, int, int) - Method in class com.castlabs.android.player.PlayerService
onStateChanged(PlayerController.State) - Method in class com.castlabs.android.player.AbstractPlayerListener
onStateChanged(PlayerController.State) - Method in interface com.castlabs.android.player.PlayerListener
  State change event triggered when the player state changed
onStateChanged(PlayerController.State) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onStyleChange(SubtitlesStyle) - Method in class com.castlabs.android.subtitles.ExoSubtitlesStyleObserver
onStyleChange(SubtitlesStyle) - Method in interface com.castlabs.android.subtitles.SubtitlesStyleObserver
  Called when a new style needs to be applied.
onSubtitleFormatChange(Format, int, long) - Method in interface com.castlabs.android.player.FormatChangeListener
  Invoked when the downstream subtitle format changed.
onSubtitleTrackChanged(SubtitleTrack) - Method in interface com.castlabs.android.player.TrackSelectionListener
  Called when the selected subtitle track changes.
onSubtitleTracks(Collection<SubtitleTrack>) - Method in class com.castlabs.android.player.filter.AbstractPlayerModelFilter
onSubtitleTracks(Collection<SubtitleTrack>) - Method in interface com.castlabs.android.player.filter.PlayerModelFilter
  Apply custom filter logic on SubtitleTracks.
onSuccess(Object) - Method in interface com.castlabs.android.drm.ProvisioningManager.ProvisionedCallback
  Triggered when the provisioning request succeeded.
onSystemStatusCheck(boolean) - Method in interface com.castlabs.android.PlayerSDK.SystemStatusCallback
  Triggered when an internal system status check is performed.
onSystemTimeUsMismatch(long, long, long, long) - Method in class com.castlabs.android.player.AbstractAudioRendererListener
onSystemTimeUsMismatch(long, long, long, long) - Method in interface com.castlabs.android.player.AudioRendererListener
  Called when the system time associated with the last known audio track timestamp is unexpectedly far from the current time.
onTimelineChanged(Timeline) - Method in interface com.castlabs.android.player.TimelineChangedListener
  Called when the timeline has changed.
onTimelineChanged(Timeline, Object) - Method in interface com.castlabs.android.player.TimelineListener
  Deprecated.
  Called whenever the timeline is changed
onTrackSelection(ExtendedTrackSelector.ModelSelection) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
  Track selection was triggered but not activated yet
onTrackSelectionActivated(ExtendedTrackSelector.ModelSelection) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
  Track selection has changed
onTransferEnd(DataSource, DataSpec, boolean) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
onTransferInitializing(DataSource, DataSpec, boolean) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
onTransferStart(DataSource, DataSpec, boolean) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
onTunnelingError(TunnelingException) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
  Informs that tunneling mode can not be enabled for the current playback
onUnsupportedContent(int, int) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
  The indicated mediaType cannot be played with the current configuration and / or on the current device.
onUpstreamDiscarded(int, long, long) - Method in class com.castlabs.android.player.AbstractStreamingEventListener
onUpstreamDiscarded(int, long, long) - Method in interface com.castlabs.android.player.StreamingEventListener
  Invoked when data is removed from the back of the buffer, typically so that it can be re-buffered using a different representation.
onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.castlabs.android.player.ChunkSampleSourceListener
onUriChanged(int, Uri, Uri) - Method in interface com.castlabs.android.network.RequestModifier.Listener
  Called when a `Request` uri is changed by a modifier This is internal Uri change event and is not invoked e.g.
onVideoBlocklistError(BlocklistException) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
  Informs that the video quality blacklisting failed
onVideoDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
onVideoDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onVideoDecoderInitialized(String, long, long) - Method in interface com.castlabs.android.player.VideoRendererListener
  Called when a decoder is created.
onVideoDecoderInitialized(String, long, long) - Method in class com.castlabs.android.player.VideoTrackListener
onVideoDecoderReleased(String, long, long) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
onVideoDecoderReleased(String, long, long) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onVideoDecoderReleased(String, long, long) - Method in interface com.castlabs.android.player.VideoRendererListener
  Called when a decoder is released.
onVideoDecoderReleased(String, long, long) - Method in class com.castlabs.android.player.VideoTrackListener
onVideoDisabled(DecoderCounters) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
onVideoDisabled(DecoderCounters) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onVideoDisabled(DecoderCounters) - Method in interface com.castlabs.android.player.VideoRendererListener
  Called when the renderer is disabled.
onVideoDisabled(DecoderCounters) - Method in class com.castlabs.android.player.VideoTrackListener
onVideoEnabled(DecoderCounters) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
onVideoEnabled(DecoderCounters) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onVideoEnabled(DecoderCounters) - Method in interface com.castlabs.android.player.VideoRendererListener
  Called when the renderer is enabled.
onVideoEnabled(DecoderCounters) - Method in class com.castlabs.android.player.VideoTrackListener
onVideoFormatChange(Format, int, long, VideoTrackQuality) - Method in interface com.castlabs.android.player.FormatChangeListener
  Invoked when the downstream video format changed.
onVideoFrameAboutToBeRendered(long, long, Format, MediaFormat) - Method in interface com.castlabs.android.player.VideoMetadataListener
  Called when the video frame is about to be rendered.
onVideoFrameRendered(long, long) - Method in interface com.castlabs.android.player.VideoFrameRenderedListener
  Called when a video frame is released for rendering.
onVideoInputFormatChanged(Format) - Method in class com.castlabs.android.player.AbstractVideoRendererListener
onVideoInputFormatChanged(Format) - Method in class com.castlabs.android.player.ExtendedTrackSelector
onVideoInputFormatChanged(Format) - Method in interface com.castlabs.android.player.VideoRendererListener
  Called when the format of the media being consumed by the renderer changes.
onVideoInputFormatChanged(Format) - Method in class com.castlabs.android.player.VideoTrackListener
onVideoKeyStatusChanged(List<VideoTrackQuality>) - Method in class com.castlabs.android.player.AbstractPlayerListener
onVideoKeyStatusChanged(List<VideoTrackQuality>) - Method in interface com.castlabs.android.player.ExtendedTrackSelector.EventListener
  Video track key status has changed
onVideoKeyStatusChanged(List<VideoTrackQuality>) - Method in interface com.castlabs.android.player.PlayerListener
  Callback triggered when video track's DRM-key status is changed
onVideoQualitySelectionChanged(VideoTrackQuality, int, String, long, long) - Method in interface com.castlabs.android.player.TrackSelectionListener
  Called each time when starting to load a new media chunk.
onVideoSizeChanged(int, int, float) - Method in class com.castlabs.android.player.AbstractPlayerListener
onVideoSizeChanged(int, int, float) - Method in interface com.castlabs.android.player.PlayerListener
  Invoked each time there's a change in the size of the video being rendered.
onVideoSizeChanged(int, int, float) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
onVideoSizeChanged(int, int, int, float) - Method in class com.castlabs.android.player.VideoTrackListener
onVideoTrackChanged(VideoTrack) - Method in interface com.castlabs.android.player.TrackSelectionListener
  Called when the selected video track changes.
onVideoTracks(Collection<MutableVideoTrack>) - Method in class com.castlabs.android.player.filter.AbstractPlayerModelFilter
onVideoTracks(Collection<MutableVideoTrack>) - Method in interface com.castlabs.android.player.filter.PlayerModelFilter
  Apply custom filter logic on VideoTracks.
open(int, Parcelable...) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
open(int, Parcelable...) - Method in interface com.castlabs.android.player.Playlist
  Start playback with the specified index and with an Array of `PlayerConfigs` or `Bundles`.
open(int, Parcelable...) - Method in class com.castlabs.android.player.SingleControllerPlaylist
open(int, List<? extends Parcelable>) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
open(int, List<? extends Parcelable>) - Method in interface com.castlabs.android.player.Playlist
  Start playback with the specified index and player configs
open(int, List<? extends Parcelable>) - Method in class com.castlabs.android.player.SingleControllerPlaylist
open(Bundle) - Method in class com.castlabs.android.player.PlayerController
  This method takes a `Bundle` and extracts the information to create a `PlayerConfig` from the bundle.
open(Bundle) - Method in class com.castlabs.android.player.SingleControllerPlaylist
open(Bundle...) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Starts playback with an Array of Bundles.
open(Parcelable...) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
open(Parcelable...) - Method in interface com.castlabs.android.player.Playlist
  Starts playback with an Array of `PlayerConfigs` or `Bundles`.
open(Parcelable...) - Method in class com.castlabs.android.player.SingleControllerPlaylist
open(PlayerConfig) - Method in class com.castlabs.android.player.PlayerController
  Opens the given URL to the video.
open(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
open(PlayerConfig...) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Starts playback with an Array of `PlayerConfigs`.
open(DataSpec) - Method in class com.castlabs.android.downloader.ZipDataSource
open(DataSpec) - Method in class com.castlabs.android.network.ExtendedDataSource
open(List<? extends Parcelable>) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
open(List<? extends Parcelable>) - Method in interface com.castlabs.android.player.Playlist
  Starts playback with a List of `PlayerConfigs` or `Bundles`.
open(List<? extends Parcelable>) - Method in class com.castlabs.android.player.SingleControllerPlaylist
OPEN_SESSION_FAILED - Static variable in exception class com.castlabs.android.drm.CastlabsMediaDrm.CastlabsMediaDrmException
  Indicates that opening a DRM session failed.
openSession() - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Opens a new DRM session.
openState(Bundle) - Method in class com.castlabs.android.player.PlayerController
  Opens the {link PlayerController} with the given `Bundle` which is the saved state obtained with `PlayerController.saveState(Bundle)`
openState(Bundle) - Method in class com.castlabs.android.player.SingleControllerPlaylist
Other - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
  Other content type.
OTHER - Static variable in class com.castlabs.android.SdkConsts
  Identifies the other content, i.e.
OutputNotAllowed - Enum constant in enum com.castlabs.android.drm.KeyStatus
  Key response is received but the key can not be used due to digital output protection settings

## P

ParameterNotSetException - Exception Class in com.castlabs.android.player.exceptions
  Exception thrown when a required parameter is not set in the player configuration.
ParameterNotSetException() - Constructor for exception class com.castlabs.android.player.exceptions.ParameterNotSetException
  Default constructor for ParameterNotSetException.
parent(Uri) - Static method in class com.castlabs.utils.UriUtils
  Get the parent of the given Uri by walking up the path segments one element.
parse(Uri, InputStream) - Method in class com.castlabs.android.player.MPDParser
  Parses a DASH manifest from the given input stream.
parseServerDate(String) - Static method in class com.castlabs.android.utils.DateUtils
  Parses a server-formatted Date String and returns the equivalent time
pause - Variable in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration
  Whether to start the player in a paused state when `PlayerViewLifecycleDelegate.resume()` is called.
pause() - Method in class com.castlabs.android.player.PlayerController
  Stop player
pause(boolean) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate.ResumeConfiguration.Builder
  Whether to start the player in a paused state.
Pause - Enum constant in enum com.castlabs.android.player.CustomDashEventListener.EventType
  Pause event type.
PAUSE_ON_HDMI_DISCONNECTED - Static variable in class com.castlabs.android.PlayerSDK
  Default global value to enable or disable automatic playback pausing when HDMI is disconnected.
pauseOnHdmiDisconnected - Variable in class com.castlabs.android.player.PlayerConfig
  Enable or disable automatic pausing on HDMI disconnected
pauseOnHdmiDisconnected(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Enable or disable automatic playback pause on HDMI disconnect Only for API higher or equal to 21
Pausing - Enum constant in enum com.castlabs.android.player.PlayerController.State
  The player is prepared and has enough data to start playback immediately but is currently paused
percentile - Variable in class com.castlabs.android.player.AbrConfiguration
  The percentile, applicable to `AbrConfiguration.METHOD_COMMON_NBA`
percentile(float) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Set the `AbrConfiguration.percentile`
percentileWeight - Variable in class com.castlabs.android.player.AbrConfiguration
  The weight used for the sliding percentile bandwidth estimator
percentileWeight(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Set the weight used for the sliding percentile bandwidth estimator
Period(List<VideoTrack>, List<AudioTrack>, List<SubtitleTrack>, List<DashDescriptor>, List<EventStream>, List<HlsDateRange>, Object, int, long, long) - Constructor for class com.castlabs.android.player.models.Timeline.Period
  Creates a new Period.
PeriodChangedListener - Interface in com.castlabs.android.player
  PeriodChangedListener
PeriodInfo(boolean) - Constructor for class com.castlabs.android.player.PeriodInfoProvider.PeriodInfo
  Constructs the `PeriodInfoProvider.PeriodInfo`
PeriodInfoProvider - Interface in com.castlabs.android.player
  Implementations of this interface allows to get additional information on the period being played.
PeriodInfoProvider.PeriodInfo - Class in com.castlabs.android.player
  Information about a period.
plannedDuration - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The planned duration of the date range in seconds.
play() - Method in class com.castlabs.android.player.PlayerController
  Start player
PLAYBACK_HD_CONTENT - Static variable in class com.castlabs.android.PlayerSDK
  The default setting for HD content filter.
PLAYBACK_POSITION_PERIOD_MS - Static variable in class com.castlabs.android.PlayerSDK
  Interval in ms used to post playback position updates Default is `1000L`
playBackground(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Sets the flag indicating whether or not to immediately start playing the background PlayerControllers.
PlaybackStateStorage - Interface in com.castlabs.android.player
  Implementations of this interface offer the basic infrastructure to load and save instances of `PlayerConfig`
playClearSamplesWithoutKeys - Variable in class com.castlabs.android.drm.DrmConfiguration
  If true, clear samples will be played while the key is fetched
playClearSamplesWithoutKeys(boolean) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets whether clear samples should be played while fetching keys
playClearSamplesWithoutKeys(boolean) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  If enabled and the stream contains clean samples at the beginning, the player will start playing while fetching the license key in background.
PLAYER_NAME - Static variable in class com.castlabs.android.SdkConsts
  Player name
PLAYER_RELEASE_TIMEOUT_MS - Static variable in class com.castlabs.android.PlayerSDK
  Timeout in milliseconds to release the underlying Player.
PLAYER_TYPE - Static variable in class com.castlabs.android.SdkConsts
  Represents the player type.
PlayerConfig - Class in com.castlabs.android.player
  Object which represents a specific Player configuration.
PlayerConfig.Builder - Class in com.castlabs.android.player
  A Builder for `PlayerConfig`.
PlayerController - Class in com.castlabs.android.player
  This class allows you to control and manage the video player instance and receive feedback during playback.
PlayerController(Context) - Constructor for class com.castlabs.android.player.PlayerController
  Create a new player controller using the given context
PlayerController.ExperimentalApi - Class in com.castlabs.android.player
  Experimental features that are not yet stable.
PlayerController.State - Enum in com.castlabs.android.player
  Represents states of the player backend.
PlayerController.TrackType - Annotation Type in com.castlabs.android.player
  Types of tracks.
PlayerControllerListener - Interface in com.castlabs.android.player
  This is a high level listener interface that provides callbacks for lifecycle events of the player controller.
PlayerControllerPlugin - Interface in com.castlabs.android.player
  A plugin interface that can be used to create plugins that need access to the `PlayerController`.
PlayerControllerPlugin.Component - Interface in com.castlabs.android.player
  Implementations of this component can be used to gain controlled access to a `PlayerController`.
PlayerControllerPlugin.ComponentViewListener - Interface in com.castlabs.android.player
  Interface which allows `Components` to work with their Views.
PlayerControllerPlugin.VisualComponent - Interface in com.castlabs.android.player
  Special type of `PlayerControllerPlugin.Component` which also happens to depend on a View.
PlayerListener - Interface in com.castlabs.android.player
  This is a high level listener interface that provides callbacks for events from a video player.
PlayerListeners - Class in com.castlabs.android.player
  This class helps to manage a set of `PlayerListener`s and delegates to the listener methods.
playerModel - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
  The player model associated with this selection.
PlayerModel - Class in com.castlabs.android.player.models
  General player model that contains information about tracks.
PlayerModel() - Constructor for class com.castlabs.android.player.models.PlayerModel
  Creates a new PlayerModel.
PlayerModelFilter - Interface in com.castlabs.android.player.filter
  Interface which allows to filter `Tracks`, before the `PlayerModel` is built.
PlayerPlugin - Interface in com.castlabs.android.player
  A plugin interface that is used to initialize player instances for different content formats such as HLS, DASH, or SmoothStreaming.
PlayerPlugin.DrmInitDataProvider<T> - Class in com.castlabs.android.player
  Abstract class for providing DRM initialization data.
PlayerSDK - Class in com.castlabs.android
  This class provides the required methods to initialize the Castlabs SDK and register additional components and plugins.
PlayerSDK.SystemStatusCallback - Interface in com.castlabs.android
  Callback interface that can be used to detect rooted devices.
PlayerService - Class in com.castlabs.android.player
  This class implements a bounded Android Service that can be used to start a `PlayerController` in a service, send the player to background to continue audio playback, and resume video playback from a background session.
PlayerService() - Constructor for class com.castlabs.android.player.PlayerService
  Creates a new PlayerService.
PlayerService.Binder - Class in com.castlabs.android.player
  This is the binder that will be returned by when a service connection is bound to the player service.
PlayerService.NotificationHandler - Interface in com.castlabs.android.player
  Implementation of the interface can receive notification intents from the `PlayerService`.
playerType - Variable in class com.castlabs.android.adverts.Ad
  Player type
PlayerView - Class in com.castlabs.android.player
  The Castlabs PlayerView is a custom view that provides the video playback surface.
PlayerView(Context) - Constructor for class com.castlabs.android.player.PlayerView
  Instantiates a new Player view.
PlayerView(Context, AttributeSet) - Constructor for class com.castlabs.android.player.PlayerView
  Instantiates a new Player view.
PlayerView(Context, AttributeSet, int) - Constructor for class com.castlabs.android.player.PlayerView
  Constructs a PlayerView.
PlayerView(Context, AttributeSet, int, boolean) - Constructor for class com.castlabs.android.player.PlayerView
  Instantiates a new Player view.
PlayerView.ScalingMode - Annotation Type in com.castlabs.android.player
  Annotation to define valid scaling modes for PlayerView.
PlayerView.SurfaceType - Annotation Type in com.castlabs.android.player
  Annotation to define valid surface types for PlayerView.
PlayerViewLifecycleDelegate - Class in com.castlabs.android.player
  The default lifecycle delegate.
PlayerViewLifecycleDelegate(IPlayerView) - Constructor for class com.castlabs.android.player.PlayerViewLifecycleDelegate
  Create a new instance using the given player view
PlayerViewLifecycleDelegate.LifecycleListener - Interface in com.castlabs.android.player
  Callback to receive delegated Lifecycle events.
PlayerViewLifecycleDelegate.ResumeConfiguration - Class in com.castlabs.android.player
  Configuration object which will dictate the behaviour of the `PlayerController` whenever the enclosing
PlayerViewLifecycleDelegate.ResumeConfiguration.Builder - Class in com.castlabs.android.player
  Builder for `PlayerViewLifecycleDelegate.ResumeConfiguration` instances.
PlayerViewPlugin - Interface in com.castlabs.android.player
  A plugin interface that can be used to create plugins that need access to the `IPlayerView` or the `PlayerController` that is responsible for the playback lifecycle.
PlayerViewPlugin.PlayerViewComponent - Interface in com.castlabs.android.player
  Implementations of this view component can be used to gain controlled access to a `IPlayerView` and its `PlayerController`.
PlayerViewPlugin.SingleViewPlayerViewComponent<ViewType> - Class in com.castlabs.android.player
  Helper class which extracts all the common logic in a `PlayerViewPlugin.PlayerViewComponent` in case it only operates on one single View.
PlayerViewProvider - Interface in com.castlabs.android.views
  Activities use any of the utility fragments or dialog fragments in this package can implement this interface so fragment implementations can be recreated and easily get access to the `IPlayerView`.
Playing - Enum constant in enum com.castlabs.android.player.PlayerController.State
  The player is prepared and currently playing
playItem(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
playItem(int) - Method in interface com.castlabs.android.player.Playlist
  Advances playback to the Playlist item specified by the index.
playItem(int) - Method in class com.castlabs.android.player.SingleControllerPlaylist
playItem(int, long) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Plays the item at the specified index
Playlist - Interface in com.castlabs.android.player
  Common Playlist interface.
PLAYLIST_CURRENT_ITEM_INDEX - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Bundle key for the index of the item that was playing when the error occurred.
PLAYLIST_FAILED_ITEM - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Bundle key for the PlayerConfig of the failed item in the playlist.
PLAYLIST_FAILED_ITEM_INDEX - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Bundle key for the index of the failed item in the playlist.
PLAYLIST_SIZE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Bundle key for the total number of items in the playlist.
PLAYLIST_STATE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Bundle key for the playlist state as an `ArrayList` of `PlayerConfig` items.
PLAYLIST_TYPE_MULTIPLAYER - Static variable in class com.castlabs.android.player.ViewLoader
  Playlist type is multiplayer.
PLAYLIST_TYPE_NONE - Static variable in class com.castlabs.android.player.ViewLoader
  Playlist type is not defined.
PLAYLIST_TYPE_SINGLEPLAYER - Static variable in class com.castlabs.android.player.ViewLoader
  Playlist type is singleplayer.
PlaylistController - Class in com.castlabs.android.player.playlist
  Deprecated.
  since 4.2.5. Use `MultiControllerPlaylist` instead.
PlaylistController(Context, MultiControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.playlist.PlaylistController
  Deprecated.
  Instantiates a new PlaylistController.
PlaylistController(PlayerView, MultiControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.playlist.PlaylistController
  Deprecated.
  Instantiates a new PlaylistController.
PlaylistException - Exception Class in com.castlabs.android.player.exceptions
  Exception that represents a playlist-related error.
Playready - Enum constant in enum com.castlabs.android.drm.Drm
  Select Playready drm
PLAYREADY_UUID - Static variable in class com.castlabs.android.SdkConsts
  UUID for the PlayReady DRM scheme.
Plugin - Class in com.castlabs.android
  Simple plugin interface that is used to register components with the Castlabs SDK.
Plugin() - Constructor for class com.castlabs.android.Plugin
  Default constructor for the plugin.
PLUGIN_DECODER_SUPPORT - Static variable in class com.castlabs.utils.Codecs
  Set of plugin decoder supported codecs.
position - Variable in class com.castlabs.android.adverts.Ad
  Ad position in the stream, one of `SdkConsts.AdPosition`
POSITION_DEBUG - Static variable in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
  Position of the debug information.
POSITION_SUBTITLES - Static variable in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
  Position of the subtitles.
POSITION_THUMBNAILS - Static variable in interface com.castlabs.android.player.PlayerViewPlugin.PlayerViewComponent
  Position of the thumbnails.
positionInFirstPeriodUs(long) - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
  Sets the position of the Window relative to its first Period in microseconds.
positionInWindowUs(long) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Sets the position of the Period inside its Window in microseconds.
positionMs - Variable in class com.castlabs.android.adverts.Ad
  Ad position in milliseconds within the window in case of `SdkConsts.AD_EMBEDDED` stream type or `C.TIME_UNSET`
positionMs - Variable in class com.castlabs.android.player.Chapter
  The chapter position in milliseconds
positionUs - Variable in class com.castlabs.android.player.PlayerConfig
  The position in microseconds.
positionUs(long) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the position in microseconds
PREFERENCE_CODEC_IMPL - Static variable in class com.castlabs.android.PlayerSDK
  The preference of the codec implementation weight `100.0f`, compare to `PlayerSDK.PREFERENCE_CODEC_MIME`, `PlayerSDK.PREFERENCE_TRACK_TYPE` and `PlayerSDK.PREFERENCE_PIXEL_COUNT`.
PREFERENCE_CODEC_MIME - Static variable in class com.castlabs.android.PlayerSDK
  The preference of the codec mimes weight `20.0f`, compare to `PlayerSDK.PREFERENCE_CODEC_IMPL`, `PlayerSDK.PREFERENCE_TRACK_TYPE` and `PlayerSDK.PREFERENCE_PIXEL_COUNT`.
PREFERENCE_PIXEL_COUNT - Static variable in class com.castlabs.android.PlayerSDK
  The preference of the pixel count weight `10.0f`, compare to `PlayerSDK.PREFERENCE_CODEC_MIME`, `PlayerSDK.PREFERENCE_CODEC_IMPL` and `PlayerSDK.PREFERENCE_TRACK_TYPE`.
PREFERENCE_TRACK_TYPE - Static variable in class com.castlabs.android.PlayerSDK
  The preference of the track type weight `40.0f`, compare to `PlayerSDK.PREFERENCE_CODEC_MIME`, `PlayerSDK.PREFERENCE_CODEC_IMPL` and `PlayerSDK.PREFERENCE_PIXEL_COUNT`.
preferLatencyOverBufferSafety - Variable in class com.castlabs.android.player.LiveConfiguration
  If set to true, will seek on Live Content to drop startup buffers to be closer to the Live Edge.
preferLatencyOverBufferSafety(boolean) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  /** If set to true, will instruct ExoPlayer to drop startup buffers to start closer to the live edge.
preferManifestUrl - Variable in class com.castlabs.android.drm.DrmConfiguration
  If true, then any non-empty DRM URL found in the manifest will be used instead of `DrmConfiguration.url` Default is `PlayerSDK.DEFAULT_DRM_PREFER_MANIFEST_URL`
preferManifestUrl(boolean) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets whether to prefer manifest URLs over the configured URL
preferManifestUrl(boolean) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Use to set if the manifest DRM Url shall be preferred
preferredAudioLanguage - Variable in class com.castlabs.android.player.PlayerConfig
  Preferred audio language
preferredAudioLanguage(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the preferred audio language
preferredCodecInfos - Variable in class com.castlabs.android.player.PlayerConfig
  List of preferred MediaCodecInfos.
preferredTextLanguage - Variable in class com.castlabs.android.player.PlayerConfig
  Preferred subtitles language
preferredTextLanguage(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the preferred text language
preferTrickPlayTracks - Variable in class com.castlabs.android.player.TrickplayConfiguration
  If enabled, and the content contains a Trickplay (usually I-frame only) track, it will be selected during Trickplay playback.
preferTrickPlayTracks(boolean) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.preferTrickPlayTracks` and returns a reference to this Builder so that the methods can be chained together.
PREFFERED_TRACK - Static variable in class com.castlabs.android.SdkConsts
  Indicates the SDK should try to select the preferred track, i.e.
prepareAnalyticsSession(PlayerConfig) - Method in class com.castlabs.android.player.PlayerController
  Use this method to prepare the analytics session according to the player configuration before `PlayerController.open(android.os.Bundle)` the player controller.
prepareSurface() - Method in interface com.castlabs.android.player.IPlayerView
  This method is called by the `PlayerController` once the player and the renderer are available.
prepareSurface() - Method in class com.castlabs.android.player.PlayerView
Preparing - Enum constant in enum com.castlabs.android.player.PlayerController.State
  The player started loading content after `PlayerController.open(PlayerConfig)` was called and is loading the content meta-data.
PRESCAN_DASH_MANIFESTS - Static variable in class com.castlabs.android.PlayerSDK
  Enable this options if you have to play DASH Manifests that are not spec conform and define AdaptationSets' before BaseURLs'.
preservePlayerResources - Variable in class com.castlabs.android.player.PlayerConfig
  If set to true, the playback resources (codecs, renderers) will be preserved when the player player is released.
preservePlayerResources(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If set to true, the playback resources like codecs and renderers will be preserved when the player is released.
preservePlayerViewSurface - Variable in class com.castlabs.android.player.PlayerConfig
  If set to true and the `PlayerView` is used, the playback surface be kept on screen and preserved when the player player is released.
preservePlayerViewSurface(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If set to true and the `PlayerView` is used, the playback surface be kept on screen and preserved when the player player is released.
previousItem() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Moves backwards in the Playlist.
previousItem() - Method in interface com.castlabs.android.player.Playlist
  Moves backwards in the Playlist.
previousItem() - Method in class com.castlabs.android.player.SingleControllerPlaylist
previousItem(long) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Moves backwards in the Playlist.
prioritizeInstreamOverManifestDuration - Variable in class com.castlabs.android.player.BufferConfiguration
  Flag indicating whether the buffered duration is evaluated based on playlist (manifest) tags like duration or based on audio/video data segments durations.
prioritizeInstreamOverManifestDuration(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  Prioritization of buffered duration calculation based on audio/video segments over the playlist (manifest)
prioritizeTimeOverSizeThresholds - Variable in class com.castlabs.android.player.BufferConfiguration
  Flag indicating whether the buffer time constraints are prioritized over buffer size constraints `BufferConfiguration.lowMediaTimeMs` and `BufferConfiguration.highMediaTimeMs`.
prioritizeTimeOverSizeThresholds(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  Prioritization of buffer time constraints over size constraints
PROD_DT_DASHBOARD_URL - Static variable in class com.castlabs.android.drm.DrmUtils
  The production DRM Today dashboard URL
provideKeyResponse(byte[], byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Provides a key response for the specified session.
provideProvisionResponse(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Provides a provision response for the device.
ProvisionException(Exception) - Constructor for exception class com.castlabs.android.drm.ProvisioningManager.ProvisionException
  Creates a new ProvisionException.
ProvisioningManager - Class in com.castlabs.android.drm
  Utility class that can handle device provisioning.
ProvisioningManager.ProvisionedCallback - Interface in com.castlabs.android.drm
  You need to provide an implementation of this interface when you are triggering provisioning.
ProvisioningManager.ProvisionException - Exception Class in com.castlabs.android.drm
  Exception thrown when there is an issue with provisioning.
provisioningRetryConfiguration - Variable in class com.castlabs.android.network.NetworkConfiguration
  The `RetryConfiguration` for provisioning requests that will be to determine how often to retry after loading errors
provisioningRetryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the retry configuration used for device provisioning
pushBlackScreenOnDispose - Variable in class com.castlabs.android.player.PlayerConfig
  If true, indicates if the decoder should push a black screen to the surface when disposed.
pushBlackScreenOnDispose(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If set to true and `PlayerConfig.Builder.preservePlayerViewSurface` is enabled, indicates that the decoder should push a black screen to the surface when disposed.
put(Uri, byte[]) - Method in class com.castlabs.android.player.HlsClearKeyCache
  Inserts an entry into the cache.
put(Uri, byte[]) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache

## Q

queryKeyStatus() - Method in class com.castlabs.android.player.PlayerController
  Queries the Key Status for the currently loaded session.
queryKeyStatus(byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Queries the key status for the specified session.
queryKeyStatus(TrackRendererPlugin.Type) - Method in class com.castlabs.android.player.PlayerController
  Queries the Key Status for the currently active session.
queryParameter(String, String) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Add a query parameter to each content data request

## R

RATING - Static variable in class com.castlabs.android.player.DashDescriptor
  Rating descriptor.
read(byte[], int, int) - Method in class com.castlabs.android.downloader.ZipDataSource
read(byte[], int, int) - Method in class com.castlabs.android.network.ExtendedDataSource
readLines(File) - Static method in class com.castlabs.utils.FileHelper
  Reads all lines from the specified file and returns them as a list of strings.
readMetaData(File) - Static method in class com.castlabs.android.downloader.ContainerUtils
  Take a zip file and looks for a "meta.json" entry.
readTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the read timeout for both manifest and segment requests
readTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration
  Returns the read timeout for the given request type.
reason - Variable in exception class com.castlabs.android.player.exceptions.BlocklistException
  The reason why the track was blocklisted.
reason - Variable in exception class com.castlabs.android.player.exceptions.FilterException
  Bit-set of `SdkConsts.FILTER_REASON_BLACKLISTED`, `SdkConsts.FILTER_REASON_NO_CODEC`, `SdkConsts.FILTER_REASON_HD_NOT_PERMITTED` and `SdkConsts.FILTER_REASON_EXCEED_MAX_PIXELS`
reason - Variable in exception class com.castlabs.android.player.exceptions.TunnelingException
  The reason for the exception.
reasonString() - Method in exception class com.castlabs.android.player.exceptions.BlocklistException
  Returns a string representation of the reason why the track was blocklisted.
reasonString() - Method in exception class com.castlabs.android.player.exceptions.TunnelingException
  Returns a string representation of the reason for this exception.
reasonString(TunnelingException.Reason) - Static method in exception class com.castlabs.android.player.exceptions.TunnelingException
  Returns a string representation of the given reason.
refreshItem(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Forces the given playlist item to rebuild its MediaSource the next time it is loaded.
register() - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
  Called whenever the Component is registered
register(Downloadable) - Static method in class com.castlabs.android.PlayerSDK
  Register a new `Downloadable` plugin that can be used to download content for offline playback.
register(Drm) - Static method in class com.castlabs.android.PlayerSDK
  Register external Drm plugin to the sdk.
register(CLLibraryLoader.PostLoadAction) - Static method in class com.castlabs.android.player.CLLibraryLoader
  Register a new post load action that will be executed by the loader after the native libraries are loaded.
register(PlayerControllerPlugin) - Static method in class com.castlabs.android.PlayerSDK
  Register a new `PlayerControllerPlugin`
register(PlayerPlugin) - Static method in class com.castlabs.android.PlayerSDK
  Register a new player plugin
register(PlayerViewPlugin) - Static method in class com.castlabs.android.PlayerSDK
  Register a new `PlayerViewPlugin`
register(TrackRendererPlugin) - Static method in class com.castlabs.android.PlayerSDK
  Register a new track renderer plugin
register(Plugin) - Static method in class com.castlabs.android.PlayerSDK
  Register a new plugin
register(String) - Static method in class com.castlabs.android.player.CLLibraryLoader
  Register a library that needs to be loaded.
register(String, String) - Static method in class com.castlabs.android.network.UserAgent
  Register an additional key value pair that will be added to the user agent string representation
registerDrmLicenseManagerComponent(DrmLicenseManagerComponent) - Static method in class com.castlabs.android.PlayerSDK
  Register a new DrmLicenseManagerComponent
registerDrmSession(DrmLicenseManager) - Method in class com.castlabs.android.player.PlayerController
  INTERNAL: Register a drm session manager that is in use with this controller
RelaxedTtmlDecoder - Class in com.google.android.exoplayer2.text.ttml
  A `SimpleSubtitleDecoder` for TTML supporting the DFXP presentation profile.
RelaxedTtmlDecoder() - Constructor for class com.google.android.exoplayer2.text.ttml.RelaxedTtmlDecoder
  Default constructor for the RelaxedTtmlDecoder.
release() - Method in class com.castlabs.analytics.AnalyticsSession
release() - Method in interface com.castlabs.analytics.IAnalyticsSession
  Terminate the AnalyticsSession.
release() - Method in interface com.castlabs.android.adverts.AdLoader
  Release any unused resources
release() - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
release() - Method in class com.castlabs.android.adverts.ServerAdLoader
release() - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Releases all resources associated with this MediaDrm instance.
release() - Method in class com.castlabs.android.player.PlayerController
  Release the player instance and reset the underlying player model.
release() - Method in interface com.castlabs.android.player.PlayerService.NotificationHandler
  Release any unneeded resources
release(boolean, boolean) - Method in class com.castlabs.android.player.PlayerController
  Release the player instance and reset the underlying player model.
release(IPlayerView, boolean) - Method in class com.castlabs.android.player.PlayerService.Binder
  Disconnects the player controller from the player view.
releaseAsync() - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Asynchronously releases all resources associated with this MediaDrm instance.
releaseInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
releasePlayer(boolean) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
  Call this method when the hosting activity stops.
releaseToBackground(IPlayerView, int, Notification, boolean) - Method in class com.castlabs.android.player.PlayerService.Binder
  Disconnect the player controller from the player view and enable background audio playback by putting the service into foreground and showing the given notification.
releaseToBackground(IPlayerView, int, Notification, boolean, PlayerService.NotificationHandler) - Method in class com.castlabs.android.player.PlayerService.Binder
  Disconnect the player controller from the player view and enable background audio playback by putting the service into foreground and showing the given notification.
releaseWithException(CastlabsPlayerException) - Method in class com.castlabs.android.player.PlayerController
  Releases the player resources and throws an exception to indicate that the player is in an error state.
remote - Variable in class com.castlabs.android.player.DisplayInfo
  True if a remote display is connected on the current route.
remove() - Method in class com.castlabs.android.player.DrmLicenseLoader
  Triggers an asynchronous license removal.
remove() - Method in class com.castlabs.android.player.filter.FilterFormat
  Mark this track as to be removed with reason `SdkConsts.FILTER_REASON_CUSTOM`.
remove(int) - Method in class com.castlabs.android.player.filter.FilterFormat
  Marks this track to be removed with the provided reason
remove(Uri) - Method in class com.castlabs.android.player.HlsClearKeyCache
  Removes a URI from the cache.
remove(Uri) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
remove(String) - Method in interface com.castlabs.android.drm.DrmLicenseManager
  Removes the license matching the provided offline ID.
removeAdListener(AdInterface.Listener) - Method in interface com.castlabs.android.adverts.AdInterface
  Remove the given `AdInterface.Listener`
removeAudioRendererListener(AudioRendererListener) - Method in class com.castlabs.android.player.PlayerController
  Remove an audio renderer listener
removeCatchupListener(CatchupListener) - Method in class com.castlabs.android.player.PlayerController
  Remove a Catchup listener
removeClientProvider(ClientAdProvider) - Static method in class com.castlabs.android.adverts.Adverts
  Remove a client-side Ad provider.
removeCustomDashEventListener(CustomDashEventListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removeDrmEventListener(DrmEventListener) - Method in class com.castlabs.android.player.PlayerController
  Remove a registered `DrmEventListener`
removeEventListener(BandwidthMeter.EventListener) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
removeEventMessagesListener(EventMessagesListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removeEventStreamListener(EventStreamListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removeEventStreamListListener(EventStreamListListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removeFormatChangeListener(FormatChangeListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removeHttpListener(HttpListener) - Method in class com.castlabs.android.player.PlayerController
  Remove a HTTP listener
removeItem(PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Removes an item from the Playlist
removeItem(PlayerConfig) - Method in interface com.castlabs.android.player.Playlist
  Removes an item from the Playlist.
removeItem(PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
removeItemLoadListener(SingleControllerPlaylist.ItemLoadListener) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Removes an `SingleControllerPlaylist.ItemLoadListener`
removeLifecycleListener(PlayerViewLifecycleDelegate.LifecycleListener) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
  Removes a `PlayerViewLifecycleDelegate.LifecycleListener`
removeListener(AdInterface.Listener) - Method in class com.castlabs.android.player.PlayerListeners
  Removes an ad listener.
removeListener(CustomDashEventListener) - Method in class com.castlabs.android.player.PlayerListeners
  Remove the given `CustomDashEventListener`
removeListener(EventStreamListener) - Method in class com.castlabs.android.player.PlayerListeners
  Remove the given `EventStreamListener`
removeListener(EventStreamListListener) - Method in class com.castlabs.android.player.PlayerListeners
  Remove the given `EventStreamListListener`
removeLoadControlListener(LoadControlListener) - Method in class com.castlabs.android.player.PlayerController
  Remove a registered `LoadControlListener`
removeMetadataListener(MetadataListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removePeriodChangedListener(PeriodChangedListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removePlayerControllerListener(PlayerControllerListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removePlayerListener(PlayerListener) - Method in class com.castlabs.android.player.PlayerController
  Remove a registered `PlayerListener`
removePlayerModelFilter(PlayerModelFilter) - Method in class com.castlabs.android.player.PlayerController
  Removes a `PlayerModelFilter` previously added with `PlayerController.addPlayerModelFilter(PlayerModelFilter)`.
removePlaylistListener(SingleControllerPlaylist.PlaylistListener) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Removes a playlist listener.
removeProvider(AdProvider) - Static method in class com.castlabs.android.adverts.Adverts
  Remove registered Ad provider.
removeQuality(int) - Method in class com.castlabs.android.player.models.MutableVideoTrack
  Remove the quality with the specified index
removeQuality(VideoTrackQuality) - Method in class com.castlabs.android.player.models.MutableVideoTrack
  Remove the specified quality
removeReporter(CrashReporter) - Static method in class com.castlabs.analytics.Crashlog
  Remove a previously added reporter
removeRequestModifier(RequestModifier) - Method in class com.castlabs.android.player.PlayerController
  Remove a request modifier.
removeRequestModifier(RequestModifier) - Method in class com.castlabs.android.thumbs.ExtensibleSdkElement
  Removes a request modifier from the element.
removeRequestModifierListener(RequestModifier.Listener) - Method in class com.castlabs.android.player.PlayerController
  Remove a Modifier listener
removeResponseModifier(ResponseModifier) - Method in class com.castlabs.android.player.PlayerController
  Remove a response modifier.
removeServerProvider(ServerAdProvider) - Static method in class com.castlabs.android.adverts.Adverts
  Remove a server-side Ad provider.
removeStreamingEventListener(StreamingEventListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removeSurface() - Method in interface com.castlabs.android.player.IPlayerView
  This method is called by the `PlayerController` once the player is released.
removeSurface() - Method in class com.castlabs.android.player.PlayerView
removeTimelineChangedListener(TimelineChangedListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removeTimelineListener(TimelineListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removeTrackSelectionListener(TrackSelectionListener) - Method in class com.castlabs.android.player.PlayerController
  Remove the given listener.
removeVideoMetadataListener(VideoMetadataListener) - Method in class com.castlabs.android.player.PlayerController
  Remove video metadata listener
removeVideoRendererListener(VideoRendererListener) - Method in class com.castlabs.android.player.PlayerController
  Remove a video renderer listener
renderer - Variable in class com.castlabs.android.player.TrackRendererPlugin.TrackRendererContainer
  The renderer instance.
renewalEnabled() - Method in class com.castlabs.android.drm.DrmConfiguration
  Checks if license renewal is enabled in the current configuration.
renewalThreshold(long, TimeUnit) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  If set to a non-negative value, the Widevine key renewal will be enabled and expiring license will be automatically renewed in `renewalThreshold` before expiration.
renewalThresholdMs - Variable in class com.castlabs.android.drm.DrmConfiguration
  If set to non-zero and non-negative value then the Widevine license will be automatically renewed before `DrmConfiguration.renewalThresholdMs` milliseconds of license expiration.
renewalThresholdMs(long) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets the license renewal threshold
report(Throwable) - Static method in class com.castlabs.analytics.Crashlog
  Report a caught exception to all registered reporters
report(Throwable) - Method in interface com.castlabs.analytics.CrashReporter
  Report a caught exception.
reportConnectivityGained() - Method in class com.castlabs.android.player.PlayerListeners
  Call this method to report loss of connectivity.
reportConnectivityLost() - Method in class com.castlabs.android.player.PlayerListeners
  Call this method to report loss of connectivity.
reportPlayerState(PlayerController.State) - Method in class com.castlabs.analytics.AnalyticsSession
reportPlayerState(PlayerController.State) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Report the current player state manually.
reportPlayerStateInternal(PlayerController.State) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
request - Variable in class com.castlabs.android.adverts.AdRequest
  The bundle with ads specific parameters.
Request - Class in com.castlabs.android.network
  A modifiable request.
Request(int, Uri) - Constructor for class com.castlabs.android.network.Request
  Create a new request with the given URI and no headers
Request(int, Uri, Map<String, String>) - Constructor for class com.castlabs.android.network.Request
  Create a new request with the given URI and headers
Request(int, Uri, Map<String, String>, byte[]) - Constructor for class com.castlabs.android.network.Request
  Create a new request with the given URI and headers
Request.RequestType - Annotation Type in com.castlabs.android.network
  Represents a request data type
requestId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  The request ID
requestId(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Sets the request id.
RequestModifier - Interface in com.castlabs.android.network
  Implementation of this interface can intercept `Request`s and modify them before the request is sent.
RequestModifier.Listener - Interface in com.castlabs.android.network
  Listener related to `RequestModifier` events
requestParameters - Variable in class com.castlabs.android.drm.DrmConfiguration
  Bundle that can be used to put additional request (header) parameters that will be send to the DRM backend during license requests.
requestParameters(Bundle) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets additional request parameters for license requests
requiresMediaSourceHook() - Method in interface com.castlabs.android.adverts.AdLoader
  Indicates whether this loader needs to create its own media source (client-side ads) or whether it operates on the content media source prepared by the player (server-side ads).
requiresMediaSourceHook() - Method in class com.castlabs.android.adverts.ServerAdLoader
reset() - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Resets the track selector to its initial state.
reset() - Method in class com.castlabs.android.player.PlayerListeners
  Resets any internal state related to listeners
resetAudioFocus() - Method in class com.castlabs.android.player.PlayerController
  Resets the audio focus for the stream according to the `PlayerConfig.audioAttributes`
resetEstimation() - Method in class com.castlabs.android.player.BandwidthMeterWrapper
resolvedAudioDrm() - Method in class com.castlabs.android.drm.DrmConfiguration
  The best available DRM if no explicit DRM was specified.
resolvedDrm() - Method in class com.castlabs.android.drm.DrmConfiguration
  The best available DRM if no explicit DRM was specified
Response - Class in com.castlabs.android.network
  A modifiable response.
Response(int, Uri, Map<String, List<String>>, int, byte[]) - Constructor for class com.castlabs.android.network.Response
  Create a new response with the given URI and headers
RESPONSE_BODY - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Response body associated with the error
Response.ResponseType - Annotation Type in com.castlabs.android.network
  Represents a request data type
responseBody - Variable in exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
  The response body as a string
responseCode - Variable in class com.castlabs.android.drm.DrmTodayResponseCode
  The numeric response code from the DRMToday service.
responseCode - Variable in exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
  The HTTP response code
responseCode - Variable in class com.castlabs.android.network.Response
  Response code in case of HTTP.
responseCodeString - Variable in class com.castlabs.android.drm.DrmTodayResponseCode
  The original string representation of the response code.
responseHeaders - Variable in exception class com.castlabs.android.drm.DrmUtils.HttpExecutorException
  The response headers
ResponseModifier - Interface in com.castlabs.android.network
  Implementation of this interface can intercept `Response`s and modify them before the response is processed further.
Restart - Enum constant in enum com.castlabs.android.player.ExternalSourceSelector.SwitchType
  Do not try the seamless transition and restart the playback immediately
RESTORE_SPEED - Static variable in class com.castlabs.android.PlayerSDK
  Default global value to enable or disable automatic restoring of a speed after playing ads.
restoreKeys(byte[], byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Restores keys for the specified session.
restoreSpeed - Variable in class com.castlabs.android.player.PlayerConfig
  The flag to enable or disable automatic restoring of a speed after playing ads.
restoreSpeed(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the flag to enable or disable automatic restoring of a speed after playing ads.
resume() - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
  Call this method when the hosting activity resumes.
Resume - Enum constant in enum com.castlabs.android.player.CustomDashEventListener.EventType
  Resume event type.
resumeOffsetUs - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
  The offset in microseconds where playback should resume after the interstitial
retryCode(int) - Method in class com.castlabs.android.network.RetryConfiguration
  Checks whether the provided code triggers retries or not
retryCodes(int[]) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
  Sets error codes triggering retries Note: currently implemented for DRM requests only and `DrmTodayException` error codes
retryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the retry configuration used for both manifests and segments
RetryConfiguration - Class in com.castlabs.android.network
  Configures the network request retry behaviour.
RetryConfiguration(int, long, float, float, long) - Constructor for class com.castlabs.android.network.RetryConfiguration
  Create a new instance of the counter
RetryConfiguration(int, long, float, float, long, int[], String[]) - Constructor for class com.castlabs.android.network.RetryConfiguration
  Create a new instance of the counter
RetryConfiguration.Builder - Class in com.castlabs.android.network
  Use this builder to create new instances of the retry configuration
retryException(Exception) - Method in class com.castlabs.android.network.RetryConfiguration
  Checks whether the provided exception triggers retries or not.
retryExceptions(List<Class<? extends Exception>>) - Method in class com.castlabs.android.network.RetryConfiguration.Builder
  Sets Exceptions triggering retries Note: currently implemented for DRM requests only
Rewind - Enum constant in enum com.castlabs.android.player.CustomDashEventListener.EventType
  Rewind event type.
ROLE - Static variable in class com.castlabs.android.player.DashDescriptor
  Role descriptor.
ROOT_OF_TRUST - Enum constant in enum com.castlabs.android.drm.SecurityLevel
  Equals to L2 in Widevine.

## S

s2ms(double) - Static method in class com.castlabs.utils.TimeUtils
  Converts Seconds (double) to Milliseconds (long) e.g.
s2ms(long) - Static method in class com.castlabs.utils.TimeUtils
  Converts Seconds to Milliseconds
s2us(double) - Static method in class com.castlabs.utils.TimeUtils
  Converts Seconds (double) to Microseconds (long) e.g.
s2us(long) - Static method in class com.castlabs.utils.TimeUtils
  Converts Seconds to Microseconds
safeBufferSize(long, TimeUnit) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Minimum target buffer considered safe.
safeBufferSizeUs - Variable in class com.castlabs.android.player.AbrConfiguration
  Minimum target buffer considered safe.
save(Bundle) - Method in class com.castlabs.android.player.PlayerConfig
  Saves the current configuration into a `Bundle`.
save(PlayerConfig) - Method in interface com.castlabs.android.player.PlaybackStateStorage
  Persists the given playback state instance
saveState(Bundle) - Method in class com.castlabs.android.player.PlayerController
  Saves the state of this controller to the given target bundle.
saveState(Bundle) - Method in class com.castlabs.android.player.SingleControllerPlaylist
SCALING_MODE_CROP - Static variable in class com.castlabs.android.player.PlayerView
  The video will be displayed in its original size.
SCALING_MODE_FIT - Static variable in class com.castlabs.android.player.PlayerView
  The video will be scaled using its original aspect ration to fit on the devices screen.
SCALING_MODE_STRETCH - Static variable in class com.castlabs.android.player.PlayerView
  The video will be scaled to fully utilize the available screen size.
scanComponentView(ViewGroup, int, Class) - Static method in class com.castlabs.android.utils.ViewScanner
  Scans the given ViewGroup to find a `View` with the provided id.
scanComponentViews(ViewGroup) - Method in class com.castlabs.android.player.PlayerController
  Scans the given ViewGroup for specific PlayerControllerPlugin Views.
scanComponentViews(ViewGroup) - Method in interface com.castlabs.android.player.PlayerControllerPlugin.ComponentViewListener
  Implementors should scan for the "desired" Views.
scanComponentViews(ViewGroup) - Method in class com.castlabs.android.player.VisualComponentProxy
SCHEDULE_DELAY_MS_KEY - Static variable in class com.castlabs.android.adverts.AdRequest
  Key for identifying the default time offset that will be added to the current position when manually scheduling ads
SCHEDULE_MANUAL - Static variable in class com.castlabs.android.adverts.AdSchedule
  Constant for a manually defined ad schedule.
scheduleAd(AdRequest) - Method in interface com.castlabs.android.adverts.AdInterface
  Manually schedules an `AdRequest`.
scheduleAd(AdRequest) - Method in interface com.castlabs.android.adverts.AdLoader
  Start loading an `AdRequest`.
scheduleAd(AdRequest) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
scheduleAd(AdRequest) - Method in class com.castlabs.android.adverts.ServerAdLoader
scheduleType - Variable in class com.castlabs.android.adverts.AdSchedule
  The type of ad schedule.
scheduleType(int) - Method in class com.castlabs.android.adverts.AdSchedule.Builder
  Sets the type of ad schedule.
SCHEME_ID_URL_SET_SWITCHING - Static variable in class com.castlabs.android.player.MPDParser
  Scheme ID for adaptation set switching
SCHEME_ID_UTC_TIMING_ELEMENT_NTP - Static variable in class com.castlabs.android.SdkConsts
  UTC Timing element representing an NTP request
schemeIdUri - Variable in class com.castlabs.android.player.CustomUtcTimingElement
  Scheme Id URL, see DASH "urn:mpeg:dash:utc:xxx" identifiers
schemeIdUri(String) - Method in class com.castlabs.android.player.models.mpd.EventMessage.Builder
  Sets the message scheme.
ScreenUtils - Class in com.castlabs.android.utils
  Utility class that provides helper methods around the device screen
scte35cmd - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The SCTE35-CMD data of the date range.
scte35in - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The SCTE35-IN data of the date range.
scte35out - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The SCTE35-OUT data of the date range.
SdkConsts - Class in com.castlabs.android
  Contains constants used by the Player SDK.
SdkConsts.AdPosition - Annotation Type in com.castlabs.android
  Annotation for ad position constants
SdkConsts.AdType - Annotation Type in com.castlabs.android
  Annotation for ad type constants
SdkConsts.AnalyticsSessionType - Annotation Type in com.castlabs.android
  Annotation for analytics session type constants
SdkConsts.AudioCodecFilter - Annotation Type in com.castlabs.android
  Annotation for audio codec filter constants
SdkConsts.CodecBufferMode - Annotation Type in com.castlabs.android
  Annotation for codec buffer mode constants
SdkConsts.ContentType - Annotation Type in com.castlabs.android
  Annotation for content type constants
SdkConsts.DataType - Annotation Type in com.castlabs.android
  Annotation for data type constants
SdkConsts.DummySurfaceMode - Annotation Type in com.castlabs.android
  Annotation for dummy surface mode constants
SdkConsts.FastBitrateSwitching - Annotation Type in com.castlabs.android
  Annotation for fast bitrate switching mode constants
SdkConsts.FilterReason - Annotation Type in com.castlabs.android
  Annotation for filter reason constants
SdkConsts.MediaType - Annotation Type in com.castlabs.android
  Annotation for media type constants
SdkConsts.SeekMode - Annotation Type in com.castlabs.android
  Annotation for seek mode constants
SdkConsts.SelectionReason - Annotation Type in com.castlabs.android
  Annotation for selection reason constants
SdkConsts.SubtitleSubSampleType - Annotation Type in com.castlabs.android
  Annotation for subtitle sub sample type constants
SdkConsts.VideoCodecFilter - Annotation Type in com.castlabs.android
  Annotation for video codec filter constants
SECONDARY_DISPLAY - Static variable in class com.castlabs.android.PlayerSDK
  Use this flag to configure handling of secondary displays.
SECONDARY_DISPLAY_ALLOW_ALWAYS - Static variable in class com.castlabs.android.SdkConsts
  Always allow display on a secondary (i.e.
SECONDARY_DISPLAY_ALLOW_SECURE_DISPLAY - Static variable in class com.castlabs.android.SdkConsts
  Allow display on a secondary (i.e.
SECONDARY_DISPLAY_ALLOW_UNPROTECTED_CONTENT - Static variable in class com.castlabs.android.SdkConsts
  Allow display on a secondary (i.e.
SECONDARY_DISPLAY_NEVER - Static variable in class com.castlabs.android.SdkConsts
  Never allow display on a secondary (i.e.
secure - Variable in class com.castlabs.android.player.DisplayInfo
  True if all connected displays are secure and support protected buffers.
SECURE_MEDIA_PATH - Enum constant in enum com.castlabs.android.drm.SecurityLevel
  Equals to L1 in Widevine.
SECURE_SURFACE_VIEW_DISABLED - Static variable in class com.castlabs.android.PlayerSDK
  Disable Secure SurfaceView
SecurityLevel - Enum in com.castlabs.android.drm
  DRM Security level definitions
seek(long, long) - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
  Configure the catchup mode with `CatchupConfiguration.Type.SEEK`.
SEEK - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.Type
  Perform a seek operation.
SEEK - Enum constant in enum com.castlabs.android.player.TrickplayConfiguration.SpeedupMode
  Seek-based play.
SEEK_CLOSEST_SYNC - Static variable in class com.castlabs.android.SdkConsts
  Player mode parameter for seeking to the closest sync point.
SEEK_EXACT - Static variable in class com.castlabs.android.SdkConsts
  Player mode parameter for exact seeking.
SEEK_MODE - Static variable in class com.castlabs.android.PlayerSDK
  Player mode parameter that is applied to seeking.
SEEK_NEXT_SYNC - Static variable in class com.castlabs.android.SdkConsts
  Player mode parameter for seeking to the sync point immediately after a requested seek position.
SEEK_PREVIOUS_SYNC - Static variable in class com.castlabs.android.SdkConsts
  Player mode parameter for seeking to the sync point immediately before a requested seek position.
seekEnd() - Method in class com.castlabs.analytics.AnalyticsSession
seekEnd() - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that the seeking has completed.
seekEndInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
seekModeFrameRenderedTimeoutMs - Variable in class com.castlabs.android.player.TrickplayConfiguration
  Timeout in milliseconds to force a new seek operation after the `pause` State is received.
seekModeFrameRenderedTimeoutMs(long) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.seekModeFrameRenderedTimeoutMs` and returns a reference to this Builder so that the methods can be chained together.
seekOnDownloadError - Variable in class com.castlabs.android.player.CatchupConfiguration
  Directs the player seek to Catchup Upper Time Threshold on Video Segment Download Timeout Errors.
seekProcessed() - Method in class com.castlabs.analytics.AnalyticsSession
seekProcessed() - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that the requested seek position of the video playback is processed.
seekProcessedInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
seekStart(long) - Method in class com.castlabs.analytics.AnalyticsSession
seekStart(long) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Inform the session that the new position of the video playback is requested.
seekStartInternal(long) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
seekToDefaultPositionOnItemChange(boolean) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist.Builder
  Determines whether to seek to the default position of each item upon transitioning to it.
seekWith(long) - Method in class com.castlabs.android.player.PlayerController
  Sets the player to the new position by applying the offset to the current position i.e.
seekWith(long) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Sets the player to the new position by applying the offset to the current position i.e.
segmentParameters - Variable in class com.castlabs.android.player.PlayerConfig
  Header params to add to segment requests
segmentParameters(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the segment header parameters
segmentQueryParameters - Variable in class com.castlabs.android.player.PlayerConfig
  Query params to add to segment requests
segmentQueryParameters(Bundle) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the segment query parameters
segmentsCallTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  Sets the Call timeout for segment requests including the request, redirect and response This only currently works with the OkHttp Plugin.
segmentsCallTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the Call timeout for segment requests including the request, redirect and response This only currently works with the OkHttp Plugin.
segmentsConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The connection timeout in milliseconds for segment requests
segmentsConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the connection timeout for segment requests
segmentsReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The read timeout in milliseconds for segment requests
segmentsReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the read timeout for segment requests
segmentsRetryConfiguration - Variable in class com.castlabs.android.network.NetworkConfiguration
  The `RetryConfiguration` for segment requests that will be to determine how often to retry after loading errors
segmentsRetryConfiguration(RetryConfiguration) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the retry configuration used for segments
selectAudioDrm(Drm, Drm) - Static method in class com.castlabs.android.drm.DrmUtils
  Select the best available DRM if no explicit DRM is specified.
selectAudioDrm(Drm, Drm, Set<Drm>) - Static method in class com.castlabs.android.drm.DrmUtils
  Selects the appropriate audio DRM based on video DRM and exclusions.
selectBestDrm(Drm) - Static method in class com.castlabs.android.drm.DrmUtils
  Select the best available DRM if no explicit DRM is specified.
selectBestDrmExcluded(Set<Drm>) - Static method in class com.castlabs.android.drm.DrmUtils
  Selects the best available DRM from a set of DRMs, excluding specified ones.
selectedAudioTrack - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
  The selected audio track.
selectedSubtitleTrack - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
  The selected subtitle track.
selectedTrickPlayTrack - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
  The selected trick play video track.
selectedVideoTrack - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
  The selected video track.
SELECTION_REASON_ABORT - Static variable in class com.castlabs.android.SdkConsts
  Selection reason that indicates download abort
SELECTION_REASON_FRAME_DROP_EXCEED - Static variable in class com.castlabs.android.SdkConsts
  Selection reason that indicates frame drop threshold exceeded
selectionReasonToString(int) - Static method in class com.castlabs.android.SdkConsts
  Utility method that translates a chunk load selection reason to a string.
SelectorUtils - Class in com.castlabs.android.utils
  Selector utilities facilitating common selection options in both the player and the downloader
selectTracks(RendererCapabilities[], TrackGroupArray, MediaSource.MediaPeriodId, Timeline, Object) - Method in class com.castlabs.android.player.ExtendedTrackSelector
sendError(String, String, int) - Method in class com.castlabs.analytics.AnalyticsSession
sendError(String, String, int) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Send an error manually.
sendErrorInternal(String, String, int) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
sendProvisionRequest(UUID, CastlabsMediaDrm, MediaDrmCallback, ProvisioningManager.ProvisionedCallback) - Static method in class com.castlabs.android.drm.ProvisioningManager
  Send a provisionin request
ServerAdLoader - Class in com.castlabs.android.adverts
  Base class for server-side ad loaders that operate on top of the content media source instead of providing a custom media source hook.
ServerAdProvider - Interface in com.castlabs.android.adverts
  Provider responsible for creating server-side ad loaders (for example SSAI solutions).
serverToLocalOffsetMs - Variable in class com.castlabs.android.player.DrmKeyStorage
  The offset in milliseconds between the server time and the local time.
sessionAcquired(DrmInitData) - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
  Called after `DrmSessionManager.acquireSession(Looper, Format, TrackOutput.Origin)`
sessionClosed() - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
  Called after `DrmLicenseManager.close()`
sessionId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  The session ID
sessionReleased(DrmSession<FrameworkMediaCrypto>) - Method in interface com.castlabs.android.drm.DrmLicenseManagerComponent
  Called after `DrmSession.release()`
set(String, boolean) - Static method in class com.castlabs.analytics.Crashlog
  Sets a boolean value.
set(String, boolean) - Method in interface com.castlabs.analytics.CrashReporter
  Sets a boolean value
set(String, double) - Static method in class com.castlabs.analytics.Crashlog
  Sets a double value.
set(String, double) - Method in interface com.castlabs.analytics.CrashReporter
  Sets a double value
set(String, int) - Static method in class com.castlabs.analytics.Crashlog
  Sets an int value.
set(String, int) - Method in interface com.castlabs.analytics.CrashReporter
  Sets an int value
set(String, String) - Static method in class com.castlabs.analytics.Crashlog
  Sets a string value.
set(String, String) - Method in interface com.castlabs.analytics.CrashReporter
  Sets a string value.
SET_SURFACE_TIMEOUT_MS - Static variable in class com.castlabs.android.PlayerSDK
  Timeout in milliseconds to set the player Surface.
setAbrConfiguration(AbrConfiguration) - Method in class com.castlabs.android.player.PlayerController
  Set the ABR configuration used by the player
setAdsConfiguration(VideoFilterConfiguration) - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
  Sets the video filter configuration for ads.
setAnalyticsMetaData(AnalyticsMetaData) - Method in class com.castlabs.android.player.PlayerController
  Set the analytics meta-data.
setAnalyticsSession(AnalyticsSession) - Method in class com.castlabs.android.player.PlayerController
  Set an already existing AnalyticsSession.
setAudioChannels(int) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the number of audio channels for this track
setAudioCodecFilter(int) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Set the audio codec filtering policy, one of `SdkConsts.AudioCodecFilter`.
setAudioFocusCallback(AudioFocusCallback) - Method in class com.castlabs.android.player.PlayerController
  Sets the `AudioFocusCallback`.
setAudioSamplingRate(float) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the samplign rate
setAudioTrack(AudioTrack) - Method in class com.castlabs.android.player.PlayerController
  Sets the current audio track.
setAudioTrackIndexOverride(TrackIndexOverride) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Set audio track indices override to be used during audio selection
setAudioTrackOverride(AudioTrack) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Set audio track override to be used during audio selection
setBackgrounded(boolean) - Method in class com.castlabs.android.player.PlayerController
  This sends or restores the player from background playback.
setBandwidthResetMode(int) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Configures how bandwidth estimation should be reset during playlist item changes.
setBitrate(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Sets the bitrate
setBufferConfiguration(BufferConfiguration) - Method in class com.castlabs.android.player.PlayerController
  Set the buffer configuration for this controller.
setChangeFramerateStrategy(int) - Method in class com.castlabs.android.player.PlayerController
  Sets a `C.VideoChangeFrameRateStrategy` that will be used by the player when provided with a video output `Surface`.
setClientListener(AdClientInterface.Listener) - Method in interface com.castlabs.android.adverts.AdClientInterface
  Sets or unsets the given `AdClientInterface.Listener`.
setCmcdConfigurationFactory(CmcdConfigurationFactory) - Method in class com.castlabs.android.player.PlayerController
  Sets the `CmcdConfigurationFactory` that will be used to create `CmcdConfiguration` instances.
setCodecs(String) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the codecs of this quality.
setCodecs(String) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Set the codecs of this quality.
setComponentView(int, View) - Method in class com.castlabs.android.player.PlayerController
  Set a specific component View.
setComponentViewListener(PlayerControllerPlugin.ComponentViewListener) - Method in class com.castlabs.android.player.VisualComponentProxy
  Sets the Listener.
setConfigurationProvider(ConfigurationProvider) - Method in class com.castlabs.android.player.PlayerController
  Sets the configuration provider e.g.
setContentConfiguration(VideoFilterConfiguration) - Method in class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
  Sets the video filter configuration for content.
setContentType(int) - Method in class com.castlabs.android.player.AudioAttributes.Builder
  Sets the content type.
setData(byte[]) - Method in class com.castlabs.android.network.NetworkMessage
  Set the payload to send with the request.
setDataSourceFactory(DataSourceFactory) - Method in class com.castlabs.android.player.PlayerController
  Set the `DataSourceFactory` that will be used to create connections.
setDelegate(AdApi) - Method in class com.castlabs.android.adverts.AdApiWrapper
  Sets the delegate.
setDelegate(BandwidthMeter) - Method in class com.castlabs.android.player.BandwidthMeterWrapper
  Set the delegate or null
setDescriptors(List<DashDescriptor>) - Method in class com.castlabs.android.player.models.Track
  Sets the Dash descriptors list
setDisableAnalytics(boolean) - Method in class com.castlabs.android.player.PlayerController
  Sets whether analytics should be disabled for the user's session.
setDisabledRendererIndices(List<Integer>) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Disable renderers by indices such that the tracks of the corresponding type will not be selected
setDiscontiniuityThreshold(long) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
  Sets the discontinuity threshold for stream synchronization.
setDispatcher(IptvAnalyticsListener.EventDispatcher) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
  Sets the event dispatcher for analytics events.
setDrm(Drm) - Method in class com.castlabs.android.player.models.AudioTrack
  Assign `Drm` to the current track
setDrm(Drm) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Assign `Drm` to the current quality
setDrmKeyStatus(KeyStatus) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Sets the DRM key status.
setDrmSystemInformation(int, String) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
  Sets DRM System and License URL used to generate PSSH data for License requests
setDurationUs(long) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the duration of this track in microseconds
setDurationUs(long) - Method in class com.castlabs.android.player.models.VideoTrack
  Set the duration of this track in microseconds
setEmbeddedTrackGroupIndex(int) - Method in class com.castlabs.android.player.models.SubtitleTrack
  Set the track group index in which this TrackGroup is embedded into.
setEnableCache(boolean) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Activates or deactivates caching
setEnabled(boolean) - Method in class com.castlabs.analytics.AnalyticsSession
  Enable or disable the session.
setEnabled(boolean) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
setEndPositionMs(long) - Method in class com.castlabs.android.player.Chapter
  Sets the end position of the chapter in milliseconds.
setEventDispatcher(IptvAnalyticsListener.EventDispatcher) - Method in class com.castlabs.android.player.IPTVComponent
  Sets the `IptvAnalyticsListener` Event Dispatcher for the IPTV Plugin.
setExternalSourceSelector(ExternalSourceSelector) - Method in class com.castlabs.android.player.PlayerController
  Set the `ExternalSourceSelector` that will be used during CDN fallback Set `null` to disable the CDN fallback
setFields(int) - Static method in class com.castlabs.android.network.UserAgent
  Sets the currently enabled fields to include in the user-agent.
setFlags(int) - Method in class com.castlabs.android.player.AudioAttributes.Builder
  Sets the flags.
setFrameRate(float) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Sets the frame rate of this quality.
setGridHeight(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the grid height
setGridWidth(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the grid width
setHdPlaybackEnabled(int) - Method in class com.castlabs.android.player.PlayerController
  Set the HD content filter criteria for this specific controller.
setHeader(String, String) - Method in class com.castlabs.android.network.ExtendedDataSource
setHeight(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Sets the height of this quality in pixels.
setHighlighted(boolean) - Method in class com.castlabs.android.player.Chapter
  Sets whether the chapter is highlighted.
setHlsKeyCache(HlsClearKeyCache) - Method in class com.castlabs.android.player.PlayerController
  Sets the `HlsClearKeyCache` used for HLS Clearkey requests.
setId(String) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the id associated with this track
setId(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
  Set the id associated with this track
setId(String) - Method in class com.castlabs.android.player.models.VideoTrack
  Set the id associated with this track
setId(String) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Set the id associated with this track
setIgnoreDataTillVideoKeyframe(boolean) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
  Sets whether to ignore data until a video keyframe is received.
setInitialDrmConfiguration(DrmConfiguration) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Initial `DrmConfiguration` used to initialize and configure DRM session manager when playback is started with clear playlist item.
setInitialPositionProvider(InitialPositionProvider) - Method in class com.castlabs.android.player.PlayerController
  Sets the `InitialPositionProvider`.
setInitialVideoTrackGroupIndex(int) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Set video track group index override to be used during video selection.
setInternalSourceSelectorFactory(InternalSourceSelector.Factory) - Method in class com.castlabs.android.player.PlayerController
  Set the `InternalSourceSelector.Factory` that will be used during CDN fallback Set `null` to use the default `PlayerSDK.DEFAULT_INTERNAL_SOURCE_SELECTOR_FACTORY`
setInterstitialListener(HlsInterstitialListener) - Method in class com.castlabs.android.player.PlayerController.ExperimentalApi
  Sets the `HlsInterstitialListener` to be notified of interstitial events.
setItemChangeFlags(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Sets the behaviour that will be applied when a new playlist item is about to be played.
setLanguage(String) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the language of this track.
setLanguage(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
  Set the language of this track.
setLiveConfiguration(LiveConfiguration) - Method in class com.castlabs.android.player.PlayerController
  Set the live configuration for this controller.
setLoopingEnabled(boolean) - Method in class com.castlabs.android.player.PlayerController
  Enable/Disable looping
setMaximumLoadedItems(int) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Set the maximum number overall of Playlist items to keep loaded at any time.
setMaxIndex(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the maximal available index
setMaxPlayoutRate(float) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Sets the maximum playout rate.
setMaxVideoSizeFilter(Point) - Method in class com.castlabs.android.player.PlayerController
  Deprecated.
  use `PlayerController.setVideoFilterConfiguration(VideoFilterConfiguration, VideoFilterConfiguration)`
setMediaMimeType(String) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the media mime type accociated with this track
setMediaMimeType(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
  Set the media mime type associated with this track.
setMediaMimeType(String) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Set the media mime type of this quality.
setMimeType(String) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the codec mime type accociated with this track.
setMimeType(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
  Set the codec mime type associated with this track
setMimeType(String) - Method in class com.castlabs.android.player.models.VideoTrack
  Set the mime type accociated with this track
setMimeType(String) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Set the codec mime type of this quality.
setName(String) - Method in class com.castlabs.android.player.models.AudioTrack
  Set a name associated with this track
setName(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
  Set a name associated with this track
setNextItemThreshold(int) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Sets how much time before the end of an asset should the next Playlist item be prepared.
setOnEventListener(ExoMediaDrm.OnEventListener<? super FrameworkMediaCrypto>) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Sets the event listener for DRM events.
setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener<? super FrameworkMediaCrypto>) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Sets the key status change listener for DRM events.
setOriginalGroupIndex(int) - Method in class com.castlabs.android.player.models.Track
  Set the original index of this group
setOriginalGroupIndex(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Set the original index of the corresponding track group
setOriginalLanguage(String) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the manifest language of this track.
setOriginalLanguage(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
  Set the manifest language of this track.
setOriginalTrackIndex(int) - Method in class com.castlabs.android.player.models.Track
  Set the original index of this track
setOriginalTrackIndex(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Set the original index of this track
setOverrideValue(String) - Static method in class com.castlabs.android.network.UserAgent
  Sets the over-ride value for the user-agent, if it is not null all other values would be ignored and this value would be used for the user-agent.
setPeriodDurationUs(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Sets the period duration
setPeriodInfoProvider(PeriodInfoProvider) - Method in class com.castlabs.android.player.PlayerController
  Set the `PeriodInfoProvider` that will be used to get additional information for the played period.
setPeriodStartMs(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the period relative start time
setPictureWidthHeightRatio(float) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Sets the picture width to height ratio.
setPixelWidthHeightRatio(float) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Sets the pixel width to height ratio.
setPlaceHolder(ImageView) - Method in class com.castlabs.android.utils.LazyImageLoader
  Apply the configured placeholder drawable to the given image view.
setPlayerController(PlayerController) - Method in interface com.castlabs.android.adverts.AdLoader
  Set the active `PlayerController` instance or `null` if there is no active `PlayerController` or it is about to be released
setPlayerController(PlayerController) - Method in class com.castlabs.android.adverts.HlsInterstitialAdLoader
setPlayerController(PlayerController) - Method in class com.castlabs.android.adverts.ServerAdLoader
setPlayerController(PlayerController) - Method in interface com.castlabs.android.player.IPlayerView
  Set the player controller used by this view.
setPlayerController(PlayerController) - Method in class com.castlabs.android.player.PlayerView
  Set the player controller used by this view.
setPlayerView(IPlayerView) - Method in class com.castlabs.android.player.PlayerController
  Sets the `IPlayerView` instance that is used to provide the surface and render the video.
setPlaylistWindowAfter(int) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Sets the number of Playlist items to load after the current one.
setPlaylistWindowBefore(int) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Sets the number of Playlist items to load before the current one.
setPosition(long) - Method in class com.castlabs.android.player.PlayerController
  Seek the player to the new position in microseconds.
setPosition(long, int) - Method in class com.castlabs.android.player.PlayerController
  Seek the player to the new position in microseconds using specified seek mode The corresponding event will be sent to analytics session (if any)
setPositionInPeriod(long) - Method in class com.castlabs.android.player.PlayerController
  Seek the player to the new position in microseconds.
setPreferredCodecInfos(List<MediaCodecInfo>) - Method in class com.castlabs.android.player.DefaultMediaCodecSelector
  Set or unset the specific decoder infos
setPrefix(String) - Static method in class com.castlabs.android.network.UserAgent
  Sets the prefix for the user-agent, if it is null the CastLabs SDK version would be considered as the prefix.
setPreselectedAudio(List<TrackIndexOverride>) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Preselect audio tracks available for the selection
setPreselectedSideloadedTracks(List<SubtitleTrack>) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Preselect sideloaded subtitle tracks available for the selection
setPreselectedSubtitle(List<TrackIndexOverride>) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Preselect subtitle tracks available for the selection
setPreselectedVideoQualities(int[]) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Preselect video qualities available for the selection
setPreserveCache(boolean) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Activates or deactivates cache preservation
setPropertyByteArray(String, byte[]) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Sets a byte array property on the MediaDrm instance.
setPropertyString(String, String) - Method in class com.castlabs.android.drm.CastlabsMediaDrm
  Sets a string property on the MediaDrm instance.
setRepresentation(Representation.MultiSegmentRepresentation) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Sets the representation.
setResumeConfiguration(PlayerViewLifecycleDelegate.ResumeConfiguration) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
  Sets the `PlayerViewLifecycleDelegate.ResumeConfiguration`.
setRtpQueueSizeInPackets(int) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
  Sets the RTP queue size in packets.
setScalingMode(int) - Method in interface com.castlabs.android.player.IPlayerView
  Sets the scaling mode for the video view.
setScalingMode(int) - Method in class com.castlabs.android.player.PlayerView
  Sets the new scaling mode to one of `PlayerView.SCALING_MODE_FIT`, `PlayerView.SCALING_MODE_CROP`, or `PlayerView.SCALING_MODE_STRETCH`.
setSdkLogLevel(int) - Static method in class com.castlabs.android.PlayerSDK
  Sets the log level for the SDK
setSecondaryDisplay(int) - Method in class com.castlabs.android.player.PlayerController
  The secondary display setting, which is a bitmap of `SdkConsts.SECONDARY_DISPLAY_NEVER`, `SdkConsts.SECONDARY_DISPLAY_ALLOW_UNPROTECTED_CONTENT`, `SdkConsts.SECONDARY_DISPLAY_ALLOW_SECURE_DISPLAY`, and `SdkConsts.SECONDARY_DISPLAY_ALLOW_ALWAYS`.
setSelectionFlags(int) - Method in class com.castlabs.android.player.models.AudioTrack
  Set the selection flags
setSideloaded(boolean) - Method in class com.castlabs.android.player.models.SubtitleTrack
  Set if the subtitle is of side-loaded type.
setSideloaded(boolean) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set whether this track has been side loaded or not.
setSourceSelector(SourceSelector) - Method in class com.castlabs.android.player.PlayerController
  Deprecated.
  Use `PlayerController.setExternalSourceSelector(ExternalSourceSelector)` } Set the `SourceSelector` that will be used during CDN fallback
setSpeed(float) - Method in class com.castlabs.android.player.PlayerController
  Enable fast-forward or slow motion playback by specifying the playback speed.
setSSLSocketFactory(SSLSocketFactory) - Method in class com.castlabs.android.player.PlayerController
  Set custom `SSLSocketFactory` to be used in DRM and content requests.
setStartSegmentNumber(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the start segment number.
setSubtitlesStyle(SubtitlesStyle) - Method in class com.castlabs.android.player.PlayerController
  Allows you to set the desired captioning style that will be used during subtitle rendering.
setSubtitlesStyle(SubtitlesStyle) - Method in class com.castlabs.android.subtitles.SubtitlesPreviewView
  Set the current style
setSubtitleTrack(SubtitleTrack) - Method in class com.castlabs.android.player.PlayerController
  Enables the given subtitle track.
setSubtitleTrackIndexOverride(TrackIndexOverride) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Set subtitle track indices override to be used during subtitle selection
setSubtitleTrackOverride(SubtitleTrack) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Set subtitle track override to be used during subtitle selection
setSurface(Surface) - Method in class com.castlabs.android.player.PlayerController
  Set the `Surface` that will be used to render video.
setSurfaceType(int) - Method in class com.castlabs.android.player.PlayerView
  Set the surface type to one of `PlayerView.SURFACE_SURFACE_VIEW` or `PlayerView.SURFACE_TEXTURE_VIEW` to specify the type of surface that will be used to render the video content.
setSurfaceVisibility(boolean) - Method in class com.castlabs.android.player.PlayerView
  If you pass true to this method, the current surface view will be scaled to zero size to hide it from the screen but keep it alive.
setTag(Object) - Method in class com.castlabs.android.network.ModifierDataSourceFactory
  Set a tag that will be applied to the produced data sources so request and response modifiers can correlate callbacks.
setTag(Object) - Method in class com.castlabs.android.network.Request
setTag(Object) - Method in class com.castlabs.android.network.Response
setText(String) - Method in interface com.castlabs.android.subtitles.SubtitlesPreview
  Set the subtitle text that will be rendered as a preview
setText(String) - Method in class com.castlabs.android.subtitles.SubtitlesPreviewView
  The preview text
setThumbnailHeight(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the thumbnails height
setThumbnailWidth(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the thumbnails width
setTimeMs(long) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the time per thumbnail in milliseconds.
setTrackIndex(int) - Method in class com.castlabs.android.player.models.Track
  Set the track index of this track
setTrackIndex(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Set the index of this quality within the set of qualities on the parent track.
setTransferListener(TransferListener) - Method in class com.castlabs.android.player.IPTVComponent
  Sets the `TransferListener` for the IPTV Plugin DataSource.
setTransferListener(TransferListener) - Method in class com.castlabs.android.player.IPTVPlayerPlugin
  Sets the transfer listener for monitoring data transfer events.
setTrickModeIds(int[]) - Method in class com.castlabs.android.player.models.Track
  Sets the trick mode IDs for this track.
setTrickplayConfiguration(TrickplayConfiguration) - Method in class com.castlabs.android.player.PlayerController
  Sets which `TrickplayConfiguration` to use.
setType(int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the type of thumbnails.
setUri(Uri) - Method in class com.castlabs.android.network.Request
  Set the target URI for this request.
setUrl(String) - Method in class com.castlabs.android.player.models.SubtitleTrack
  Set the URL that is used to side-load a track.
setUrl(String) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
  Set the URL or URL template to the thumbnail data
setUsage(int) - Method in class com.castlabs.android.player.AudioAttributes.Builder
  Sets the usage.
setVideoCodecFilter(int) - Method in class com.castlabs.android.player.DefaultMediaCodecSelector
  Sets the video codec filter.
setVideoCodecFilter(int) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Set the video codec filtering policy, one of `SdkConsts.VideoCodecFilter`.
setVideoFilter(VideoFilterConfiguration, VideoFilterConfiguration) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Sets the video filter for content and ads.
setVideoFilterConfiguration(VideoFilterConfiguration, VideoFilterConfiguration) - Method in class com.castlabs.android.player.PlayerController
  Sets the video filter configuration for both content and ads.
setVideoFormat(Format) - Method in class com.castlabs.android.player.models.PlayerModel
  Callback that is triggered when the current video quality changes
setVideoHdEnabled(boolean) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Enable or disable the video HD tracks.
setVideoMaxResolution(int, int) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Set the max video tracks resolution in pixels such that the video tracks with higher resolutions will not be available for the selection
setVideoQuality(VideoTrackQuality) - Method in class com.castlabs.android.player.PlayerController
  Set the desired video quality or pass null to enable adaptive bitrate switching (default).
setVideoTrack(VideoTrack) - Method in class com.castlabs.android.player.PlayerController
  Sets the current video track.
setVideoTrack(VideoTrack, VideoTrackQuality) - Method in class com.castlabs.android.player.PlayerController
  Sets the current video track and a manually selected quality.
setVideoTrackOverride(VideoTrack) - Method in class com.castlabs.android.player.ExtendedTrackSelector
  Set video track override to be used during video selection
setVisible(boolean) - Method in interface com.castlabs.android.player.IPlayerView
  Allow to show ore hide this player view.
setVisible(boolean) - Method in class com.castlabs.android.player.PlayerView
setVolume(float) - Method in class com.castlabs.android.player.PlayerController
  Sets the output volume (gain) of the audio track.
setWidth(int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
  Sets the width of this quality in pixels.
setWrapAroundPlaylistEdges(boolean) - Method in class com.castlabs.android.player.SingleControllerPlaylist
  Set whether the Playlist should wrap around the edges.
SEVERITY - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Severity level of the error
SEVERITY_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error severity.
SEVERITY_INFO - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Info severity.
SEVERITY_WARNING - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Warning severity.
SharedPreferencesKeyStore - Class in com.castlabs.android.drm
  KeyStore implementation that stores keySetIds in `SharedPreferences`.
SharedPreferencesKeyStore(Context) - Constructor for class com.castlabs.android.drm.SharedPreferencesKeyStore
  Creates a new store that persists the KeySetIds in a `Context.MODE_PRIVATE` shared preferences using the `SharedPreferencesKeyStore.DEFAULT_PREF_NAME`
SharedPreferencesKeyStore(Context, String) - Constructor for class com.castlabs.android.drm.SharedPreferencesKeyStore
  Creates a new store that persists the KeySetIds in a `Context.MODE_PRIVATE` shared preferences using the given name.
SharedPreferencesKeyStore(SharedPreferences) - Constructor for class com.castlabs.android.drm.SharedPreferencesKeyStore
  Creates a new store that uses the given shared preferences as backend.
shouldSeekOnDownloadError(Boolean) - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
  Sets whether the player should seek to the upper threshold on segment download errors.
shutdown() - Method in class com.castlabs.android.utils.LazyImageLoader
  Shut down this image loader.
SideloadedTrack - Class in com.castlabs.android.player.models
  Represents a track which is side-loaded (not declared in the content manifest).
SideloadedTrack(SideloadedTrack.Type, String, String, long, long, long, int, String, String, String) - Constructor for class com.castlabs.android.player.models.SideloadedTrack
  Creates a new SideloadedTrack.
SideloadedTrack.Builder<T> - Class in com.castlabs.android.player.models
  Base Builder class
SideloadedTrack.SubtitleBuilder - Class in com.castlabs.android.player.models
  Convenience Builder to create a `SideloadedTrack` with the type set to `SideloadedTrack.Type.SUBTITLE`
SideloadedTrack.ThumbnailBuilder - Class in com.castlabs.android.player.models
  Convenience Builder to create a `SideloadedTrack` with the type set to `SideloadedTrack.Type.THUMBNAIL`
SideloadedTrack.Type - Enum in com.castlabs.android.player.models
  Represents the type of the sideloaded track.
sideloadedTracks - Variable in class com.castlabs.android.player.PlayerConfig
  Array of side-loaded tracks, either subtitles or thumbnails
sideloadedTracks(ArrayList<SideloadedTrack>) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the sideloaded tracks
SimpleLicenseLoader - Class in com.castlabs
  Implementation of the `LicenseLoader` that will return license data as passed in the constructor.
SimpleLicenseLoader(byte[]) - Constructor for class com.castlabs.SimpleLicenseLoader
  Creates a new instance of this license loader.
SimpleLicenseLoader(String) - Constructor for class com.castlabs.SimpleLicenseLoader
  Creates a new instance of this license loader.
SingleControllerPlaylist - Class in com.castlabs.android.player
  `Playlist` implementation.
SingleControllerPlaylist(Context, SingleControllerPlaylist.PlaylistListener) - Constructor for class com.castlabs.android.player.SingleControllerPlaylist
  Create a new player controller using the given context
SingleControllerPlaylist.AbstractPlaylistListener - Class in com.castlabs.android.player
  Utility class with empty implementations of the methods defined in `SingleControllerPlaylist.PlaylistListener`
SingleControllerPlaylist.BandwidthResetMode - Annotation Type in com.castlabs.android.player
  Annotation for BandwidthResetMode
SingleControllerPlaylist.ItemLoadListener - Interface in com.castlabs.android.player
  Listener which provides callbacks for whenever a `PlayerConfig` is loaded or unloaded from the playlist.
SingleControllerPlaylist.PlaylistListener - Interface in com.castlabs.android.player
  Playlist-related events listener.
SingleViewPlayerViewComponent() - Constructor for class com.castlabs.android.player.PlayerViewPlugin.SingleViewPlayerViewComponent
  Default constructor for the `PlayerViewPlugin.SingleViewPlayerViewComponent`.
skipAd() - Method in interface com.castlabs.android.adverts.AdApi
  Request to skip the currently playing ad, if any, and skippable.
skipAd() - Method in class com.castlabs.android.adverts.AdApiWrapper
skipTimeOffset - Variable in class com.castlabs.android.adverts.Ad
  The number of seconds of playback before the ad becomes skippable.
slideNext() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Slides the current item in the playlist to the next position.
slidePrevious() - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Slides the current item in the playlist to the previous position.
snapToSegmentStart - Variable in class com.castlabs.android.player.LiveConfiguration
  By default the start position for a live stream snaps to a segment start.
snapToSegmentStart() - Method in interface com.castlabs.android.player.InitialPositionProvider
  Determines whether the player should snap to the previous sync point.
snapToSegmentStart(boolean) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Usually live streams start at the the start of a segment.
SocketConnectivityCheck - Class in com.castlabs.android.network
  Connectivity check that uses a socket connection to a specified host and port.
SocketConnectivityCheck(Context, String, int, int) - Constructor for class com.castlabs.android.network.SocketConnectivityCheck
  Check the connectivity by establishing a connection to lookupHost:port with connection timeoutMs
SOFTWARE - Enum constant in enum com.castlabs.android.drm.SecurityLevel
  Equals to L3 in Widevine.
SourceData(ExternalSourceSelector.SwitchType, String) - Constructor for class com.castlabs.android.player.ExternalSourceSelector.SourceData
  Source (CDN) with specified `ExternalSourceSelector.SwitchType` and manifest URL
SourceData(String) - Constructor for class com.castlabs.android.player.ExternalSourceSelector.SourceData
  Source (CDN) with `ExternalSourceSelector.SwitchType.Auto` and specified manifest URL
SourceSelector - Interface in com.castlabs.android.player
  Deprecated.
  Use `ExternalSourceSelector`
sourceSelectorFactory(InternalSourceSelector.Factory) - Method in class com.castlabs.android.player.DrmLicenseLoader.Builder
  Set the source selector factory that is used to pick up a base url from the manifest
speed - Variable in class com.castlabs.android.player.TrickplayConfiguration
  The playback speed.
speed(float) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.speed` and returns a reference to this Builder so that the methods can be chained together.
speed(long, long, long, float) - Method in class com.castlabs.android.player.CatchupConfiguration.Builder
  Configure the catchup mode with `CatchupConfiguration.Type.SPEED`.
SPEED - Enum constant in enum com.castlabs.android.player.CatchupConfiguration.Type
  Speed up/down.
speedCoefficient - Variable in class com.castlabs.android.player.CatchupConfiguration
  Player speed at which to perform Catchup when `CatchupConfiguration.upperTimeThresholdMs` is reached.
speedupMode - Variable in class com.castlabs.android.player.TrickplayConfiguration
  The `TrickplayConfiguration.SpeedupMode` to use
speedupMode(TrickplayConfiguration.SpeedupMode) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.speedupMode` and returns a reference to this Builder so that the methods can be chained together.
splitEntryPath(Uri) - Static method in class com.castlabs.android.downloader.ContainerUtils
  Takes a zip file URI of the form `zip:/path/to/file.zip/entry/path.txt` and returns a pair where the first element is the path to the zip file and the second entry is the path to the entry.
SSL_KEY_STORE - Static variable in class com.castlabs.android.PlayerSDK
  The SSL key store used to verify certificates only in case the system default key store fails to verify them.
SslUtils - Class in com.castlabs.android.utils
  Utility class for SSL related operations.
STAGING_DT_DASHBOARD_URL - Static variable in class com.castlabs.android.drm.DrmUtils
  The staging DRM Today dashboard URL
start(Activity) - Method in class com.castlabs.android.player.PlayerViewLifecycleDelegate
  Call this method when the hosting activity is started.
start(PlayerController, AnalyticsMetaData) - Method in class com.castlabs.analytics.AnalyticsSession
start(PlayerController, AnalyticsMetaData) - Method in interface com.castlabs.analytics.IAnalyticsSession
  Start the session on the given controller
startInternal(PlayerController, AnalyticsMetaData) - Method in class com.castlabs.analytics.AnalyticsSessionProxy
startOffsetUs - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial
  The start offset of the interstitial relative to the start of the playlist in microseconds
startTimeMs(long) - Method in class com.castlabs.android.player.models.Timeline.Window.Builder
  Sets the start time of the Window in milliseconds.
startTimeUs - Variable in class com.castlabs.android.player.models.hls.HlsDateRange
  The start time of the date range in microseconds since the epoch.
stop() - Method in class com.castlabs.analytics.AnalyticsSession
stop() - Method in interface com.castlabs.analytics.IAnalyticsSession
  Stop the session.
stopInternal() - Method in class com.castlabs.analytics.AnalyticsSessionProxy
StreamingEventListener - Interface in com.castlabs.android.player
  You can use this listener to get callbacks about current content downloads.
streamType - Variable in class com.castlabs.android.adverts.Ad
  Stream type
stringForBitrate(int) - Static method in class com.castlabs.utils.StringUtils
  Formats a given bitrate as bps, Kbps, or Mbps.
stringForBitrate(long) - Static method in class com.castlabs.utils.StringUtils
  Formats a given bitrate as bps, Kbps, or Mbps.
stringForComputerSize(long) - Static method in class com.castlabs.utils.StringUtils
  Convert the size in bytes into a string typed as "x.xx bytes", "x.xx KB" or "x.xx MB" or "x.xx GB"
stringForTime(long) - Static method in class com.castlabs.utils.StringUtils
  Convert the time in seconds into a string type as "hh:mm:ss" or "mm:ss" depending on the duration being >= 1h or not
stringForTime(long, boolean) - Static method in class com.castlabs.utils.StringUtils
  Convert the time in seconds into a string type as "hh:mm:ss" or "mm:ss" depending on the duration being >= 1h or not or the hour format is forced.
stringForTime(long, TimeUnit) - Static method in class com.castlabs.utils.StringUtils
  Convert the time in seconds into a string type as "hh:mm:ss" or "mm:ss" depending on the duration being >= 1h or not
stringForTimeMs(long, boolean, boolean) - Static method in class com.castlabs.utils.StringUtils
  Convert the time in milliseconds into a string type as "hh:mm:ss" or "mm:ss" depending on the duration being >= 1h or not or the hour format is forced.
StringUtils - Class in com.castlabs.utils
  String utilities and formats
STRIP_NON_ASCII_CHARACTERS - Static variable in class com.castlabs.android.network.UserAgent
  By default, the UserAgent string will be stripped and all non-ASCII characters will be removed.
Subtitle - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
  Subtitle content type.
SUBTITLE - Enum constant in enum com.castlabs.android.player.models.SideloadedTrack.Type
  Subtitle track.
SUBTITLE_PREVIEW_BUILDER - Static variable in class com.castlabs.android.PlayerSDK
  Static property that can be set (usually by plugins) to register a preview builder that is in turn used to create subtitle preview views.
SUBTITLE_SUB_SAMPLE_TYPE_ABSOLUTE - Static variable in class com.castlabs.android.SdkConsts
  Use this value for absolute subtitle time.
SUBTITLE_SUB_SAMPLE_TYPE_RELATIVE - Static variable in class com.castlabs.android.SdkConsts
  Use this value for relative subtitle time.
SubtitleBuilder() - Constructor for class com.castlabs.android.player.models.SideloadedTrack.SubtitleBuilder
  Creates a new SubtitleBuilder.
SubtitlesPreview - Interface in com.castlabs.android.subtitles
  Implementations of this interface provide a view that can render a preview of a given subtitle text.
SubtitlesPreviewBuilder - Interface in com.castlabs.android.subtitles
  Implementations of this interface can create `SubtitlesPreview` instances.
SubtitlesPreviewView - Class in com.castlabs.android.subtitles
  View component that can be added to show a preview of subtitles with a given style.
SubtitlesPreviewView(Context) - Constructor for class com.castlabs.android.subtitles.SubtitlesPreviewView
  Creates a new SubtitlesPreviewView.
SubtitlesPreviewView(Context, AttributeSet) - Constructor for class com.castlabs.android.subtitles.SubtitlesPreviewView
  Creates a new SubtitlesPreviewView.
SubtitlesPreviewView(Context, AttributeSet, int) - Constructor for class com.castlabs.android.subtitles.SubtitlesPreviewView
  Creates a new SubtitlesPreviewView.
SubtitlesStyleObserver - Interface in com.castlabs.android.subtitles
  Implementations of this interface can receive a `SubtitlesStyle` that will be used to render subtitles and closed captions.
subtitlesTrackGroupIndex - Variable in class com.castlabs.android.player.PlayerConfig
  The index of the selected subtitle track group or -1 for if subtitles are disabled
subtitlesTrackGroupIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the subtitles track group index
subtitlesTrackIndex - Variable in class com.castlabs.android.player.PlayerConfig
  The index of the selected subtitle track or -1 for if subtitles are disabled
subtitlesTrackIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the subtitles track index
subtitleSubSampleType - Variable in class com.castlabs.android.player.PlayerConfig
  Defines whether the subtitle times are absolute or relative.
subtitleSubSampleType(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Defines whether the subtitle times are absolute or relative.
SubtitlesViewComponent<T> - Class in com.castlabs.android.views
  This is a `PlayerViewPlugin.PlayerViewComponent` that will be automatically used when you are using a `PlayerView`.
SubtitlesViewComponent() - Constructor for class com.castlabs.android.views.SubtitlesViewComponent
  Default constructor for SubtitlesViewComponent.
SubtitleTrack - Class in com.castlabs.android.player.models
  A subtitle track.
SubtitleTrack() - Constructor for class com.castlabs.android.player.models.SubtitleTrack
  Create a new track instance
SubtitleTrack(Format) - Constructor for class com.castlabs.android.player.models.SubtitleTrack
  Create a new track instance and populate it from the information from the given format.
SUPPLEMENTAL_PROPERTY - Static variable in class com.castlabs.android.player.DashDescriptor
  Supplemental property descriptor.
SURFACE_SURFACE_VIEW - Static variable in class com.castlabs.android.player.PlayerView
  Indicates the use of a `SurfaceView` to provide the rendering surface for this player view.
SURFACE_TEXTURE_VIEW - Static variable in class com.castlabs.android.player.PlayerView
  Indicates the use of a `TextureView` to provide the rendering surface for this player view.
swap(PlayerConfig, PlayerConfig) - Method in class com.castlabs.android.player.playlist.MultiControllerPlaylist
  Interchanges two Playlist items.
swap(PlayerConfig, PlayerConfig) - Method in interface com.castlabs.android.player.Playlist
  Interchanges two Playlist items.
swap(PlayerConfig, PlayerConfig) - Method in class com.castlabs.android.player.SingleControllerPlaylist
switchType - Variable in class com.castlabs.android.player.ExternalSourceSelector.SourceData
  The type of the source (CDN) fallback.
syncElapsedTime - Variable in class com.castlabs.android.player.DrmKeyStorage
  The elapsed time in milliseconds since the last synchronization.
syncLocalTime - Variable in class com.castlabs.android.player.DrmKeyStorage
  The local time in milliseconds when the last synchronization occurred.
SYSTEM_STATUS_CALLBACK - Static variable in class com.castlabs.android.PlayerSDK
  If specified, the callback implementation will be triggered on the main thread and inform about the current system status.

## T

TAG_URL_KEY - Static variable in class com.castlabs.android.adverts.AdRequest
  Ad tag for (client-side) IMA requests.
target - Variable in class com.castlabs.android.downloader.DownloadableResource
  The absolute path to the local target path.
TEST_DT_DASHBOARD_URL - Static variable in class com.castlabs.android.drm.DrmUtils
  The test DRM Today dashboard URL
TEXT - Static variable in class com.castlabs.android.SdkConsts
  Identifies the subtitle or text content
TEXT_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
  Identifies the subtitle track
threesixty - Variable in class com.castlabs.android.player.PlayerConfig
  360 support
threesixty(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets whether this is 360 content
THUMBNAIL - Enum constant in enum com.castlabs.android.player.models.SideloadedTrack.Type
  Thumbnail track.
THUMBNAIL - Static variable in class com.castlabs.android.SdkConsts
  Identifies the thumbnail content
ThumbnailBuilder() - Constructor for class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
  Creates a new ThumbnailBuilder.
thumbnailConnectionTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The connection timeout in milliseconds for thumbnail requests.
thumbnailConnectionTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the connection timeout for thumbnail requests.
ThumbnailDataTrack - Class in com.castlabs.android.player.models
  A thumbnail track.
ThumbnailDataTrack() - Constructor for class com.castlabs.android.player.models.ThumbnailDataTrack
  Default constructor.
ThumbnailDataTrack(Format) - Constructor for class com.castlabs.android.player.models.ThumbnailDataTrack
  Constructor that initializes fields from a `Format` object.
ThumbnailDataTrack.ThumbnailFormat - Annotation Type in com.castlabs.android.player.models
  Defines the possible thumbnail formats.
thumbnailFormat - Variable in class com.castlabs.android.player.models.SideloadedTrack
  Thumbnail format.
thumbnailReadTimeoutMs - Variable in class com.castlabs.android.network.NetworkConfiguration
  The read timeout in milliseconds for thumbnail requests.
thumbnailReadTimeoutMs(int) - Method in class com.castlabs.android.network.NetworkConfiguration.Builder
  Sets the read timeout for thumbnail requests.
thumbnailType(int) - Method in class com.castlabs.android.player.models.SideloadedTrack.ThumbnailBuilder
  Set the thumbnail format
TIME_FORMAT - Static variable in class com.castlabs.android.drm.DrmTodayUriFactory
  Date format for DRM time in ISO 8601 format (yyyyMMdd'T'HHmmss.SSS'Z').
timeline - Variable in class com.castlabs.android.player.ExtendedTrackSelector.ModelSelection
  The timeline associated with this selection.
Timeline - Class in com.castlabs.android.player.models
  Timeline object.
Timeline.Builder - Class in com.castlabs.android.player.models
  Builder for `Timeline`s.
Timeline.Period - Class in com.castlabs.android.player.models
  A Period.
Timeline.Period.Builder - Class in com.castlabs.android.player.models
  Builder for `Timeline.Period`s.
Timeline.Window - Class in com.castlabs.android.player.models
  A Window.
Timeline.Window.Builder - Class in com.castlabs.android.player.models
  Builder for `Timeline.Window`s.
TimelineChangedListener - Interface in com.castlabs.android.player
  Interface definition for a callback to be invoked when the timeline has changed.
TimelineListener - Interface in com.castlabs.android.player
  Deprecated.
  Use `TimelineChangedListener` or `PeriodChangedListener` instead
timeOffset - Variable in class com.castlabs.android.adverts.AdPodData
  Returns the content time offset at which the current ad pod was scheduled.
timeReference - Variable in class com.castlabs.android.player.CatchupConfiguration
  The time reference to which the thresholds will be relative
timescale(long) - Method in class com.castlabs.android.player.models.mpd.EventStream.Builder
  Sets the timescale.
timesyncSafetyMs - Variable in class com.castlabs.android.player.LiveConfiguration
  Set the time synchronization safety buffer to cope with inaccuracies
timesyncSafetyMs(long) - Method in class com.castlabs.android.player.LiveConfiguration.Builder
  Set the time sync safety to deal with inaccurate time syncs by adjusting the calculated server time.
timeThresholdMs - Variable in class com.castlabs.android.player.AbrConfiguration
  The min time in milliseconds before transferred bytes and times are used for ABR calculations, applicable to `AbrConfiguration.METHOD_COMMON_NBA`
timeThresholdMs(int) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Set the `AbrConfiguration.timeThresholdMs`
timeToMilliseconds(String) - Static method in class com.castlabs.utils.TimeUtils
  Takes a string of the form "HH:MM:SS", "MM:SS", or "SS" and converts it to milliseconds.
timeToString(long) - Static method in class com.castlabs.utils.TimeUtils
  Converts the given time to a string in the format "HH:MM:SS".
TimeUtils - Class in com.castlabs.utils
  Utilities around time
title - Variable in class com.castlabs.android.adverts.Ad
  Ad title
title - Variable in class com.castlabs.android.player.Chapter
  (Optional) title
toBundle() - Method in class com.castlabs.android.player.PlayerConfig
  Obtain a `Bundle` filled with key-value pairs representing the current configuration.
toByteArray(InputStream) - Static method in class com.castlabs.utils.IOUtils
  Read and return the content of the given stream as byte[]
toCompositeIndex(int, int) - Static method in class com.castlabs.android.downloader.TrackIndexConverter
  Stores group and track indices into the integer value
toCounter() - Method in class com.castlabs.android.network.RetryConfiguration
  INTERNAL: Converts this configuration to the retry counter that will be used by the player
toString() - Method in class com.castlabs.android.drm.DrmConfiguration
toString() - Method in class com.castlabs.android.drm.DrmTodayConfiguration
toString() - Method in exception class com.castlabs.android.drm.DrmTodayException
toString() - Method in class com.castlabs.android.network.NetworkConfiguration
toString() - Method in class com.castlabs.android.network.UserAgent
toString() - Method in class com.castlabs.android.player.AbrConfiguration
toString() - Method in class com.castlabs.android.player.BufferConfiguration
toString() - Method in class com.castlabs.android.player.CatchupConfiguration
toString() - Method in class com.castlabs.android.player.CustomUtcTimingElement
toString() - Method in class com.castlabs.android.player.DisplayInfo
toString() - Method in class com.castlabs.android.player.DrmKeyStorage
toString() - Method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
toString() - Method in class com.castlabs.android.player.LiveConfiguration
toString() - Method in class com.castlabs.android.player.LowLatencyProfile
toString() - Method in class com.castlabs.android.player.models.AudioTrack
toString() - Method in class com.castlabs.android.player.models.mpd.EventMessage
toString() - Method in class com.castlabs.android.player.models.SubtitleTrack
toString() - Method in class com.castlabs.android.player.models.VideoTrackQuality
toString() - Method in class com.castlabs.android.player.TrickplayConfiguration
toString(InputStream) - Static method in class com.castlabs.utils.IOUtils
  Gets the contents of an InputStream as a String assuming UTF8 encoding
totalAds - Variable in class com.castlabs.android.adverts.AdPodData
  Returns the total number of ads contained within this pod, including bumpers.
toTrackFromCompositeIndex(int) - Static method in class com.castlabs.android.downloader.TrackIndexConverter
  Extracts track index from the given integer value
toTrackGroupFromCompositeIndex(int) - Static method in class com.castlabs.android.downloader.TrackIndexConverter
  Extracts group index from the given integer value
Track - Class in com.castlabs.android.player.models
  Base class for tracks that exposes a track index to uniquely identify the track within a player model.
Track() - Constructor for class com.castlabs.android.player.models.Track
  Default constructor for Track.
TRACK_TYPE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  The value of the key is the track type, one of `PlayerController.VIDEO_RENDERER`, `PlayerController.AUDIO_RENDERER`, `PlayerController.TEXT_RENDERER` or `PlayerController.METADATA_RENDERER`
TRACK_TYPE_PROVIDER - Static variable in class com.castlabs.android.PlayerSDK
  The track type provider that will be used to define track group and tracks types and their weights.
TRACK_TYPE_THUMBNAIL - Static variable in class com.castlabs.android.SdkConsts
  Track type defining thumbnails track
TrackFilter - Interface in com.castlabs.android.player.filter
  Single-track filter interface.
trackGroupIndex - Variable in class com.castlabs.android.player.TrackIndexOverride
  The index of the track group.
trackIndex - Variable in class com.castlabs.android.player.TrackIndexOverride
  The index of the track within the track group.
TrackIndexConverter - Class in com.castlabs.android.downloader
  Utility class used to store group and track indices within one integer.
TrackIndexOverride - Class in com.castlabs.android.player
  Represents an override for a track index within a track group.
TrackIndexOverride(int, int) - Constructor for class com.castlabs.android.player.TrackIndexOverride
  Constructs a new TrackIndexOverride.
TrackRendererContainer(BaseRenderer, Integer) - Constructor for class com.castlabs.android.player.TrackRendererPlugin.TrackRendererContainer
  Create an instance of this container
TrackRendererPlugin - Interface in com.castlabs.android.player
  This plugin interface can be used to implement a track renderer integration.
TrackRendererPlugin.TrackRendererBuilder - Interface in com.castlabs.android.player
  Implementations of the builder a responsible to create `Renderer` instances.
TrackRendererPlugin.TrackRendererContainer - Class in com.castlabs.android.player
  The builder interface creates instances of this container that wraps the renderer instance and an optional view component.
TrackRendererPlugin.Type - Enum in com.castlabs.android.player
  The different content types
TrackSelectionListener - Interface in com.castlabs.android.player
  This is a high level listener interface that provides callbacks for track selection events.
trackType - Variable in class com.castlabs.android.player.models.SideloadedTrack
  Track type, can be either `SideloadedTrack.Type.SUBTITLE` or `SideloadedTrack.Type.THUMBNAIL`
TrackTypeProvider - Class in com.castlabs.android.player
  The implementations of this interface should provide the track types, track group types and their weights according to some desired model.
TrackTypeProvider() - Constructor for class com.castlabs.android.player.TrackTypeProvider
  Creates a new instance of `TrackTypeProvider`.
TrackTypeUtils - Class in com.castlabs.android.utils
  Utility class for converting track types to renderer track types and vice versa.
trickplayConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
  The Trickplay configuration
trickplayConfiguration(TrickplayConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the `TrickplayConfiguration`
TrickplayConfiguration - Class in com.castlabs.android.player
  Container which groups several Trickplay (speedup) configuration.
TrickplayConfiguration() - Constructor for class com.castlabs.android.player.TrickplayConfiguration
  Default constructor for TrickplayConfiguration.
TrickplayConfiguration(TrickplayConfiguration.SpeedupMode, float, boolean, boolean, boolean, boolean, int, VideoTrackQuality, double, long) - Constructor for class com.castlabs.android.player.TrickplayConfiguration
  Constructor for TrickplayConfiguration.
TrickplayConfiguration.Builder - Class in com.castlabs.android.player
  `TrickplayConfiguration` Builder.
TrickplayConfiguration.SpeedupMode - Enum in com.castlabs.android.player
  Speedup mode to use during Trickplay
trickplayTrack - Variable in class com.castlabs.android.player.TrickplayConfiguration
  If informed, this will be the track that will be loaded for trickplay playback.
trickplayTrack(VideoTrackQuality) - Method in class com.castlabs.android.player.TrickplayConfiguration.Builder
  Sets the `TrickplayConfiguration.Builder.trickplayTrack` and returns a reference to this Builder so that the methods can be chained together.
tryPlayerController() - Method in interface com.castlabs.android.player.IPlayerView
  Returns the current instance of the `PlayerController` that is used by this view.
tryPlayerController() - Method in class com.castlabs.android.player.PlayerView
TunnelingException - Exception Class in com.castlabs.android.player.exceptions
  Exception that is raised when tunneling mode can not be enabled because of specified reasons.
TunnelingException.Reason - Enum in com.castlabs.android.player.exceptions
  The reason why tunneling mode could not be enabled.
type - Variable in class com.castlabs.android.downloader.DownloadableResource
  The chunk type, for example `SdkConsts.THUMBNAIL`.
type - Variable in exception class com.castlabs.android.drm.CastlabsMediaDrm.CastlabsMediaDrmException
  The type of the exception, indicating the specific error that occurred.
type - Variable in class com.castlabs.android.network.Request
  The request type.
type - Variable in class com.castlabs.android.network.Response
  The response type.
type - Variable in class com.castlabs.android.player.CatchupConfiguration
  The type (strategy) of the Catchup behaviour.
TYPE_AD_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised when a general error occurs at initializing or during an Ad.
TYPE_AD_REQUEST_UNSUPPORTED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when trying to play Ads but the current Player setup doesn't support it.
TYPE_API_MISMATCH - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if a method is called that is not supported on the current API level.
TYPE_AUDIO_DECODER_INITIALIZATION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the audio decoder can not be initialized.
TYPE_AUDIO_DECRYPTION_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Raised when an error occurs while decrypting audio data.
TYPE_AUDIO_TRACK_INITIALIZATION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the track can not be initialized.
TYPE_AUDIO_UNSUPPORTED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if all audio tracks are filtered out as unsupported.
TYPE_AUDIO_WRITE_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Raised when an error occurs while writing to the audio track.
TYPE_BEHIND_LIVE_WINDOW - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the current playback position is behind the live edge in a live stream.
TYPE_BIF - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
  Type that indicates that the URL to a BIF file is used where the BIF file contains the Index and the thumbnails.
TYPE_CONNECTIVITY_GAINED_INFO - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This exception is raised after the player lost connectivity (`CastlabsPlayerException.TYPE_CONNECTIVITY_LOST_ERROR`), once connectivity was re-gained.
TYPE_CONNECTIVITY_LOST_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if an exception occurred while downloading playback and no network connectivity is available.
TYPE_CSL_LIMIT_REACHED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when concurrent stream limiting reaches maximum clients
TYPE_CSL_NETWORK_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when there's a network error with the concurrent stream limiting service
TYPE_DATA_DOWLOAD_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if an exception occurred while downloading data.
TYPE_DNS_SERVER_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised when a DNS server error occurs.
TYPE_DOWNLOAD_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if an exception occurred while downloading playback data.
TYPE_DOWNLOAD_WARNING - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if an exception occurred while downloading playback data.
TYPE_DRM_EXCEPTION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if an exception occurred while the player was communicating with DRM server to fetch a license.
TYPE_DRM_KEY_DOWNLOAD_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if a DRM key could not be fetched successfully.
TYPE_DRM_PROVISION_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised during device provisioning
TYPE_DRMTODAY_EXCEPTION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if an exception occurred while the player was communicating with DRMToday to fetch a license.
TYPE_HDCP_CONNECTION_WARNING - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This exception is raised after the player sees changes in HDCP connectivity.
TYPE_INVALID_PLAYER_LICENSE - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the Castlabs player license is invalid or expired.
TYPE_JPEG_TEMPLATE - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
  Type that indicates that a template URL is used where $index$ will be replaced with the thumbnail index starting at 1.
TYPE_KEY_EXPIRED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if a DRM key expires during playback.
TYPE_MANIFEST_INVALID - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error happens when the player found a semantic issue with a Manifest.
TYPE_MANIFEST_LOADING_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error type is raised when loading the player manifest (i.e.
TYPE_MANIFEST_PARSING_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error type is raised when parsing the player manifest (i.e.
TYPE_NO_PLAYABLE_CONTENT - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the applied filters were not able to find any viable content that can be displayed on the current device.
TYPE_NO_RENDERER_FOUND - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when no plugin was found that can be used to create a renderer to playback a given DRM and content combination.
TYPE_PLAYBACK_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the ExoPlayer reports a general playback error.
TYPE_PLAYLIST_ITEM_PREFETCH_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when an item fails to load during prefetch (while another item is playing).
TYPE_PLAYLIST_ITEM_TRANSITION_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the player tries to transition to an item that failed to load.
TYPE_SDK_INIT_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the SDK could not be initialised successfully.
TYPE_SDK_NOT_INITIALIZED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the SDK was not initialized using one of `PlayerSDK.init(Context)` or `PlayerSDK.init(Context, LicenseLoader)`.
TYPE_SECONDARY_DISPLAY - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if a secondary display is detected and the current configuration does not permit playback on that display.
TYPE_TEXT_UNSUPPORTED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if all text tracks are filtered out as unsupported.
TYPE_TIME_OUT_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised when a timeout error occurs.
TYPE_TUNNELING_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error happens when tunneling mode can not be enabled on a device and the playback in non-tunneling mode continues.
TYPE_UNDEFINED - Static variable in class com.castlabs.android.player.TrackTypeProvider
  Defines the unknown or not applicable track or track group type.
TYPE_UNKNOWN - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised with an unknown type
TYPE_UNKNOWN - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
  Type that indicates that the actual thumbnail type is unknown and should be inferred from the URL extension.
TYPE_UNSUPPORTED_DRM - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if you are trying to use a DRM system that is not supported by the device.
TYPE_USER_ID_NOT_PROVIDED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Error raised when the userID is mandatory and has not been provided.
TYPE_VIDEO_BLOCKLIST_FAILED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised when video quality blocklisting fails as the current quality is the only video quality left for playback.
TYPE_VIDEO_DECODER_INITIALIZATION - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Raised when the video decoder can not be initialized.
TYPE_VIDEO_DECRYPTION_ERROR - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Raised when an error occurs while decrypting audio data.
TYPE_VIDEO_UNSUPPORTED - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  This error is raised if all video tracks are filtered out as unsupported.
TYPE_WEBVTT_INDEX - Static variable in class com.castlabs.android.player.models.ThumbnailDataTrack
  Type that indicates the a URL to a WebVTT file is used where the WebVTT is the index over the thumbnails.
typeCheck(Object, Class<?>, Object, String) - Static method in class com.castlabs.android.player.PlayerConfig.Builder
  Helper function that we use to type check the value extracted from a bundle
typesOverlap(int, int) - Method in class com.castlabs.android.player.DefaultTrackTypeProvider
typesOverlap(int, int) - Method in class com.castlabs.android.player.TrackTypeProvider
  Returns `true` if the types overlap otherwise `false`.
typeString(int) - Static method in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  Translates an error type to a human readable string

## U

Unknown - Enum constant in enum com.castlabs.android.drm.KeyStatus
  No information about the key yet
UNKNOWN_CUSTOMER_ID - Static variable in class com.castlabs.android.SdkConsts
  The customer ID that is used when no customer id could be found or the SDK was not yet initialized
UNKNOWN_INDEX - Static variable in class com.castlabs.android.player.models.Track
  Indicates that an index is unknown
UNKNOWN_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
  Identifies an unknown track
UNKNOWN_TIME_MS - Static variable in class com.castlabs.android.SdkConsts
  Represents an unknown millisecond time or duration.
UNKNOWN_TIME_US - Static variable in class com.castlabs.android.SdkConsts
  Represents an unknown microsecond time or duration.
unsecureDecoderFallback - Variable in class com.castlabs.android.player.PlayerConfig
  If true (default), allows the player to fallback to unsecure decoders if it failed to initialize the primary decoder.
unsecureDecoderFallback(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If true (default), allows the player to fallback to unsecure decoders if it failed to initialize the primary decoder.
unsetComponentView(int) - Method in class com.castlabs.android.player.PlayerController
  Remove the View linked to the provided view id
unsetComponentViews() - Method in class com.castlabs.android.player.PlayerController
  Removes all the Component Views
UNSUPPORTED_AUDIO_CODECS - Static variable in class com.castlabs.utils.Codecs
  Set of unsupported audio codecs.
update() - Method in class com.castlabs.android.player.AbrConfiguration
  Returns a new builder instance that can be used to create a new configuration that is based on this instance.
updateEmbeddedThumbnailTracks(Collection<ThumbnailDataTrack>) - Method in class com.castlabs.android.player.models.PlayerModel
  Replaces embedded (not sideloaded) thumbnail tracks with the provided ones.
upperTimeThresholdMs - Variable in class com.castlabs.android.player.CatchupConfiguration
  Threshold relative to the `CatchupConfiguration.timeReference` which indicates the start trigger of the Catchup.
uri - Variable in class com.castlabs.android.downloader.DownloadableResource
  The sources URL
uri - Variable in class com.castlabs.android.network.Response
  The URI of this request
uri - Variable in class com.castlabs.android.player.models.hls.HlsInterstitial.Asset
  URI pointing to the media asset.
UriUtils - Class in com.castlabs.utils
  Provides helpers and utilities for `Uri`s.
url - Variable in class com.castlabs.android.drm.DrmConfiguration
  The proxy URL
url - Variable in class com.castlabs.android.player.models.SideloadedTrack
  The URL or URL template for this track.
url(String) - Method in class com.castlabs.android.drm.DrmConfiguration.Builder
  Sets the license server URL
url(String) - Method in class com.castlabs.android.player.models.SideloadedTrack.Builder
  Set the url
URL - Static variable in exception class com.castlabs.android.player.exceptions.CastlabsPlayerException
  URL associated with the error
us2ms(long) - Static method in class com.castlabs.utils.TimeUtils
  Converts Microseconds to Milliseconds
us2s(long) - Static method in class com.castlabs.utils.TimeUtils
  Converts Microseconds to Seconds
Usable - Enum constant in enum com.castlabs.android.drm.KeyStatus
  Key response is received and the key is usable for playback
useCMSD - Variable in class com.castlabs.android.player.AbrConfiguration
  When enabled, the Player will try to parse the CMSD-Dynamic header to extract the backend-informed estimated bandwidth (the etp field) and use it as the estimation for quality selection.
useCMSD(boolean) - Method in class com.castlabs.android.player.AbrConfiguration.Builder
  Set `AbrConfiguration.useCMSD`
useEth0 - Variable in class com.castlabs.android.player.PlayerConfig
  A boolean flag to indicate to use eth0 for multicast reception
useEth0(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If set to true then the SDK if IPTV is used, eth0 will be used for multicast for multicast reception
UserAgent - Class in com.castlabs.android.network
  Instances of this class are used to construct the user agent that is used for HTTP requests.
UserAgent() - Constructor for class com.castlabs.android.network.UserAgent
  Default constructor for UserAgent.
UserAgent.UserAgentFlags - Annotation Type in com.castlabs.android.network
  The flags that enable or disable field presence in the User-Agent.
userId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  The user ID
userID - Variable in class com.castlabs.android.player.PlayerConfig
  User ID.
userID(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the user ID
useStandaloneMediaClock - Variable in class com.castlabs.android.player.PlayerConfig
  If set to true, will use Exoplayer's `StandaloneMediaClock` instead of the Renderer Clock.
useStandaloneMediaClock(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If set to true, will use Exoplayer's `StandaloneMediaClock` instead of the Renderer Clock.

## V

Validate - Class in com.castlabs.utils
  Helper class that can be used to validate input.
value - Variable in class com.castlabs.android.player.CustomUtcTimingElement
  The value corresponding to the scheme being used
value(String) - Method in class com.castlabs.android.player.models.mpd.EventMessage.Builder
  Sets the value for the event.
valueOf(String) - Static method in enum com.castlabs.android.drm.Drm
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.drm.KeyStatus
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.drm.SecurityLevel
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.player.CatchupConfiguration.TimeReference
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.player.CatchupConfiguration.Type
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.player.CustomDashEventListener.EventType
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.player.ExternalSourceSelector.SwitchType
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.player.models.SideloadedTrack.Type
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.player.PlayerController.State
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.player.TrackRendererPlugin.Type
  Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.castlabs.android.player.TrickplayConfiguration.SpeedupMode
  Returns the enum constant of this type with the specified name.
valueOrDefault(String, String) - Static method in class com.castlabs.utils.StringUtils
  Returns the provided value or falls back to the supplied default when the value is null.
values() - Static method in enum com.castlabs.android.drm.Drm
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.drm.KeyStatus
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.drm.SecurityLevel
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.player.CatchupConfiguration.TimeReference
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.player.CatchupConfiguration.Type
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.player.CustomDashEventListener.EventType
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.player.exceptions.TunnelingException.Reason
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.player.ExternalSourceSelector.SwitchType
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.player.models.SideloadedTrack.Type
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.player.PlayerController.State
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.player.TrackRendererPlugin.Type
  Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.castlabs.android.player.TrickplayConfiguration.SpeedupMode
  Returns an array containing the constants of this enum type, in the order they are declared.
variantId - Variable in class com.castlabs.android.drm.DrmTodayConfiguration
  The variant ID
variantId(String) - Method in class com.castlabs.android.drm.DrmTodayConfiguration.Builder
  Set the variant ID.
Video - Enum constant in enum com.castlabs.android.player.TrackRendererPlugin.Type
  Video content type.
VIDEO - Static variable in class com.castlabs.android.SdkConsts
  Identifies the video content
VIDEO_CODEC_ADAPTER_FACTORY - Static variable in class com.castlabs.android.PlayerSDK
  Factory for creating `MediaCodecAdapter` instances for video playback.
VIDEO_CODEC_BUFFER_MODE - Static variable in class com.castlabs.android.PlayerSDK
  Video codec buffer mode.
VIDEO_CODEC_FILTER - Static variable in class com.castlabs.android.PlayerSDK
  The default global video codec filter used to configure the video codec filtering.
VIDEO_CODEC_FILTER_CAPS - Static variable in class com.castlabs.android.SdkConsts
  Use this as a key to `SdkConsts.INTENT_VIDEO_CODEC_FILTER` to instruct the player to use video codec capabilities when filtering out unsupported video qualities.
VIDEO_CODEC_FILTER_NONE - Static variable in class com.castlabs.android.SdkConsts
  Use this as a key to `SdkConsts.INTENT_VIDEO_CODEC_FILTER` to instruct the player not to use video codec capabilities when filtering out unsupported video qualities.
VIDEO_FILTER - Static variable in class com.castlabs.android.PlayerSDK
  The default global `VideoFilterConfiguration` to use in order to filter video qualities.
VIDEO_FILTER_AUTO - Static variable in class com.castlabs.android.SdkConsts
  Use this as a value for `SdkConsts.INTENT_VIDEO_FILTER` to instruct the player to use device screen resolution filtering when all but one, closest and exceeding device screen resolution, video tracks will be filtered out.
VIDEO_FILTER_NONE - Static variable in class com.castlabs.android.SdkConsts
  Use this as a value to `SdkConsts.INTENT_VIDEO_FILTER` to instruct the player not to use any of the pixel count filtering i.e.
VIDEO_FRAME_RENDERED_LISTENER - Static variable in class com.castlabs.android.PlayerSDK
  Optional listener for per-frame video render events.
VIDEO_QUALITY_ADAPTIVE - Static variable in class com.castlabs.android.SdkConsts
  Indicates ABR based video quality selection.
VIDEO_QUALITY_HIGHEST - Static variable in class com.castlabs.android.SdkConsts
  Pass this to `AbrConfiguration.Builder.initialTrackSelection(int, boolean)` to select the video quality with the highest available resolution
VIDEO_QUALITY_LOWEST - Static variable in class com.castlabs.android.SdkConsts
  Pass this to `AbrConfiguration.Builder.initialTrackSelection(int, boolean)` to select the video quality with the lowest available resolution
VIDEO_QUALITY_MANUAL - Static variable in class com.castlabs.android.SdkConsts
  Indicates manual video quality selection.
VIDEO_RENDERER - Static variable in class com.castlabs.android.player.PlayerController
  Identifies the video track
VIDEO_SIZE_FILTER - Static variable in class com.castlabs.android.PlayerSDK
  Deprecated.
  Use `PlayerSDK.VIDEO_FILTER` instead.
VIDEO_SIZE_FILTER_AUTO - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.VIDEO_FILTER_AUTO` instead
VIDEO_SIZE_FILTER_NONE - Static variable in class com.castlabs.android.SdkConsts
  Deprecated.
  Use `SdkConsts.VIDEO_FILTER_NONE`
videoCodec(String) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the preferred video codec for all video types.
videoCodecFilter - Variable in class com.castlabs.android.player.PlayerConfig
  The video codec filter
videoCodecFilter(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the type of video codec filter
VideoConfigurationTrackFilter - Class in com.castlabs.android.player.filter
  TrackFilter which uses `VideoFilterConfiguration`.
VideoConfigurationTrackFilter(VideoFilterConfiguration, VideoFilterConfiguration) - Constructor for class com.castlabs.android.player.filter.VideoConfigurationTrackFilter
  Creates a new instance of `VideoConfigurationTrackFilter`.
videoDecoderFallback - Variable in class com.castlabs.android.player.PlayerConfig
  If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
videoDecoderFallback(boolean) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  If true (default), allows the player to fallback to other decoders if it failed to initialize the primary decoder.
videoDrmInitData - Variable in class com.castlabs.android.drm.DrmInitDataContainer
  DRM initialization data for the video track.
videoFeedYield(boolean) - Method in class com.castlabs.android.player.BufferConfiguration.Builder
  Whether to enable video renderer stop feeding decoder when other renderers (audio) are ready to start new render cycle.
videoFeedYieldEnabled - Variable in class com.castlabs.android.player.BufferConfiguration.Builder
  Whether the video renderer should yield to other renderers when feeding the decoder.
videoFeedYieldEnabled - Variable in class com.castlabs.android.player.BufferConfiguration
  The behaviour for video renderer when feeding decoder.
videoFilterConfiguration - Variable in class com.castlabs.android.player.PlayerConfig
  The video filter configuration
videoFilterConfiguration(VideoFilterConfiguration) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Set the VideoFilterConfiguration
VideoFilterConfiguration - Class in com.castlabs.android.player
  Configuration for filtering video renditions.
VideoFilterConfiguration.Builder - Class in com.castlabs.android.player
  `VideoFilterConfiguration` builder static inner class.
VideoFrameRenderedListener - Interface in com.castlabs.android.player
  Listener for per-frame video render events.
VideoMetadataListener - Interface in com.castlabs.android.player
  Listener for metadata associated with video rendering.
VideoRendererListener - Interface in com.castlabs.android.player
  A listener that can be attached to the `PlayerController` to be informed about video rendering events such as decoder initializations, format changes and frame drops.
videoSizeFilter - Variable in class com.castlabs.android.player.PlayerConfig
  Deprecated.
  Use `VideoFilterConfiguration.maxPixel` instead.
videoSizeFilter(Point) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Deprecated.
  Use `PlayerConfig.Builder.videoFilterConfiguration(VideoFilterConfiguration)`
VideoTrack - Class in com.castlabs.android.player.models
  A video track.
VideoTrack() - Constructor for class com.castlabs.android.player.models.VideoTrack
  Create a new track with an unknown duration
VideoTrack(long) - Constructor for class com.castlabs.android.player.models.VideoTrack
  Create a new track with the given duration in micro seconds
videoTrackGroupIndex - Variable in class com.castlabs.android.player.PlayerConfig
  The index of the selected video track group
videoTrackGroupIndex(int) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the video track group index
VideoTrackListener - Class in com.castlabs.android.player
  This is an implementation of the `VideoRendererEventListener` that is used to delegate events from the track renderer to the `PlayerListener` instances that are registered with the current `PlayerController`.
VideoTrackListener(PlayerListeners) - Constructor for class com.castlabs.android.player.VideoTrackListener
  Creates a new instance of `VideoTrackListener`.
VideoTrackQuality - Class in com.castlabs.android.player.models
  Represents a single quality of a video track.
VideoTrackQuality(int) - Constructor for class com.castlabs.android.player.models.VideoTrackQuality
  Create a new video track quality with a bitrate > 0
VideoTrackQuality(Format) - Constructor for class com.castlabs.android.player.models.VideoTrackQuality
  Create a new video track quality based on the given format
videoTracks - Variable in class com.castlabs.android.downloader.DownloadInfo
  The original indices of the selected video tracks
viewerId - Variable in class com.castlabs.analytics.AnalyticsMetaData
  An identifier for the current User
viewId - Variable in class com.castlabs.android.player.TrackRendererPlugin.TrackRendererContainer
  The optional view component id.
ViewLoader - Class in com.castlabs.android.player
  Registers views with the Castlabs licensing backend to validate licenses and report usage.
ViewLoader.PlaylistType - Annotation Type in com.castlabs.android.player
  Defines the type of playlist.
VIEWPOINT - Static variable in class com.castlabs.android.player.DashDescriptor
  Viewpoint descriptor.
ViewScanner - Class in com.castlabs.android.utils
  Utility class to scan views in a ViewGroup
VisualComponentProxy - Class in com.castlabs.android.player
  VisualComponent whose task is to communicate a `PlayerControllerPlugin.ComponentViewListener` with the `PlayerControllerPlugin.Component` machinery.
VisualComponentProxy() - Constructor for class com.castlabs.android.player.VisualComponentProxy
  Default constructor.
volume - Variable in class com.castlabs.android.player.PlayerConfig
  The audio track volume
volume(float) - Method in class com.castlabs.android.player.PlayerConfig.Builder
  Sets the volume.

## W

waitForInitialization() - Static method in class com.castlabs.android.PlayerSDK
  INTERNAL method that will block until the SDK is fully initialized.
waitForMessages() - Method in class com.castlabs.android.player.PlayerController
  Queues a message to an arbitrary target and blocks until its delivered.
Waiting - Enum constant in enum com.castlabs.android.drm.KeyStatus
  Key request was sent but no response received yet
Widevine - Enum constant in enum com.castlabs.android.drm.Drm
  Select widevine DRM
WIDEVINE_UUID - Static variable in class com.castlabs.android.SdkConsts
  UUID for the Widevine DRM scheme.
windowIndex(int) - Method in class com.castlabs.android.player.models.Timeline.Period.Builder
  Sets the Window index to which this Period belongs to.
Wiseplay - Enum constant in enum com.castlabs.android.drm.Drm
  Select Wiseplay DRM
WISEPLAY_UUID - Static variable in class com.castlabs.android.SdkConsts
  UUID for the WisePlay DRM scheme.
write(String, int[], Track[], Track[], Track[]) - Static method in class com.castlabs.android.downloader.DownloadInfo
  Writes the download information to a file.
writeToParcel(Parcel, int) - Method in class com.castlabs.analytics.AnalyticsMetaData
writeToParcel(Parcel, int) - Method in class com.castlabs.android.adverts.AdRequest
writeToParcel(Parcel, int) - Method in class com.castlabs.android.adverts.AdSchedule
writeToParcel(Parcel, int) - Method in class com.castlabs.android.drm.DrmConfiguration
writeToParcel(Parcel, int) - Method in class com.castlabs.android.drm.DrmTodayConfiguration
writeToParcel(Parcel, int) - Method in class com.castlabs.android.network.NetworkConfiguration
writeToParcel(Parcel, int) - Method in class com.castlabs.android.network.RetryConfiguration
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.AbrConfiguration
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.AudioAttributes
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.BufferConfiguration
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.CatchupConfiguration
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.CustomUtcTimingElement
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.LiveConfiguration
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.MediaCodecInfo
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.MemoryHlsClearKeyCache
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.models.mpd.EventMessage
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.models.SideloadedTrack
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.models.ThumbnailDataTrack
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.models.VideoTrackQuality
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.PlayerConfig
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.TrickplayConfiguration
writeToParcel(Parcel, int) - Method in class com.castlabs.android.player.VideoFilterConfiguration

## Z

ZipDataSource - Class in com.castlabs.android.downloader
  Implementation of a DataSource that can read data from a zip file.
ZipDataSource() - Constructor for class com.castlabs.android.downloader.ZipDataSource
  Constructs a new `DataSource` that retrieves data from a file.
ZipDataSource(TransferListener) - Constructor for class com.castlabs.android.downloader.ZipDataSource
  Constructs a new `DataSource` that retrieves data from a file.
ZipDataSource.ZipDataSourceException - Exception Class in com.castlabs.android.downloader
  Thrown when IOException is encountered during local file read operation.
ZipDataSourceException(IOException) - Constructor for exception class com.castlabs.android.downloader.ZipDataSource.ZipDataSourceException
  Constructs a new ZipDataSourceException.

A B C D E F G H I J K L M N O P Q R S T U V W Z
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form