# Index

A B C D E F G H I S T V
All Classes and Interfaces|All Packages|Constant Field Values

## A

adSnapback - Variable in class com.castlabs.sdk.ima.ImaStreamRequest
  Set to `true` to force play the closest skipped ad when seeking the content.
apiKey - Variable in class com.castlabs.sdk.ima.ImaStreamRequest
  API key for the ad server
assetKey - Variable in class com.castlabs.sdk.ima.ImaStreamRequest
  Asset key for server side ad insertion streams.

## B

Builder() - Constructor for class com.castlabs.sdk.ima.ImaAdRequest.Builder
  Creates a new Builder for `ImaAdRequest`.

## C

com.castlabs.sdk.ima - package com.castlabs.sdk.ima
contentSourceId - Variable in class com.castlabs.sdk.ima.ImaStreamRequest
  Content source ID for VOD server side ad insertion streams.
createAdLoader(AdRequest) - Method in class com.castlabs.sdk.ima.ImaPlugin

## D

DEFAULT_STALL_AD_TIMEOUT_MS - Static variable in class com.castlabs.sdk.ima.ImaAdRequest
  Default timeout to consider the ad playback stalled and switch to the main content playback
DISABLE_IMA_AD_UI - Static variable in class com.castlabs.sdk.ima.ImaAdRequest
  Disable Default IMA UI
DISABLE_THRESHOLD_END_OF_CONTENT_MS - Static variable in class com.castlabs.sdk.ima.ImaPlugin
  Set to `ImaPlugin.setThresholdEndOfContentMs(long)` in order to disable the threshold behaviour.
disableDefaultAdUi - Variable in class com.castlabs.sdk.ima.ImaAdRequest
  Flag to disable the default ad UI rendered by IMA.
disableDefaultAdUi - Variable in class com.castlabs.sdk.ima.ImaStreamRequest
  Set to `true` to disable the default IMA ad UI.
disableDefaultAdUi(boolean) - Method in class com.castlabs.sdk.ima.ImaAdRequest.Builder
  Sets whether to disable the default ad UI rendered by IMA.

## E

equals(Object) - Method in class com.castlabs.sdk.ima.ImaAdRequest
equals(Object) - Method in class com.castlabs.sdk.ima.ImaStreamRequest

## F

fallbackUrl - Variable in class com.castlabs.sdk.ima.ImaStreamRequest
  Fallback Url to be used when stream Url can not be retrieved from the ad server

## G

get() - Method in class com.castlabs.sdk.ima.ImaAdRequest.Builder
  Builds an instance of `ImaAdRequest`.
getId() - Method in class com.castlabs.sdk.ima.ImaPlugin
getImaSdkSettings() - Method in class com.castlabs.sdk.ima.ImaPlugin
  Get previously installed instance of IMA SDK settings
getName() - Method in class com.castlabs.sdk.ima.ImaPlugin
getThresholdEndOfContentMs() - Static method in class com.castlabs.sdk.ima.ImaPlugin
  Get the threshold, in milliseconds

## H

hashCode() - Method in class com.castlabs.sdk.ima.ImaAdRequest
hashCode() - Method in class com.castlabs.sdk.ima.ImaStreamRequest

## I

ImaAdRequest - Class in com.castlabs.sdk.ima
  IMA request implementation allowing to issue IMA Ad requests.
ImaAdRequest(String) - Constructor for class com.castlabs.sdk.ima.ImaAdRequest
  Create Ima Ad request with specified tag Url.
ImaAdRequest(String, int) - Constructor for class com.castlabs.sdk.ima.ImaAdRequest
  Deprecated.
  Use `ImaAdRequest.Builder` instead.
ImaAdRequest.Builder - Class in com.castlabs.sdk.ima
  Builder for `ImaAdRequest`
ImaPlugin - Class in com.castlabs.sdk.ima
  This plugin integrates Ads IMA SDK with the castLabs Player SDK.
ImaPlugin() - Constructor for class com.castlabs.sdk.ima.ImaPlugin
  Create a new instance of this plugin using the default configuration.
ImaStreamRequest - Class in com.castlabs.sdk.ima
  IMA request implementation allowing to issue IMA stream requests with server side ads insertion
ImaStreamRequest(String, String) - Constructor for class com.castlabs.sdk.ima.ImaStreamRequest
  Create IMA stream request for live streams
ImaStreamRequest(String, String, String) - Constructor for class com.castlabs.sdk.ima.ImaStreamRequest
  Create IMA stream request for VOD streams
ImaStreamRequest(String, String, String, boolean) - Constructor for class com.castlabs.sdk.ima.ImaStreamRequest
  Create IMA stream request for live streams
ImaStreamRequest(String, String, String, String, boolean) - Constructor for class com.castlabs.sdk.ima.ImaStreamRequest
  Create IMA stream request for VOD streams
ImaStreamRequest(String, String, String, String, String, boolean, boolean, boolean) - Constructor for class com.castlabs.sdk.ima.ImaStreamRequest
  Create IMA stream request.

## S

SCHEDULE_DELAY_DEFAULT_MS - Static variable in class com.castlabs.sdk.ima.ImaAdRequest
  Default time offset that will be added to the current position when manually scheduling ads
SCHEDULE_DELAY_MAXIMUM_MS - Static variable in class com.castlabs.sdk.ima.ImaAdRequest
  Maximum value for `ImaAdRequest.scheduleDelayMs`
scheduleDelayMs - Variable in class com.castlabs.sdk.ima.ImaAdRequest
  Time offset that will be added to the current position when manually scheduling ads.
scheduleDelayMs(long) - Method in class com.castlabs.sdk.ima.ImaAdRequest.Builder
  Sets the time offset that will be added to the current position when manually scheduling ads.
setEnabled(boolean) - Method in class com.castlabs.sdk.ima.ImaPlugin
  Enable or disable plugin.
setImaSdkSettings(ImaSdkSettings) - Method in class com.castlabs.sdk.ima.ImaPlugin
  Set the IMA SDK settings instance used when creating the IMA `AdsLoader`
setThresholdEndOfContentMs(long) - Static method in class com.castlabs.sdk.ima.ImaPlugin
  Sets the threshold, in milliseconds, before the end of content at which IMA is notified that content is complete if the player buffers.
stallAdTimeoutMs - Variable in class com.castlabs.sdk.ima.ImaAdRequest
  Timeout in ms to consider the ad playback stalled and switch to the main content playback
stallAdTimeoutMs(int) - Method in class com.castlabs.sdk.ima.ImaAdRequest.Builder
  Sets the timeout in milliseconds to consider the ad playback stalled.

## T

tagUrl - Variable in class com.castlabs.sdk.ima.ImaAdRequest
  Ad tag Url
tagUrl(String) - Method in class com.castlabs.sdk.ima.ImaAdRequest.Builder
  Sets the ad tag URL.
toAdRequest() - Method in class com.castlabs.sdk.ima.ImaAdRequest
  Converts this `ImaAdRequest` to an `AdRequest`.
toAdRequest() - Method in class com.castlabs.sdk.ima.ImaStreamRequest
  Converts this `ImaStreamRequest` to an `AdRequest`.

## V

videoId - Variable in class com.castlabs.sdk.ima.ImaStreamRequest
  Video ID for VOD server side ad insertion streams.

A B C D E F G H I S T V
All Classes and Interfaces|All Packages|Constant Field Values