# Index

B C G I M N O P R S W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

## B

BroadpeakComponent - Class in com.castlabs.sdk.broadpeak
  Broadpeak player component.
BroadpeakPlugin - Class in com.castlabs.sdk.broadpeak
  This plugin integrates Broadpeak Analytics with the Castlabs Player SDK.
BroadpeakPlugin(String, String, String) - Constructor for class com.castlabs.sdk.broadpeak.BroadpeakPlugin
  Creates a new instance of `BroadpeakPlugin`.
BroadpeakPlugin.MetadataBuilder - Class in com.castlabs.sdk.broadpeak
  A helper class to build `AnalyticsMetaData` objects for the Broadpeak plugin.
BroadpeakSdkElementExtension - Class in com.castlabs.sdk.broadpeak
  Extension for Broadpeak SDK elements.
BroadpeakSdkElementExtension() - Constructor for class com.castlabs.sdk.broadpeak.BroadpeakSdkElementExtension
  Default constructor
BroadpeakSdkElementExtension(AnalyticsMetaData) - Constructor for class com.castlabs.sdk.broadpeak.BroadpeakSdkElementExtension
  Constructor with Broadpeak analytics metadata
BroadpeakSessionException - Exception Class in com.castlabs.sdk.broadpeak
  Exception to represent an issue from Broadpeak.

## C

com.castlabs.sdk.broadpeak - package com.castlabs.sdk.broadpeak
createMetadata(boolean, String, Bundle, SparseArray<Object>) - Static method in class com.castlabs.sdk.broadpeak.BroadpeakPlugin
  Deprecated.
  Use `BroadpeakPlugin.MetadataBuilder` instead.
createMetadata(AnalyticsMetaData, Bundle, SparseArray<Object>) - Static method in class com.castlabs.sdk.broadpeak.BroadpeakPlugin
  Deprecated.
  Use `BroadpeakPlugin.MetadataBuilder` instead.
customParameters(Bundle) - Method in class com.castlabs.sdk.broadpeak.BroadpeakPlugin.MetadataBuilder
  Sets custom Broadpeak parameters, which will be added to the `StreamingSession`.

## G

get() - Method in class com.castlabs.sdk.broadpeak.BroadpeakPlugin.MetadataBuilder
  Returns the final `AnalyticsMetaData` object.
getCause() - Method in exception class com.castlabs.sdk.broadpeak.BroadpeakSessionException
  Returns the cause of the exception, if any.
getConfig() - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  The config for the current session
getId() - Method in class com.castlabs.sdk.broadpeak.BroadpeakPlugin
getMessage() - Method in exception class com.castlabs.sdk.broadpeak.BroadpeakSessionException
  Returns the message of the exception.
getSessionUrl() - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  The redirected url for the current session
getState() - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  Get the current state of the wrapper.
getStreamingSessionResult() - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  Get the `StreamingSessionResult` instance of the session.
getToken() - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  The token for the current session

## I

id() - Method in class com.castlabs.sdk.broadpeak.BroadpeakComponent
id() - Method in class com.castlabs.sdk.broadpeak.BroadpeakSdkElementExtension
init(Context) - Method in class com.castlabs.sdk.broadpeak.BroadpeakPlugin

## M

MetadataBuilder(boolean, String) - Constructor for class com.castlabs.sdk.broadpeak.BroadpeakPlugin.MetadataBuilder
  Creates a new builder.
MetadataBuilder(AnalyticsMetaData) - Constructor for class com.castlabs.sdk.broadpeak.BroadpeakPlugin.MetadataBuilder
  Creates a new builder starting from an existing `AnalyticsMetaData` object.

## N

notifyFirstImage() - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
notifyLayerSwitch(int) - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
notifyPause() - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
notifyResume() - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
notifySeek(long, long) - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
notifyStallEnd(boolean) - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
notifyStallStart() - Method in class com.castlabs.sdk.broadpeak.SessionWrapper

## O

onDestroy(PlayerController) - Method in class com.castlabs.sdk.broadpeak.BroadpeakComponent
onDestroy(ExtensibleSdkElement) - Method in class com.castlabs.sdk.broadpeak.BroadpeakSdkElementExtension
onOpenBundle(PlayerController, Bundle) - Method in class com.castlabs.sdk.broadpeak.BroadpeakComponent
onOpenState(PlayerController, PlayerConfig) - Method in class com.castlabs.sdk.broadpeak.BroadpeakComponent
onPrepare(ExtensibleSdkElement) - Method in class com.castlabs.sdk.broadpeak.BroadpeakSdkElementExtension
options(SparseArray<Object>) - Method in class com.castlabs.sdk.broadpeak.BroadpeakPlugin.MetadataBuilder
  Sets custom Broadpeak options, which will be added to the `StreamingSession`.

## P

precache(boolean) - Method in class com.castlabs.sdk.broadpeak.BroadpeakPlugin.MetadataBuilder
  Enables or disables the precache feature.

## R

renew(Handler) - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  Renew a session.

## S

SESSION_START_RETRIES - Static variable in class com.castlabs.sdk.broadpeak.BroadpeakPlugin
  Number of retries to start a session.
SessionWrapper - Class in com.castlabs.sdk.broadpeak
  Wrapper around `SessionApi`.
setActive(boolean) - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  Set whether this wrapper is active or not.
setEnabled(boolean) - Method in class com.castlabs.sdk.broadpeak.BroadpeakPlugin
  Enables or disables the BroadpeakPlugin.
startSession(Handler) - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  Start the session.
STATE_IDLE - Static variable in class com.castlabs.sdk.broadpeak.SessionWrapper
  The Wrapper is IDLE.
STATE_READY - Static variable in class com.castlabs.sdk.broadpeak.SessionWrapper
  The Wrapper is ready.
STATE_STARTING - Static variable in class com.castlabs.sdk.broadpeak.SessionWrapper
  The Wrapper is starting or renewing a session.
stopStreamingSession(Integer) - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  Stops the ongoing session

## W

waitForState(int, int) - Method in class com.castlabs.sdk.broadpeak.SessionWrapper
  Block execution until the desired state is reached

B C G I M N O P R S W
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form