Package com.castlabs.sdk.nielsen

# Interface NielsenComponent.AppSdk

Enclosing interface:
  `NielsenComponent`

public static interface NielsenComponent.AppSdk
Wrapper around Nielsen AppSdk API

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `appInBackground(Context context)`
  `void`
  `appInForeground(Context context)`
  `void`
  `end()`
  `void`
  `loadMetadata(JSONObject jsonMetadata)`
  `void`
  `play(JSONObject channelInfo)`
  `void`
  `sendID3(String payload)`
  `void`
  `setPlayheadPosition(long position)`
  `void`
  `stop()`

- ## Method Details

  - ### loadMetadata

    void loadMetadata(JSONObject jsonMetadata)

  - ### setPlayheadPosition

    void setPlayheadPosition(long position)

  - ### sendID3

    void sendID3(String payload)

  - ### play

    void play(JSONObject channelInfo)

  - ### stop

    void stop()

  - ### end

    void end()

  - ### appInForeground

    void appInForeground(Context context)

  - ### appInBackground

    void appInBackground(Context context)