<?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=updateOTT</id>
	<title>updateOTT - 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=updateOTT"/>
	<link rel="alternate" type="text/html" href="https://nielsentest.mywikis.net/w/index.php?title=updateOTT&amp;action=history"/>
	<updated>2026-04-08T03:32:51Z</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=updateOTT&amp;diff=6116&amp;oldid=prev</id>
		<title>NickParrucci: /* Notes */</title>
		<link rel="alternate" type="text/html" href="https://nielsentest.mywikis.net/w/index.php?title=updateOTT&amp;diff=6116&amp;oldid=prev"/>
		<updated>2023-02-09T15:23:06Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Notes&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:23, 9 February 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l52&quot;&gt;Line 52:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 52:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Notes ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Notes ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Every time when application is launched or moving to foreground, call &amp;lt;code&amp;gt;updateOTT&amp;lt;/code&amp;gt; to report the current OTT status to the App SDK.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*Every time when application is launched or moving to foreground, call &amp;lt;code&amp;gt;updateOTT&amp;lt;/code&amp;gt; to report the current OTT status to the App SDK.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*App SDK detects AirPlay and AirPlay mirroring automatically and the application need not report them to App SDK.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Communicating with the Chromecast Receiver App ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Communicating with the Chromecast Receiver App ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>NickParrucci</name></author>
	</entry>
	<entry>
		<id>https://nielsentest.mywikis.net/w/index.php?title=updateOTT&amp;diff=4110&amp;oldid=prev</id>
		<title>Admin at 16:17, 5 February 2020</title>
		<link rel="alternate" type="text/html" href="https://nielsentest.mywikis.net/w/index.php?title=updateOTT&amp;diff=4110&amp;oldid=prev"/>
		<updated>2020-02-05T16:17:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:17, 5 February 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Use &amp;lt;code&amp;gt;updateOTT&amp;lt;/code&amp;gt; method to notify App SDK that the remote OTT device (like Google ChromeCast, Roku, Amazon FireTV, etc.) is connected / disconnected (change of OTT status).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Use &amp;lt;code&amp;gt;updateOTT&amp;lt;/code&amp;gt; method to notify App SDK that the remote OTT device (like Google ChromeCast, Roku, Amazon FireTV, etc.) is connected / disconnected (change of OTT status).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*When OTT device is connected, call &amp;lt;code&amp;gt;updateOTT&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;&amp;quot;ottStatus&amp;quot;: &amp;quot;1&amp;quot;&amp;lt;/code&amp;gt; and a set of OTT device related parameters in ottInfo dictionary.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*When OTT device is connected, call &amp;lt;code&amp;gt;updateOTT&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;&amp;quot;ottStatus&amp;quot;: &amp;quot;1&amp;quot;&amp;lt;/code&amp;gt; and a set of OTT device related parameters in ottInfo dictionary.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*When OTT device is disconnected, call &amp;lt;code&amp;gt;updateOTT with &amp;lt;code&amp;gt;&amp;quot;ottStatus&amp;quot;: &amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;ottInfo&amp;lt;/code&amp;gt; dictionary.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*When OTT device is disconnected, call &amp;lt;code&amp;gt;updateOTT&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/code&amp;gt; &lt;/ins&gt;with &amp;lt;code&amp;gt;&amp;quot;ottStatus&amp;quot;: &amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;ottInfo&amp;lt;/code&amp;gt; dictionary.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntax ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Syntax ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://nielsentest.mywikis.net/w/index.php?title=updateOTT&amp;diff=385&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|iOS SDK API Reference}}  {{CurrentBreadcrumb}} Category:Digital Category:iOS SDK API Reference Use &lt;code&gt;updateOTT&lt;...&quot;</title>
		<link rel="alternate" type="text/html" href="https://nielsentest.mywikis.net/w/index.php?title=updateOTT&amp;diff=385&amp;oldid=prev"/>
		<updated>2017-05-21T04:09:50Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|iOS 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:iOS_SDK_API_Reference&quot; class=&quot;mw-redirect&quot; title=&quot;Category:iOS SDK API Reference&quot;&gt;Category:iOS SDK API Reference&lt;/a&gt; Use &amp;lt;code&amp;gt;updateOTT&amp;lt;...&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|iOS SDK API Reference}}  {{CurrentBreadcrumb}}&lt;br /&gt;
[[Category:Digital]]&lt;br /&gt;
[[Category:iOS SDK API Reference]]&lt;br /&gt;
Use &amp;lt;code&amp;gt;updateOTT&amp;lt;/code&amp;gt; method to notify App SDK that the remote OTT device (like Google ChromeCast, Roku, Amazon FireTV, etc.) is connected / disconnected (change of OTT status).&lt;br /&gt;
*When OTT device is connected, call &amp;lt;code&amp;gt;updateOTT&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;&amp;quot;ottStatus&amp;quot;: &amp;quot;1&amp;quot;&amp;lt;/code&amp;gt; and a set of OTT device related parameters in ottInfo dictionary.&lt;br /&gt;
*When OTT device is disconnected, call &amp;lt;code&amp;gt;updateOTT with &amp;lt;code&amp;gt;&amp;quot;ottStatus&amp;quot;: &amp;quot;0&amp;quot;&amp;lt;/code&amp;gt; in &amp;lt;code&amp;gt;ottInfo&amp;lt;/code&amp;gt; dictionary.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;objective-c&amp;quot;&amp;gt;&lt;br /&gt;
– (void)updateOTT:(id)ottInfo;&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;
| ottInfo&lt;br /&gt;
| A JSON string with the following parameters:&lt;br /&gt;
'''OTT device is connected'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;objective-c&amp;quot;&amp;gt;&lt;br /&gt;
NSDictionary *ottInfo = @&lt;br /&gt;
{&lt;br /&gt;
   @&amp;quot;ottStatus&amp;quot;: @&amp;quot;1&amp;quot;,&lt;br /&gt;
   @&amp;quot;ottType&amp;quot;: @&amp;quot;casting&amp;quot;,&lt;br /&gt;
   @&amp;quot;ottDevice&amp;quot;: @&amp;quot;chromecast&amp;quot;,&lt;br /&gt;
   @&amp;quot;ottDeviceName&amp;quot;: @&amp;quot;Google ChromeCast&amp;quot;,&lt;br /&gt;
   @&amp;quot;ottDeviceID&amp;quot;: @&amp;quot;xxxx-xxxx-xxxx&amp;quot;,&lt;br /&gt;
   @&amp;quot;ottDeviceManufacturer&amp;quot;: @&amp;quot;Google&amp;quot;,&lt;br /&gt;
   @&amp;quot;ottDeviceModel&amp;quot;: @&amp;quot;ChromeCast&amp;quot;,&lt;br /&gt;
   @&amp;quot;ottDeviceVersion&amp;quot;: @&amp;quot;1.0.0&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
'''OTT device is disconnected'''&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;objective-c&amp;quot;&amp;gt;&lt;br /&gt;
NSDictionary *ottInfo = @&lt;br /&gt;
{&lt;br /&gt;
    @&amp;quot;ottStatus&amp;quot;: @&amp;quot;0&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
See [[International Metadata]] in International (Germany).&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;
! Parameter !! Description&lt;br /&gt;
|-&lt;br /&gt;
| Void ||  &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
*Every time when application is launched or moving to foreground, call &amp;lt;code&amp;gt;updateOTT&amp;lt;/code&amp;gt; to report the current OTT status to the App SDK.&lt;br /&gt;
*App SDK detects AirPlay and AirPlay mirroring automatically and the application need not report them to App SDK.&lt;br /&gt;
&lt;br /&gt;
=== Communicating with the Chromecast Receiver App ===&lt;br /&gt;
SDK cannot communicate directly with the Receiver App running on the Chromecast as it needs access to the Google Casting framework. Alternatively, App SDK requires the application to pass the data to the Receiver App. The application should&lt;br /&gt;
*Retrieve the Opt-Out status on the device (using [[optOutStatus]]) and its Demographic ID (using [[demographicId]])&lt;br /&gt;
*Relay the retrieved details / values to the Receiver App, as additional parameters in &amp;lt;code&amp;gt;GCKMediaMetadata&amp;lt;/code&amp;gt; payload.&lt;br /&gt;
**Create the metadata information for this purpose, using &amp;lt;code&amp;gt;GCKMediaMetadata&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The two custom parameters to be included in &amp;lt;code&amp;gt;GCKMediaMetadata&amp;lt;/code&amp;gt; are&lt;br /&gt;
*&amp;lt;code&amp;gt;kGCKMetadataNlsKeyDeviceID&amp;lt;/code&amp;gt; for device ID.&lt;br /&gt;
*&amp;lt;code&amp;gt;kGCKMetadataNlsKeyOptout&amp;lt;/code&amp;gt; for Opt-out status (0 or 1).&lt;br /&gt;
&lt;br /&gt;
Below is a sample code snippet on how the application should retrieve and relay the information from App SDK to Receiver App.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;objective-c&amp;quot;&amp;gt;&lt;br /&gt;
static NSString * const kGCKMetadataNlsKeyDeviceID = @&amp;quot;kGCKMetadataNlsKeyDeviceID&amp;quot;;&lt;br /&gt;
static NSString * const kGCKMetadataNlsKeyOptout = @&amp;quot;kGCKMetadataNlsKeyOptout&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
GCKMediaMetadata *metadata = [[GCKMediaMetadata alloc] init];&lt;br /&gt;
NSUInteger channelIndex = [self.appConfig.channels indexOfObject:self.currentChannel] + 1;&lt;br /&gt;
[metadata setString:[NSString stringWithFormat:@&amp;quot;Channel %d&amp;quot;, channelIndex] forKey:kGCKMetadataKeyTitle];&lt;br /&gt;
[metadata setString:self.currentChannel.urlString forKey:kGCKMetadataKeySubtitle];&lt;br /&gt;
&lt;br /&gt;
// custom parameters&lt;br /&gt;
[metadata setString:self.nielsenAppApi.demographicId forKey:kGCKMetadataNlsKeyDeviceID];&lt;br /&gt;
[metadata setString:(self.nielsenAppApi.optOutStatus ? @&amp;quot;1&amp;quot;: @&amp;quot;0&amp;quot;) forKey:kGCKMetadataNlsKeyOptout];&lt;br /&gt;
&lt;br /&gt;
[self logConsole:[NSString stringWithFormat:@&amp;quot;Reporting parameters to receiver. %@: %@, %@: %@&amp;quot;, kGCKMetadataNlsKeyDeviceID, self.nielsenAppApi.demographicId, kGCKMetadataNlsKeyOptout, (self.nielsenAppApi.optOutStatus ? @&amp;quot;1&amp;quot;: @&amp;quot;0&amp;quot;)]];&lt;br /&gt;
&lt;br /&gt;
GCKMediaInformation *mediaInformation =&lt;br /&gt;
[[GCKMediaInformation alloc] initWithContentID:self.currentChannel.urlString&lt;br /&gt;
                                    streamType:GCKMediaStreamTypeUnknown&lt;br /&gt;
                                    contentType:@&amp;quot;video/mp4&amp;quot;&lt;br /&gt;
                                    metadata:metadata&lt;br /&gt;
                                    streamDuration:0&lt;br /&gt;
                                    customData:nil];&lt;br /&gt;
[self.chromecastControlChannel loadMedia:mediaInformation autoplay:YES playPosition:0];&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>