Skip to content

Commit f1d965a

Browse files
committed
Deploy website
Deploy website version based on 5b279f55f3ece2f01bdcb7ab301a1280573dadcf
1 parent b00423d commit f1d965a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/getting-started/usage.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@
9999
})
100100
</code></pre>
101101
<p>Please see the <a href="../api/interfaces/medialoadrequest">MediaLoadRequest</a> documentation for available options.</p>
102-
<h3><a class="anchor" aria-hidden="true" id="android-missing-google-play-services"></a><a href="#android-missing-google-play-services" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>(Android) Missing Google Play Services</h3>
102+
<h2><a class="anchor" aria-hidden="true" id="android-handle-missing-google-play-services"></a><a href="#android-handle-missing-google-play-services" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>(Android) Handle missing Google Play Services</h2>
103103
<p>On Android, you can use <code>CastContext.getPlayServicesState()</code> to check if Google Play Services are installed on the device. You can then call <code>CastContext.showPlayServicesErrorDialog</code> to inform the user and prompt them to install.</p>
104104
<pre><code class="hljs css language-ts">CastContext.getPlayServicesState().then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
105105
<span class="hljs-keyword">if</span> (state &amp;&amp; state !== PlayServicesState.SUCCESS)
106106
CastContext.showPlayServicesErrorDialog(state)
107107
})
108108
</code></pre>
109-
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 3/12/2022 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/getting-started/setup"><span class="arrow-prev"></span><span>Setup</span></a><a class="docs-next button" href="/docs/getting-started/troubleshooting"><span>Troubleshooting</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
109+
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 3/12/2022 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/getting-started/setup"><span class="arrow-prev"></span><span>Setup</span></a><a class="docs-next button" href="/docs/getting-started/troubleshooting"><span>Troubleshooting</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#android-handle-missing-google-play-services">(Android) Handle missing Google Play Services</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
110110
document.addEventListener('keyup', function(e) {
111111
if (e.target !== document.body) {
112112
return;

docs/getting-started/usage/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,14 @@
9999
})
100100
</code></pre>
101101
<p>Please see the <a href="../api/interfaces/medialoadrequest">MediaLoadRequest</a> documentation for available options.</p>
102-
<h3><a class="anchor" aria-hidden="true" id="android-missing-google-play-services"></a><a href="#android-missing-google-play-services" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>(Android) Missing Google Play Services</h3>
102+
<h2><a class="anchor" aria-hidden="true" id="android-handle-missing-google-play-services"></a><a href="#android-handle-missing-google-play-services" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>(Android) Handle missing Google Play Services</h2>
103103
<p>On Android, you can use <code>CastContext.getPlayServicesState()</code> to check if Google Play Services are installed on the device. You can then call <code>CastContext.showPlayServicesErrorDialog</code> to inform the user and prompt them to install.</p>
104104
<pre><code class="hljs css language-ts">CastContext.getPlayServicesState().then(<span class="hljs-function">(<span class="hljs-params">state</span>) =&gt;</span> {
105105
<span class="hljs-keyword">if</span> (state &amp;&amp; state !== PlayServicesState.SUCCESS)
106106
CastContext.showPlayServicesErrorDialog(state)
107107
})
108108
</code></pre>
109-
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 3/12/2022 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/getting-started/setup"><span class="arrow-prev"></span><span>Setup</span></a><a class="docs-next button" href="/docs/getting-started/troubleshooting"><span>Troubleshooting</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
109+
</span></div></article></div><div class="docLastUpdate"><em>Last updated on 3/12/2022 by Petr Bela</em></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/getting-started/setup"><span class="arrow-prev"></span><span>Setup</span></a><a class="docs-next button" href="/docs/getting-started/troubleshooting"><span>Troubleshooting</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#android-handle-missing-google-play-services">(Android) Handle missing Google Play Services</a></li></ul></nav></div></div><script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/1/docsearch.min.js"></script><script>
110110
document.addEventListener('keyup', function(e) {
111111
if (e.target !== document.body) {
112112
return;

0 commit comments

Comments
 (0)