play

From Engineering Client Portal

Revision as of 22:22, 14 May 2019 by Admin (talk | contribs) (- Digital Audio)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal breadcrumbArrow.png Digital breadcrumbArrow.png iOS SDK API Reference breadcrumbArrow.png play

The SDK is started by calling the play API with the channelName parameter and mediaURL parameters.

  • channelName is an optional parameter you can pass when:
    • The user taps the Play button on the player (OR)
    • An audio stream restarts automatically
  • Pass descriptive stream information through this parameter
    • channelName in play API is required for Digital in TV Ratings and can have free form text.

Syntax

 [nielsenAppApi play:(JSONObject channelInfo)];

Input Parameters

Parameter Description
channelName Free-form text up to 32 characters
mediaURL Media URL value for the content that is being played

DTVR

NSDictionary *appInformation = @
{
  @"channelName":@"TheMovieTitle",
  @"mediaURL":@""
};

DCR

NSDictionary *appInformation = @
{
  @"channelName":@"",
  @"mediaURL":@"http://www.nielseninternet.com/BBB/prog_index.m3u8"
};

Output Parameters

Output Parameters (Return value) Description
void