@mediakind/mkplayer-geocomply-plugin 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +4 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +113 -0
- package/docs/assets/main.js +58 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1367 -0
- package/docs/classes/MKGeoComplyController.html +195 -0
- package/docs/functions/prepareGeoComplyAuthorization.html +61 -0
- package/docs/functions/setExternalGeoComplyLocationToken.html +55 -0
- package/docs/index.html +75 -0
- package/docs/interfaces/MKGeoComplyError.html +94 -0
- package/docs/interfaces/MKGeoComplyErrorCallback.html +56 -0
- package/docs/modules.html +52 -0
- package/mkplayer-geocomply-plugin.js +1 -0
- package/package.json +23 -0
- package/types/MKGeoComplyConstants.d.ts +24 -0
- package/types/MKGeoComplyController.d.ts +29 -0
- package/types/MKVersion.d.ts +1 -0
- package/types/index.d.ts +1 -0
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MKGeoComplyController | MKGeoComplyController - v1.0.0</title><meta name="description" content="Documentation for MKGeoComplyController"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
7
|
+
<ul class="results">
|
|
8
|
+
<li class="state loading">Preparing search index...</li>
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MKGeoComplyController - v1.0.0</a></div>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
|
+
<div class="container container-main">
|
|
12
|
+
<div class="col-content">
|
|
13
|
+
<div class="tsd-page-title">
|
|
14
|
+
<ul class="tsd-breadcrumb">
|
|
15
|
+
<li><a href="../modules.html">MKGeoComplyController</a></li>
|
|
16
|
+
<li><a href="MKGeoComplyController.html">MKGeoComplyController</a></li></ul>
|
|
17
|
+
<h1>Class MKGeoComplyController</h1></div>
|
|
18
|
+
<section class="tsd-panel tsd-comment">
|
|
19
|
+
<div class="tsd-comment tsd-typography"><p>MKPlayer GeoComply Controller.</p>
|
|
20
|
+
<p>Gates playback behind GeoComply location verification. One controller can
|
|
21
|
+
be attached to multiple players via <a href="MKGeoComplyController.html#attachPlayer" class="tsd-kind-method">attachPlayer</a> (e.g. a
|
|
22
|
+
multiview grid); the underlying token cache is shared across all of them.</p>
|
|
23
|
+
<p>Use <a href="MKGeoComplyController.html#loadSource" class="tsd-kind-method">loadSource</a> in place of <code>player.load()</code> -- it refreshes the
|
|
24
|
+
cached location token first if needed, before the roll is made. A roll
|
|
25
|
+
failure clears the cached token, so the next load always fetches a fresh
|
|
26
|
+
one instead of retrying with a token already known to be rejected.</p>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="tsd-comment tsd-typography"></div></section>
|
|
29
|
+
<section class="tsd-panel tsd-hierarchy">
|
|
30
|
+
<h4>Hierarchy</h4>
|
|
31
|
+
<ul class="tsd-hierarchy">
|
|
32
|
+
<li><span class="target">MKGeoComplyController</span></li></ul></section>
|
|
33
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
34
|
+
<section class="tsd-panel tsd-index-panel">
|
|
35
|
+
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
|
|
36
|
+
<h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
|
|
37
|
+
<div class="tsd-accordion-details">
|
|
38
|
+
<section class="tsd-index-section">
|
|
39
|
+
<h3 class="tsd-index-heading">Constructors</h3>
|
|
40
|
+
<div class="tsd-index-list"><a href="MKGeoComplyController.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-512"><rect fill="var(--color-icon-background)" stroke="#4D7FFF" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>constructor</span></a>
|
|
41
|
+
</div></section>
|
|
42
|
+
<section class="tsd-index-section">
|
|
43
|
+
<h3 class="tsd-index-heading">Methods</h3>
|
|
44
|
+
<div class="tsd-index-list"><a href="MKGeoComplyController.html#attachPlayer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-2048"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)"></path></g></svg><span>attach<wbr/>Player</span></a>
|
|
45
|
+
<a href="MKGeoComplyController.html#detachPlayer" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>detach<wbr/>Player</span></a>
|
|
46
|
+
<a href="MKGeoComplyController.html#getVersion" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Version</span></a>
|
|
47
|
+
<a href="MKGeoComplyController.html#loadSource" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>load<wbr/>Source</span></a>
|
|
48
|
+
<a href="MKGeoComplyController.html#stop" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>stop</span></a>
|
|
49
|
+
</div></section></div></details></section></section>
|
|
50
|
+
<section class="tsd-panel-group tsd-member-group">
|
|
51
|
+
<h2>Constructors</h2>
|
|
52
|
+
<section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a>
|
|
53
|
+
<h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></h3>
|
|
54
|
+
<ul class="tsd-signatures">
|
|
55
|
+
<li class="tsd-signature tsd-anchor-link" id="constructor.new_MKGeoComplyController"><span class="tsd-kind-constructor-signature">new MKGeo<wbr/>Comply<wbr/>Controller</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">config</span>, <span class="tsd-kind-parameter">errorCallback</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="MKGeoComplyController.html" class="tsd-signature-type tsd-kind-class">MKGeoComplyController</a><a href="#constructor.new_MKGeoComplyController" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
56
|
+
<li class="tsd-description">
|
|
57
|
+
<div class="tsd-parameters">
|
|
58
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
59
|
+
<ul class="tsd-parameter-list">
|
|
60
|
+
<li>
|
|
61
|
+
<h5><span class="tsd-kind-parameter">config</span>: <span class="tsd-signature-type ">MKEnvironmentConfig</span></h5>
|
|
62
|
+
<div class="tsd-comment tsd-typography"><p>the GeoComply configuration for this controller instance.</p>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="tsd-comment tsd-typography"></div></li>
|
|
65
|
+
<li>
|
|
66
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">errorCallback</span>: <a href="../interfaces/MKGeoComplyErrorCallback.html" class="tsd-signature-type tsd-kind-interface">MKGeoComplyErrorCallback</a></h5>
|
|
67
|
+
<div class="tsd-comment tsd-typography"><p>the callback to receive notifications on errors.</p>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
|
70
|
+
<h4 class="tsd-returns-title">Returns <a href="MKGeoComplyController.html" class="tsd-signature-type tsd-kind-class">MKGeoComplyController</a></h4>
|
|
71
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section></section>
|
|
72
|
+
<section class="tsd-panel-group tsd-member-group">
|
|
73
|
+
<h2>Methods</h2>
|
|
74
|
+
<section class="tsd-panel tsd-member"><a id="attachPlayer" class="tsd-anchor"></a>
|
|
75
|
+
<h3 class="tsd-anchor-link"><span>attach<wbr/>Player</span><a href="#attachPlayer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
76
|
+
<ul class="tsd-signatures">
|
|
77
|
+
<li class="tsd-signature tsd-anchor-link" id="attachPlayer.attachPlayer-1"><span class="tsd-kind-call-signature">attach<wbr/>Player</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">player</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#attachPlayer.attachPlayer-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
78
|
+
<li class="tsd-description">
|
|
79
|
+
<div class="tsd-comment tsd-typography"><p>Attaches this controller to a player, e.g. one call per player in a
|
|
80
|
+
multiview grid. Registers the cached location token as that player's
|
|
81
|
+
GeoComply location provider. Safe to call more than once for the same
|
|
82
|
+
player -- only attaches on the first call.</p>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="tsd-parameters">
|
|
85
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
86
|
+
<ul class="tsd-parameter-list">
|
|
87
|
+
<li>
|
|
88
|
+
<h5><span class="tsd-kind-parameter">player</span>: <span class="tsd-signature-type ">MKPlayerAPI</span></h5>
|
|
89
|
+
<div class="tsd-comment tsd-typography"><p>the player to attach to.</p>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="tsd-comment tsd-typography"></div></li>
|
|
92
|
+
<li>
|
|
93
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-symbol">{ </span><br/><span> </span><span class="tsd-kind-property">externalTokenOnly</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h5>
|
|
94
|
+
<ul class="tsd-parameters">
|
|
95
|
+
<li class="tsd-parameter">
|
|
96
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-property">external<wbr/>Token<wbr/>Only</span><span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">boolean</span></h5>
|
|
97
|
+
<div class="tsd-comment tsd-typography"><p>true for a player with no local
|
|
98
|
+
KSS/authorize/verify capability, e.g. a connected device relying on
|
|
99
|
+
<a href="../functions/setExternalGeoComplyLocationToken.html" class="tsd-kind-function">setExternalGeoComplyLocationToken</a>.</p>
|
|
100
|
+
</div>
|
|
101
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></li></ul></div>
|
|
102
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
103
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section>
|
|
104
|
+
<section class="tsd-panel tsd-member"><a id="detachPlayer" class="tsd-anchor"></a>
|
|
105
|
+
<h3 class="tsd-anchor-link"><span>detach<wbr/>Player</span><a href="#detachPlayer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
106
|
+
<ul class="tsd-signatures">
|
|
107
|
+
<li class="tsd-signature tsd-anchor-link" id="detachPlayer.detachPlayer-1"><span class="tsd-kind-call-signature">detach<wbr/>Player</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">player</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#detachPlayer.detachPlayer-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
108
|
+
<li class="tsd-description">
|
|
109
|
+
<div class="tsd-comment tsd-typography"><p>Detaches a player: removes its listeners, unregisters its location
|
|
110
|
+
provider, and forgets its state. Called automatically on that
|
|
111
|
+
player's Destroy.</p>
|
|
112
|
+
</div>
|
|
113
|
+
<div class="tsd-parameters">
|
|
114
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
115
|
+
<ul class="tsd-parameter-list">
|
|
116
|
+
<li>
|
|
117
|
+
<h5><span class="tsd-kind-parameter">player</span>: <span class="tsd-signature-type ">MKPlayerAPI</span></h5>
|
|
118
|
+
<div class="tsd-comment tsd-typography"><p>the player to detach.</p>
|
|
119
|
+
</div>
|
|
120
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
|
121
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
122
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section>
|
|
123
|
+
<section class="tsd-panel tsd-member"><a id="getVersion" class="tsd-anchor"></a>
|
|
124
|
+
<h3 class="tsd-anchor-link"><span>get<wbr/>Version</span><a href="#getVersion" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
125
|
+
<ul class="tsd-signatures">
|
|
126
|
+
<li class="tsd-signature tsd-anchor-link" id="getVersion.getVersion-1"><span class="tsd-kind-call-signature">get<wbr/>Version</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getVersion.getVersion-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
127
|
+
<li class="tsd-description">
|
|
128
|
+
<div class="tsd-comment tsd-typography"><p>Get plugin version string.</p>
|
|
129
|
+
</div>
|
|
130
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4>
|
|
131
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section>
|
|
132
|
+
<section class="tsd-panel tsd-member"><a id="loadSource" class="tsd-anchor"></a>
|
|
133
|
+
<h3 class="tsd-anchor-link"><span>load<wbr/>Source</span><a href="#loadSource" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
134
|
+
<ul class="tsd-signatures">
|
|
135
|
+
<li class="tsd-signature tsd-anchor-link" id="loadSource.loadSource-1"><span class="tsd-kind-call-signature">load<wbr/>Source</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">player</span>, <span class="tsd-kind-parameter">sourceConfig</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span><a href="#loadSource.loadSource-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
136
|
+
<li class="tsd-description">
|
|
137
|
+
<div class="tsd-comment tsd-typography"><p>Loads a source on an attached player, in place of calling
|
|
138
|
+
<code>player.load()</code> directly. Refreshes the cached location token first
|
|
139
|
+
if it's missing or expired.</p>
|
|
140
|
+
</div>
|
|
141
|
+
<div class="tsd-parameters">
|
|
142
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
143
|
+
<ul class="tsd-parameter-list">
|
|
144
|
+
<li>
|
|
145
|
+
<h5><span class="tsd-kind-parameter">player</span>: <span class="tsd-signature-type ">MKPlayerAPI</span></h5>
|
|
146
|
+
<div class="tsd-comment tsd-typography"><p>the attached player to load on.</p>
|
|
147
|
+
</div>
|
|
148
|
+
<div class="tsd-comment tsd-typography"></div></li>
|
|
149
|
+
<li>
|
|
150
|
+
<h5><span class="tsd-kind-parameter">sourceConfig</span>: <span class="tsd-signature-type ">MKSourceConfig</span></h5>
|
|
151
|
+
<div class="tsd-comment tsd-typography"><p>the source to load.</p>
|
|
152
|
+
</div>
|
|
153
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
|
154
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4>
|
|
155
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section>
|
|
156
|
+
<section class="tsd-panel tsd-member"><a id="stop" class="tsd-anchor"></a>
|
|
157
|
+
<h3 class="tsd-anchor-link"><span>stop</span><a href="#stop" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></h3>
|
|
158
|
+
<ul class="tsd-signatures">
|
|
159
|
+
<li class="tsd-signature tsd-anchor-link" id="stop.stop-1"><span class="tsd-kind-call-signature">stop</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#stop.stop-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="#icon-anchor"></use></svg></a></li>
|
|
160
|
+
<li class="tsd-description">
|
|
161
|
+
<div class="tsd-comment tsd-typography"><p>Full teardown -- detaches every currently attached player.</p>
|
|
162
|
+
</div>
|
|
163
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
164
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section></section></div>
|
|
165
|
+
<div class="col-sidebar">
|
|
166
|
+
<div class="page-menu">
|
|
167
|
+
<div class="tsd-navigation settings">
|
|
168
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
169
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
|
170
|
+
<div class="tsd-accordion-details">
|
|
171
|
+
<div class="tsd-filter-visibility">
|
|
172
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
173
|
+
<ul id="tsd-filter-options">
|
|
174
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
175
|
+
<div class="tsd-theme-toggle">
|
|
176
|
+
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
177
|
+
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
|
178
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
|
179
|
+
<div class="tsd-accordion-details">
|
|
180
|
+
<ul>
|
|
181
|
+
<li><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-512"></use></svg><span>constructor</span></a></li>
|
|
182
|
+
<li><a href="#attachPlayer" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>attach<wbr/>Player</span></a></li>
|
|
183
|
+
<li><a href="#detachPlayer" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>detach<wbr/>Player</span></a></li>
|
|
184
|
+
<li><a href="#getVersion" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>get<wbr/>Version</span></a></li>
|
|
185
|
+
<li><a href="#loadSource" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>load<wbr/>Source</span></a></li>
|
|
186
|
+
<li><a href="#stop" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-2048"></use></svg><span>stop</span></a></li></ul></div></details></div>
|
|
187
|
+
<div class="site-menu">
|
|
188
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Controller -<wbr/> v1.0.0</span></a>
|
|
189
|
+
<ul class="tsd-small-nested-navigation">
|
|
190
|
+
<li><a href="MKGeoComplyController.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Controller</span></a></li>
|
|
191
|
+
<li><a href="../interfaces/MKGeoComplyError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Error</span></a></li>
|
|
192
|
+
<li><a href="../interfaces/MKGeoComplyErrorCallback.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKGeo<wbr/>Comply<wbr/>Error<wbr/>Callback</span></a></li>
|
|
193
|
+
<li><a href="../functions/prepareGeoComplyAuthorization.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>prepare<wbr/>Geo<wbr/>Comply<wbr/>Authorization</span></a></li>
|
|
194
|
+
<li><a href="../functions/setExternalGeoComplyLocationToken.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>set<wbr/>External<wbr/>Geo<wbr/>Comply<wbr/>Location<wbr/>Token</span></a></li></ul></nav></div></div></div>
|
|
195
|
+
<div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>prepareGeoComplyAuthorization | MKGeoComplyController - v1.0.0</title><meta name="description" content="Documentation for MKGeoComplyController"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
7
|
+
<ul class="results">
|
|
8
|
+
<li class="state loading">Preparing search index...</li>
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MKGeoComplyController - v1.0.0</a></div>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
|
+
<div class="container container-main">
|
|
12
|
+
<div class="col-content">
|
|
13
|
+
<div class="tsd-page-title">
|
|
14
|
+
<ul class="tsd-breadcrumb">
|
|
15
|
+
<li><a href="../modules.html">MKGeoComplyController</a></li>
|
|
16
|
+
<li><a href="prepareGeoComplyAuthorization.html">prepareGeoComplyAuthorization</a></li></ul>
|
|
17
|
+
<h1>Function prepareGeoComplyAuthorization</h1></div>
|
|
18
|
+
<section class="tsd-panel">
|
|
19
|
+
<ul class="tsd-signatures">
|
|
20
|
+
<li class="tsd-signature tsd-anchor-link" id="prepareGeoComplyAuthorization"><span class="tsd-kind-call-signature">prepare<wbr/>Geo<wbr/>Comply<wbr/>Authorization</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">config</span>, <span class="tsd-kind-parameter">errorCallback</span><span class="tsd-signature-symbol">?</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><a href="#prepareGeoComplyAuthorization" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
|
21
|
+
<li class="tsd-description">
|
|
22
|
+
<div class="tsd-comment tsd-typography"><p>Runs the KSS -> authorize -> verify chain and caches the resulting
|
|
23
|
+
location token. Can be called independently of any player instance.</p>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="tsd-parameters">
|
|
26
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
27
|
+
<ul class="tsd-parameter-list">
|
|
28
|
+
<li>
|
|
29
|
+
<h5><span class="tsd-kind-parameter">config</span>: <span class="tsd-signature-type ">MKEnvironmentConfig</span></h5>
|
|
30
|
+
<div class="tsd-comment tsd-typography"><p>the environment configuration used to reach KSS/GeoComply.</p>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="tsd-comment tsd-typography"></div></li>
|
|
33
|
+
<li>
|
|
34
|
+
<h5><code class="tsd-tag ts-flagOptional">Optional</code> <span class="tsd-kind-parameter">errorCallback</span>: <a href="../interfaces/MKGeoComplyErrorCallback.html" class="tsd-signature-type tsd-kind-interface">MKGeoComplyErrorCallback</a></h5>
|
|
35
|
+
<div class="tsd-comment tsd-typography"><p>receives details of any failure.</p>
|
|
36
|
+
</div>
|
|
37
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
|
38
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type ">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><p>true on success, false otherwise.</p>
|
|
39
|
+
|
|
40
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section></div>
|
|
41
|
+
<div class="col-sidebar">
|
|
42
|
+
<div class="page-menu">
|
|
43
|
+
<div class="tsd-navigation settings">
|
|
44
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
45
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
|
46
|
+
<div class="tsd-accordion-details">
|
|
47
|
+
<div class="tsd-filter-visibility">
|
|
48
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
49
|
+
<ul id="tsd-filter-options">
|
|
50
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
51
|
+
<div class="tsd-theme-toggle">
|
|
52
|
+
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
53
|
+
<div class="site-menu">
|
|
54
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Controller -<wbr/> v1.0.0</span></a>
|
|
55
|
+
<ul class="tsd-small-nested-navigation">
|
|
56
|
+
<li><a href="../classes/MKGeoComplyController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Controller</span></a></li>
|
|
57
|
+
<li><a href="../interfaces/MKGeoComplyError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Error</span></a></li>
|
|
58
|
+
<li><a href="../interfaces/MKGeoComplyErrorCallback.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKGeo<wbr/>Comply<wbr/>Error<wbr/>Callback</span></a></li>
|
|
59
|
+
<li><a href="prepareGeoComplyAuthorization.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>prepare<wbr/>Geo<wbr/>Comply<wbr/>Authorization</span></a></li>
|
|
60
|
+
<li><a href="setExternalGeoComplyLocationToken.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>set<wbr/>External<wbr/>Geo<wbr/>Comply<wbr/>Location<wbr/>Token</span></a></li></ul></nav></div></div></div>
|
|
61
|
+
<div class="overlay"></div></body></html>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>setExternalGeoComplyLocationToken | MKGeoComplyController - v1.0.0</title><meta name="description" content="Documentation for MKGeoComplyController"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base="..">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
7
|
+
<ul class="results">
|
|
8
|
+
<li class="state loading">Preparing search index...</li>
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">MKGeoComplyController - v1.0.0</a></div>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
|
+
<div class="container container-main">
|
|
12
|
+
<div class="col-content">
|
|
13
|
+
<div class="tsd-page-title">
|
|
14
|
+
<ul class="tsd-breadcrumb">
|
|
15
|
+
<li><a href="../modules.html">MKGeoComplyController</a></li>
|
|
16
|
+
<li><a href="setExternalGeoComplyLocationToken.html">setExternalGeoComplyLocationToken</a></li></ul>
|
|
17
|
+
<h1>Function setExternalGeoComplyLocationToken</h1></div>
|
|
18
|
+
<section class="tsd-panel">
|
|
19
|
+
<ul class="tsd-signatures">
|
|
20
|
+
<li class="tsd-signature tsd-anchor-link" id="setExternalGeoComplyLocationToken"><span class="tsd-kind-call-signature">set<wbr/>External<wbr/>Geo<wbr/>Comply<wbr/>Location<wbr/>Token</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">token</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#setExternalGeoComplyLocationToken" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><g stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round" id="icon-anchor"><path stroke="none" d="M0 0h24v24H0z" fill="none"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5"></path></g></svg></a></li>
|
|
21
|
+
<li class="tsd-description">
|
|
22
|
+
<div class="tsd-comment tsd-typography"><p>Sets (or clears) the cached location token from an external source, e.g.
|
|
23
|
+
a connected device relaying a token obtained by a paired mobile device.</p>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="tsd-parameters">
|
|
26
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
27
|
+
<ul class="tsd-parameter-list">
|
|
28
|
+
<li>
|
|
29
|
+
<h5><span class="tsd-kind-parameter">token</span>: <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span></h5>
|
|
30
|
+
<div class="tsd-comment tsd-typography"><p>the signed location token, or <code>null</code> to clear the cache.</p>
|
|
31
|
+
</div>
|
|
32
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></div>
|
|
33
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
34
|
+
<div class="tsd-comment tsd-typography"></div></li></ul></section></div>
|
|
35
|
+
<div class="col-sidebar">
|
|
36
|
+
<div class="page-menu">
|
|
37
|
+
<div class="tsd-navigation settings">
|
|
38
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
39
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
|
40
|
+
<div class="tsd-accordion-details">
|
|
41
|
+
<div class="tsd-filter-visibility">
|
|
42
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
43
|
+
<ul id="tsd-filter-options">
|
|
44
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
45
|
+
<div class="tsd-theme-toggle">
|
|
46
|
+
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
47
|
+
<div class="site-menu">
|
|
48
|
+
<nav class="tsd-navigation"><a href="../modules.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Controller -<wbr/> v1.0.0</span></a>
|
|
49
|
+
<ul class="tsd-small-nested-navigation">
|
|
50
|
+
<li><a href="../classes/MKGeoComplyController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Controller</span></a></li>
|
|
51
|
+
<li><a href="../interfaces/MKGeoComplyError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Error</span></a></li>
|
|
52
|
+
<li><a href="../interfaces/MKGeoComplyErrorCallback.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKGeo<wbr/>Comply<wbr/>Error<wbr/>Callback</span></a></li>
|
|
53
|
+
<li><a href="prepareGeoComplyAuthorization.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>prepare<wbr/>Geo<wbr/>Comply<wbr/>Authorization</span></a></li>
|
|
54
|
+
<li><a href="setExternalGeoComplyLocationToken.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>set<wbr/>External<wbr/>Geo<wbr/>Comply<wbr/>Location<wbr/>Token</span></a></li></ul></nav></div></div></div>
|
|
55
|
+
<div class="overlay"></div></body></html>
|
package/docs/index.html
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>MKGeoComplyController - v1.0.0</title><meta name="description" content="Documentation for MKGeoComplyController"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/search.js" id="tsd-search-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container">
|
|
3
|
+
<div class="table-cell" id="tsd-search" data-base=".">
|
|
4
|
+
<div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
|
|
5
|
+
<div class="field">
|
|
6
|
+
<div id="tsd-toolbar-links"></div></div>
|
|
7
|
+
<ul class="results">
|
|
8
|
+
<li class="state loading">Preparing search index...</li>
|
|
9
|
+
<li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">MKGeoComplyController - v1.0.0</a></div>
|
|
10
|
+
<div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
|
|
11
|
+
<div class="container container-main">
|
|
12
|
+
<div class="col-content">
|
|
13
|
+
<div class="tsd-page-title">
|
|
14
|
+
<h2>MKGeoComplyController - v1.0.0</h2></div>
|
|
15
|
+
<div class="tsd-panel tsd-typography"><p>MKGeoComplyController is a MKPlayer plugin that adds GeoComply BrowserGuard location verification support, gating playback of geo-restricted content behind a signed location JWT attached to the Azuki roll request.</p>
|
|
16
|
+
<p>Please follow the instructions on this page to understand how to properly add this plugin to MKPlayer.</p>
|
|
17
|
+
<p>Please note that this plugin is supported to work only with MediaKind registered source streams. This plugin depends on MKPlayer as its dependency and needs MKPlayer version <code>1.44.0</code> or newer for proper functioning. It also depends on the GeoComply BrowserGuard SDK (<code>gc-html5.js</code>), which your application must load separately via its own <code><script></code> tag (from GeoComply's own CDN) -- it is not bundled by this plugin.</p>
|
|
18
|
+
<p>Your application is also responsible for requesting the browser's geolocation permission (e.g. via <code>navigator.geolocation.getCurrentPosition()</code>) before enabling GeoComply -- this plugin never prompts the user for permission itself.</p>
|
|
19
|
+
<a id="md:getting-started" class="tsd-anchor"></a><h3><a href="#md:getting-started">Getting started.</a></h3><p>Install the plugin via NPM as below</p>
|
|
20
|
+
<pre><code><span class="hl-0">npm</span><span class="hl-1"> </span><span class="hl-0">install</span><span class="hl-1"> @</span><span class="hl-0">mediakind</span><span class="hl-1">/</span><span class="hl-0">mkplayer</span><span class="hl-1">-</span><span class="hl-0">geocomply</span><span class="hl-1">-</span><span class="hl-0">plugin</span>
|
|
21
|
+
</code><button>Copy</button></pre>
|
|
22
|
+
<p>Next include <code>mkplayer-geocomply-plugin.js</code> in the head of your HTML page along side <code>mkplayer.js</code> and GeoComply's own <code>gc-html5.js</code>:</p>
|
|
23
|
+
<pre><code class="language-html"><span class="hl-2"><</span><span class="hl-3">head</span><span class="hl-2">></span><br/><span class="hl-1"> </span><span class="hl-2"><</span><span class="hl-3">title</span><span class="hl-2">></span><span class="hl-1">My Video Player</span><span class="hl-2"></</span><span class="hl-3">title</span><span class="hl-2">></span><br/><span class="hl-1"> </span><span class="hl-2"><</span><span class="hl-3">meta</span><span class="hl-1"> </span><span class="hl-4">charset</span><span class="hl-1">=</span><span class="hl-5">"utf-8"</span><span class="hl-2">></span><br/><span class="hl-1"> </span><span class="hl-2"><</span><span class="hl-3">meta</span><span class="hl-1"> </span><span class="hl-4">name</span><span class="hl-1">=</span><span class="hl-5">"viewport"</span><span class="hl-1"> </span><span class="hl-4">content</span><span class="hl-1">=</span><span class="hl-5">"width=device-width, initial-scale=1"</span><span class="hl-2">></span><br/><span class="hl-1"> </span><span class="hl-6"><!-- MKPlayer JavaScript and CSS along with MKGeoComplyController --></span><br/><span class="hl-1"> </span><span class="hl-2"><</span><span class="hl-3">script</span><span class="hl-7"> </span><span class="hl-4">type</span><span class="hl-7">=</span><span class="hl-5">"text/javascript"</span><span class="hl-7"> </span><span class="hl-4">src</span><span class="hl-7">=</span><span class="hl-5">"./node_modules/@mediakind/mkplayer/mkplayer.js"</span><span class="hl-2">></</span><span class="hl-3">script</span><span class="hl-2">></span><br/><span class="hl-1"> </span><span class="hl-2"><</span><span class="hl-3">link</span><span class="hl-1"> </span><span class="hl-4">rel</span><span class="hl-1">=</span><span class="hl-5">"stylesheet"</span><span class="hl-1"> </span><span class="hl-4">href</span><span class="hl-1">=</span><span class="hl-5">"./node_modules/@mediakind/mkplayer/mkplayer-ui.css"</span><span class="hl-2">></span><br/><span class="hl-1"> </span><span class="hl-2"><</span><span class="hl-3">script</span><span class="hl-7"> </span><span class="hl-4">type</span><span class="hl-7">=</span><span class="hl-5">"text/javascript"</span><span class="hl-7"> </span><span class="hl-4">src</span><span class="hl-7">=</span><span class="hl-5">"https://<your-geocomply-cdn>/gc-html5.js"</span><span class="hl-2">></</span><span class="hl-3">script</span><span class="hl-2">></span><br/><span class="hl-1"> </span><span class="hl-2"><</span><span class="hl-3">script</span><span class="hl-7"> </span><span class="hl-4">type</span><span class="hl-7">=</span><span class="hl-5">"text/javascript"</span><span class="hl-7"> </span><span class="hl-4">src</span><span class="hl-7">=</span><span class="hl-5">"./node_modules/@mediakind/mkplayer-geocomply-plugin/mkplayer-geocomply-plugin.js"</span><span class="hl-2">></</span><span class="hl-3">script</span><span class="hl-2">></span><br/><span class="hl-2"></</span><span class="hl-3">head</span><span class="hl-2">></span>
|
|
24
|
+
</code><button>Copy</button></pre>
|
|
25
|
+
<p>Next, in your application import the plugin as below.</p>
|
|
26
|
+
<pre><code class="language-js"><span class="hl-8">import</span><span class="hl-1"> { </span><span class="hl-0">MKGeoComplyController</span><span class="hl-1">, </span><span class="hl-0">MKGeoComplyError</span><span class="hl-1">, </span><span class="hl-0">prepareGeoComplyAuthorization</span><span class="hl-1"> } </span><span class="hl-8">from</span><span class="hl-1"> </span><span class="hl-9">"@mediakind/mkplayer-geocomply-plugin"</span><span class="hl-1">;</span>
|
|
27
|
+
</code><button>Copy</button></pre>
|
|
28
|
+
<p>As soon as your application knows the user wants GeoComply-gated content (e.g. a settings toggle), proactively run the authorize/verify chain -- this can happen before any player exists, so the location token is likely already cached by the time playback starts:</p>
|
|
29
|
+
<pre><code class="language-js"><span class="hl-10">function</span><span class="hl-1"> </span><span class="hl-11">onGeoComplyError</span><span class="hl-1">(</span><span class="hl-0">error</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-0">console</span><span class="hl-1">.</span><span class="hl-11">warn</span><span class="hl-1">(</span><span class="hl-9">`GeoComply error: code: </span><span class="hl-10">${</span><span class="hl-0">error</span><span class="hl-7">.</span><span class="hl-0">code</span><span class="hl-10">}</span><span class="hl-9">, message: </span><span class="hl-10">${</span><span class="hl-0">error</span><span class="hl-7">.</span><span class="hl-0">message</span><span class="hl-10">}</span><span class="hl-9">`</span><span class="hl-1">);</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-6">// environmentConfig is the same MKEnvironmentConfig object (authToken/ownerUid/</span><br/><span class="hl-6">// serverUrl/kssUrl) you already use for the registered source itself.</span><br/><span class="hl-8">await</span><span class="hl-1"> </span><span class="hl-11">prepareGeoComplyAuthorization</span><span class="hl-1">(</span><span class="hl-0">environmentConfig</span><span class="hl-1">, </span><span class="hl-0">onGeoComplyError</span><span class="hl-1">);</span>
|
|
30
|
+
</code><button>Copy</button></pre>
|
|
31
|
+
<p>Initialize the plugin and attach it to your player as below:</p>
|
|
32
|
+
<pre><code class="language-js"><span class="hl-6">// Initialize MKPlayer as before with video container and player config.</span><br/><span class="hl-10">const</span><span class="hl-1"> </span><span class="hl-12">player</span><span class="hl-1"> = </span><span class="hl-10">new</span><span class="hl-1"> </span><span class="hl-0">mkplayer</span><span class="hl-1">.</span><span class="hl-11">MKPlayer</span><span class="hl-1">(</span><span class="hl-0">videoContainer</span><span class="hl-1">, </span><span class="hl-0">playerConfig</span><span class="hl-1">);</span><br/><br/><span class="hl-6">// Initialize MKGeoComplyController with the same environmentConfig and error callback.</span><br/><span class="hl-10">const</span><span class="hl-1"> </span><span class="hl-12">geoComplyController</span><span class="hl-1"> = </span><span class="hl-10">new</span><span class="hl-1"> </span><span class="hl-0">mkplayerGeocomplyPlugin</span><span class="hl-1">.</span><span class="hl-11">MKGeoComplyController</span><span class="hl-1">(</span><span class="hl-0">environmentConfig</span><span class="hl-1">, </span><span class="hl-0">onGeoComplyError</span><span class="hl-1">);</span><br/><br/><span class="hl-6">// attachPlayer() (rather than passing the player into the constructor) is what</span><br/><span class="hl-6">// lets one controller be attached to several players at once, e.g. a multiview grid.</span><br/><span class="hl-0">geoComplyController</span><span class="hl-1">.</span><span class="hl-11">attachPlayer</span><span class="hl-1">(</span><span class="hl-0">player</span><span class="hl-1">);</span>
|
|
33
|
+
</code><button>Copy</button></pre>
|
|
34
|
+
<p>Replace your direct <code>player.load(sourceConfig)</code> call with <code>loadSource()</code>:</p>
|
|
35
|
+
<pre><code class="language-js"><span class="hl-0">geoComplyController</span><span class="hl-1">.</span><span class="hl-11">loadSource</span><span class="hl-1">(</span><span class="hl-0">player</span><span class="hl-1">, </span><span class="hl-0">sourceConfig</span><span class="hl-1">);</span>
|
|
36
|
+
</code><button>Copy</button></pre>
|
|
37
|
+
<p>Now at this stage you are all set. <code>loadSource()</code> checks the cached location token before every load and fetches a fresh one first if it's missing or expired, so the current token is attached to every roll request for this player automatically. If a roll still fails (missing, invalid, or expired token, or a detected proxy/VPN), the controller reports it through your error callback -- it does not retry the load itself; call <code>loadSource()</code> again (or let the user click Play again) to try with a fresh token. When you're done with a player, call <code>geoComplyController.detachPlayer(player)</code> (or <code>stop()</code> to detach all attached players).</p>
|
|
38
|
+
<a id="md:quick-links" class="tsd-anchor"></a><h3><a href="#md:quick-links">Quick links:</a></h3><ul>
|
|
39
|
+
<li><a href="./classes/MKGeoComplyController.html">MKGeoComplyController</a></li>
|
|
40
|
+
<li><a href="./functions/prepareGeoComplyAuthorization.html">prepareGeoComplyAuthorization</a></li>
|
|
41
|
+
<li><a href="./interfaces/MKGeoComplyError.html">MKGeoComplyError</a></li>
|
|
42
|
+
<li><a href="./interfaces/MKGeoComplyErrorCallback.html">MKGeoComplyErrorCallback</a></li>
|
|
43
|
+
</ul>
|
|
44
|
+
</div></div>
|
|
45
|
+
<div class="col-sidebar">
|
|
46
|
+
<div class="page-menu">
|
|
47
|
+
<div class="tsd-navigation settings">
|
|
48
|
+
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
49
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)" id="icon-chevronDown"></path></svg>Settings</h3></summary>
|
|
50
|
+
<div class="tsd-accordion-details">
|
|
51
|
+
<div class="tsd-filter-visibility">
|
|
52
|
+
<h4 class="uppercase">Member Visibility</h4><form>
|
|
53
|
+
<ul id="tsd-filter-options">
|
|
54
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li></ul></form></div>
|
|
55
|
+
<div class="tsd-theme-toggle">
|
|
56
|
+
<h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
57
|
+
<details open class="tsd-index-accordion tsd-page-navigation"><summary class="tsd-accordion-summary">
|
|
58
|
+
<h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon-chevronDown"></use></svg>On This Page</h3></summary>
|
|
59
|
+
<div class="tsd-accordion-details">
|
|
60
|
+
<ul>
|
|
61
|
+
<li>
|
|
62
|
+
<ul>
|
|
63
|
+
<li><a href="#md:getting-started"><span>Getting started.</span></a></li>
|
|
64
|
+
<li>
|
|
65
|
+
<ul>
|
|
66
|
+
<li><a href="#md:quick-links"><span>Quick links:</span></a></li></ul></li></ul></li></ul></div></details></div>
|
|
67
|
+
<div class="site-menu">
|
|
68
|
+
<nav class="tsd-navigation"><a href="modules.html" class="current"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-4"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-namespace)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Controller -<wbr/> v1.0.0</span></a>
|
|
69
|
+
<ul class="tsd-small-nested-navigation">
|
|
70
|
+
<li><a href="classes/MKGeoComplyController.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-128"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-class)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Controller</span></a></li>
|
|
71
|
+
<li><a href="interfaces/MKGeoComplyError.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-256"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)"></path></g></svg><span>MKGeo<wbr/>Comply<wbr/>Error</span></a></li>
|
|
72
|
+
<li><a href="interfaces/MKGeoComplyErrorCallback.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-256"></use></svg><span>MKGeo<wbr/>Comply<wbr/>Error<wbr/>Callback</span></a></li>
|
|
73
|
+
<li><a href="functions/prepareGeoComplyAuthorization.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><g id="icon-64"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-function)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6"></rect><path d="M9.39 16V7.24H14.55V8.224H10.446V11.128H14.238V12.112H10.47V16H9.39Z" fill="var(--color-text)"></path></g></svg><span>prepare<wbr/>Geo<wbr/>Comply<wbr/>Authorization</span></a></li>
|
|
74
|
+
<li><a href="functions/setExternalGeoComplyLocationToken.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="#icon-64"></use></svg><span>set<wbr/>External<wbr/>Geo<wbr/>Comply<wbr/>Location<wbr/>Token</span></a></li></ul></nav></div></div></div>
|
|
75
|
+
<div class="overlay"></div></body></html>
|