stop

From Engineering Client Portal

Revision as of 04:06, 21 May 2017 by Admin (talk | contribs) (Created page with "{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|iOS SDK API Reference}} {{CurrentBreadcrumb}} Category:Digital Category:iOS SDK API Reference Stops measurement p...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal / Digital / iOS SDK API Reference / stop

Stops measurement progress. Call stop in following situations.

  • When user initiates content pause and the content can be resumed from the same position.
  • When current content is changing, such as a channel change (Call stop on current content and call play & loadMetadata on new content).
  • When content is interrupted by external app or process (phone call, Network loss + empty buffer, power / standby activated, alarm).
  • When an ad ends
  • Anytime when whole screen is occluded (for video content)

Syntax

 (void) stop

Input Parameters

Parameter Description
None

Output Parameters

Output Parameters (Return value) Description
Void

Notes

  • It is very important that the application calls stop whenever necessary.
  • In case of a missing stop call, App SDK identifies the change to next play and inserts a stop call (functionally in the background). This allows the downstream systems to track the stop calls.