summaryrefslogtreecommitdiff
path: root/docs/Classes/SDLOnHashChange.html
blob: 39733f9be09f53c1146758c8687031fbdc2ff472 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<h1>SDLOnHashChange Class Reference</h1>

<h3>Section Contents</h3>

<ul>
  <li><a href="#section-hashID">hashID</a></li>
</ul>

<h3>Overview</h3>

<p>Notification containing an updated hashID which can be used over connection cycles (i.e. loss of connection, ignition cycles, etc.). Sent after initial registration and subsequently after any change in the calculated hash of all persisted app data.</p>


<section class="section task-group-section">
  <h3 id="section-hashID">
      hashID
  </h3>
  
  <p>Calculated hash ID to be referenced during RegisterAppInterface request.</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">@property</span> <span class="p">(</span><span class="n">nonatomic</span><span class="p">,</span> <span class="n">strong</span><span class="p">)</span> <span class="n">NSString</span> <span class="o">*</span><span class="n">_Nonnull</span> <span class="n">hashID</span><span class="p">;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="k">var</span> <span class="nv">hashID</span><span class="p">:</span> <span class="kt">String</span> <span class="p">{</span> <span class="k">get</span> <span class="k">set</span> <span class="p">}</span></code></pre>

  
  
  
</section>