stop: Difference between revisions

From Engineering Client Portal

(Created page with "{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|iOS SDK API Reference}} {{CurrentBreadcrumb}} Category:Digital Category:iOS SDK API Reference Stops measurement p...")
 
No edit summary
 
Line 9: Line 9:
*When an ad ends
*When an ad ends
*Anytime when whole screen is occluded (for video content)
*Anytime when whole screen is occluded (for video content)
* Norway Market-specific: It is very important that the SDK calls <code>stop</code> followed with <code>end</code> after a channel/ stream change.


== Syntax ==
== Syntax ==

Latest revision as of 08:54, 13 August 2020

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)
  • Norway Market-specific: It is very important that the SDK calls stop followed with end after a channel/ stream change.

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.