<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nielsentest.mywikis.net/w/index.php?action=history&amp;feed=atom&amp;title=stop%28%29</id>
	<title>stop() - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nielsentest.mywikis.net/w/index.php?action=history&amp;feed=atom&amp;title=stop%28%29"/>
	<link rel="alternate" type="text/html" href="https://nielsentest.mywikis.net/w/index.php?title=stop()&amp;action=history"/>
	<updated>2026-04-18T07:12:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://nielsentest.mywikis.net/w/index.php?title=stop()&amp;diff=413&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Android SDK API Reference}} {{CurrentBreadcrumb}} Category:Digital Category:Android SDK API Reference Stops measure...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nielsentest.mywikis.net/w/index.php?title=stop()&amp;diff=413&amp;oldid=prev"/>
		<updated>2017-05-21T07:28:28Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Android SDK API Reference}} {{CurrentBreadcrumb}} &lt;a href=&quot;/wiki/Category:Digital&quot; title=&quot;Category:Digital&quot;&gt;Category:Digital&lt;/a&gt; &lt;a href=&quot;/wiki/Category:Android_SDK_API_Reference&quot; class=&quot;mw-redirect&quot; title=&quot;Category:Android SDK API Reference&quot;&gt;Category:Android SDK API Reference&lt;/a&gt; Stops measure...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Android SDK API Reference}} {{CurrentBreadcrumb}}&lt;br /&gt;
[[Category:Digital]]&lt;br /&gt;
[[Category:Android SDK API Reference]]&lt;br /&gt;
Stops measurement progress. Call &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; in following situations:&lt;br /&gt;
*When user initiates content pause and the content can be resumed from the same position.&lt;br /&gt;
*When current content is changing, such as a channel change (Call &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; on current content and call [[play()]] &amp;amp; [[loadMetadata()]] on new content).&lt;br /&gt;
*When content is interrupted by external app or process (phone call, Network loss + empty buffer, power / standby activated, alarm).&lt;br /&gt;
**For audio only: Android has two kinds of audio focus requests – soft and hard.&lt;br /&gt;
***Soft requests are usually temporary interruptions, such as alarm, incoming call on some systems which only ‘duck’ or lower the volume but do not indicate that audio focus was lost. These are acceptable to not call &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; on.&lt;br /&gt;
***Hard requests are usually streaming apps like YouTube, Pandora, etc. which should properly indicate the audio focus was lost – &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; can be called for those.&lt;br /&gt;
***Another case to be covered for hard requests is when the camera’s video record is engaged. This, often, will interrupt audio playback. However on Android, there is no guarantee that it will come as a hard request across all devices.&lt;br /&gt;
***When an ad ends.&lt;br /&gt;
*When content has completed (Call &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; followed by either a postroll ping or an [[end()]] call).&lt;br /&gt;
*Anytime when whole screen is occluded (for video content)&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;java&amp;quot;&amp;gt;&lt;br /&gt;
public void stop()&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Input Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Parameter !! Description&lt;br /&gt;
|-&lt;br /&gt;
| None ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Output Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Output Parameters (Return value) !! Description&lt;br /&gt;
|-&lt;br /&gt;
| void ||&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
*It is very important that the SDK calls &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; whenever necessary.&lt;br /&gt;
In case of a missing &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; call, App SDK identifies the change to next [[play()]] and inserts a &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; call (functionally in the background). This allows the downstream systems to track the &amp;lt;code&amp;gt;stop()&amp;lt;/code&amp;gt; calls.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>