# Index

A C E G L N P S
All Classes and Interfaces|All Packages|Constant Field Values

## A

appInBackground(Context) - Method in interface com.castlabs.sdk.nielsen.NielsenComponent.AppSdk
  Notifies the SDK that the app is in the background.
appInForeground(Context) - Method in interface com.castlabs.sdk.nielsen.NielsenComponent.AppSdk
  Notifies the SDK that the app is in the foreground.

## C

com.castlabs.sdk.nielsen - package com.castlabs.sdk.nielsen
CONFIG_KEY_APPID - Static variable in class com.castlabs.sdk.nielsen.NielsenPlugin
  JSON Object configuration key for the app ID
CONFIG_KEY_APPNAME - Static variable in class com.castlabs.sdk.nielsen.NielsenPlugin
  JSON Object configuration key for the app name
CONFIG_KEY_APPVERSION - Static variable in class com.castlabs.sdk.nielsen.NielsenPlugin
  JSON Object configuration key for the app version
CONFIG_KEY_SFCODE - Static variable in class com.castlabs.sdk.nielsen.NielsenPlugin
  JSON Object configuration key for the app SF Code

## E

end() - Method in interface com.castlabs.sdk.nielsen.NielsenComponent.AppSdk
  Ends the current session.

## G

getAppSdk() - Method in interface com.castlabs.sdk.nielsen.NielsenComponent
  Returns an instance of the Nielsen App SDK
getAppSdk() - Method in class com.castlabs.sdk.nielsen.NielsenPlugin
  Returns the instance of the App SDK
getId() - Method in class com.castlabs.sdk.nielsen.NielsenPlugin

## L

loadMetadata(JSONObject) - Method in interface com.castlabs.sdk.nielsen.NielsenComponent.AppSdk
  Loads metadata for the current stream.

## N

NielsenComponent - Interface in com.castlabs.sdk.nielsen
  This is a public marker interface that can be used to get access the Nielsen SDK as a player view component.
NielsenComponent.AppSdk - Interface in com.castlabs.sdk.nielsen
  Wrapper around Nielsen AppSdk API
NielsenPlugin - Class in com.castlabs.sdk.nielsen
  This plugin integrates the Nielsen SDK.
NielsenPlugin(String, String, String, String) - Constructor for class com.castlabs.sdk.nielsen.NielsenPlugin
  Create a new instance of the plugin with the given app id, app name and sf code that will be passed to the Nielsen SDK.
NielsenPlugin(JSONObject) - Constructor for class com.castlabs.sdk.nielsen.NielsenPlugin
  Create a new instance of the plugin using the given JSON Object to configure the Nielsen SDK

## P

play(JSONObject) - Method in interface com.castlabs.sdk.nielsen.NielsenComponent.AppSdk
  Starts playback.

## S

sendID3(String) - Method in interface com.castlabs.sdk.nielsen.NielsenComponent.AppSdk
  Sends ID3 tags.
setEnabled(boolean) - Method in class com.castlabs.sdk.nielsen.NielsenPlugin
  Dynamically enable or disable nielsen integration for playbacks
setPlayheadPosition(long) - Method in interface com.castlabs.sdk.nielsen.NielsenComponent.AppSdk
  Sets the current playhead position.
SF_CODE_DCR - Static variable in class com.castlabs.sdk.nielsen.NielsenPlugin
  The SF code for DCR
stop() - Method in interface com.castlabs.sdk.nielsen.NielsenComponent.AppSdk
  Stops playback.

A C E G L N P S
All Classes and Interfaces|All Packages|Constant Field Values