Package com.castlabs.sdk.nielsen

# Interface NielsenComponent

public interface NielsenComponent
This is a public marker interface that can be used to get access the Nielsen SDK as a player view component. The Nielsen plugin registers itself as a component on the `PlayerView` and you can use `PlayerView.getComponent(Class)` with this class to access the registered Instance. For example:

     NielsenComponent nielsenComponent = playerView.getComponent(NielsenComponent.class);
     if (nielsenComponent != null && nielsenComponent.getAppSdk() != null) {
       nielsenComponent.getAppSdk().appInForeground(this);
     }

Since:
  4.2.0

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Interface
  Description
  `static interface`
  `NielsenComponent.AppSdk`
  Wrapper around Nielsen AppSdk API

- ## Method Summary

  Modifier and Type
  Method
  Description
  `NielsenComponent.AppSdk`
  `getAppSdk()`
  Returns an instance of the Nielsen App SDK

- ## Method Details

  - ### getAppSdk

    @Nullable NielsenComponent.AppSdk getAppSdk()
    Returns an instance of the Nielsen App SDK
    Returns:
      The App SDK or null