summaryrefslogtreecommitdiff
path: root/docs/Protocols/SDLStreamingVideoDelegate.html
blob: 239bf9fa91954d4292719ec871d0d580d8ebd487 (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
34
35
36
37
38
<h1>SDLStreamingVideoDelegate Protocol Reference</h1>

<h3>Section Contents</h3>

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

<h3>Overview</h3>

<p>A delegate method about changes to streaming video for streaming video apps</p>


<section class="section task-group-section">
  <h3 id="section--videoStreamingSizeDidUpdate:">
      -videoStreamingSizeDidUpdate:
  </h3>
  
  <p>Callback notifying of a size update for the video streaming window on the module UI</p>

  
  
  <h4>Objective-C</h4>
  <pre class="highlight objective_c"><code><span class="k">-</span> <span class="p">(</span><span class="kt">void</span><span class="p">)</span><span class="nf">videoStreamingSizeDidUpdate</span><span class="p">:(</span><span class="n">CGSize</span><span class="p">)</span><span class="nv">displaySize</span><span class="p">;</span></code></pre>

  
  <h4>Swift</h4>
  <pre class="highlight swift"><code><span class="kd">func</span> <span class="nf">videoStreamingSizeDidUpdate</span><span class="p">(</span><span class="n">_</span> <span class="nv">displaySize</span><span class="p">:</span> <span class="kt">CGSize</span><span class="p">)</span></code></pre>

  
  
  <h4>Parameters</h4>
  <dl>
      <dt>displaySize</dt>
      <dd><p>The new size of the video streaming window on the module</p></dd>
  </dl>
  
</section>