No Description

agoraview.html 70KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174
  1. <!doctype html>
  2. <html class="default no-js">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <title>AgoraView | react-native-agora</title>
  7. <meta name="description" content="">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="stylesheet" href="../assets/css/main.css">
  10. </head>
  11. <body>
  12. <header>
  13. <div class="tsd-page-toolbar">
  14. <div class="container">
  15. <div class="table-wrap">
  16. <div class="table-cell" id="tsd-search" data-index="../assets/js/search.js" data-base="..">
  17. <div class="field">
  18. <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
  19. <input id="tsd-search-field" type="text" />
  20. </div>
  21. <ul class="results">
  22. <li class="state loading">Preparing search index...</li>
  23. <li class="state failure">The search index is not available</li>
  24. </ul>
  25. <a href="../index.html" class="title">react-native-agora</a>
  26. </div>
  27. <div class="table-cell" id="tsd-widgets">
  28. <div id="tsd-filter">
  29. <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
  30. <div class="tsd-filter-group">
  31. <div class="tsd-select" id="tsd-filter-visibility">
  32. <span class="tsd-select-label">All</span>
  33. <ul class="tsd-select-list">
  34. <li data-value="public">Public</li>
  35. <li data-value="protected">Public/Protected</li>
  36. <li data-value="private" class="selected">All</li>
  37. </ul>
  38. </div>
  39. <input type="checkbox" id="tsd-filter-inherited" checked />
  40. <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
  41. <input type="checkbox" id="tsd-filter-externals" checked />
  42. <label class="tsd-widget" for="tsd-filter-externals">Externals</label>
  43. <input type="checkbox" id="tsd-filter-only-exported" />
  44. <label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
  45. </div>
  46. </div>
  47. <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <div class="tsd-page-title">
  53. <div class="container">
  54. <ul class="tsd-breadcrumb">
  55. <li>
  56. <a href="../globals.html">Globals</a>
  57. </li>
  58. <li>
  59. <a href="agoraview.html">AgoraView</a>
  60. </li>
  61. </ul>
  62. <h1>Class AgoraView&lt;S, SS, S&gt;</h1>
  63. </div>
  64. </div>
  65. </header>
  66. <div class="container container-main">
  67. <div class="row">
  68. <div class="col-8 col-content">
  69. <section class="tsd-panel tsd-comment">
  70. <div class="tsd-comment tsd-typography">
  71. <div class="lead">
  72. <p>AgoraView is the render layer for rendering video stream</p>
  73. </div>
  74. <p>This class is used to rendering native sdk stream</p>
  75. <dl class="tsd-comment-tags">
  76. <dt>props</dt>
  77. <dd><p><a href="../interfaces/agoraviewprops.html">AgoraViewProps</a></p>
  78. </dd>
  79. <dt>descrption</dt>
  80. <dd><p>AgoraViewProps has four properties.</p>
  81. </dd>
  82. <dt>property</dt>
  83. <dd><p>number: mode, this property will setup video render mode. there is two avaliable mode {hidden: 1, fit: 2}, you could see more details <a href="#here">https://docs.agora.io/en/Interactive%20Broadcast/API%20Reference/java/classio_1_1agora_1_1rtc_1_1_rtc_engine.html#ac08882c4d0ec47b329900df169493673</a></p>
  84. </dd>
  85. <dt>property</dt>
  86. <dd><p>boolean: showLocalVideo, this property will render local video, NOTICE: IF YOU SET showLocalVideo YOU CANNOT SET remoteUid</p>
  87. </dd>
  88. <dt>property</dt>
  89. <dd><p>number: remoteUid, this property will render video with remote uid, NOTICE: IF YOU SET remoteUid YOU CANNOT SET showLocalVideo</p>
  90. </dd>
  91. <dt>property</dt>
  92. <dd><p>boolean: zOrderMediaOverlay, this property will working for android side and it likes zIndex behaviour on web side.</p>
  93. </dd>
  94. </dl>
  95. </div>
  96. </section>
  97. <section class="tsd-panel tsd-type-parameters">
  98. <h3>Type parameters</h3>
  99. <ul class="tsd-type-parameters">
  100. <li>
  101. <h4>S</h4>
  102. </li>
  103. <li>
  104. <h4>SS</h4>
  105. </li>
  106. <li>
  107. <h4>S</h4>
  108. </li>
  109. </ul>
  110. </section>
  111. <section class="tsd-panel tsd-hierarchy">
  112. <h3>Hierarchy</h3>
  113. <ul class="tsd-hierarchy">
  114. <li>
  115. <span class="tsd-signature-type">Component</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span>
  116. <ul class="tsd-hierarchy">
  117. <li>
  118. <span class="target">AgoraView</span>
  119. </li>
  120. </ul>
  121. </li>
  122. </ul>
  123. </section>
  124. <section class="tsd-panel-group tsd-index-group">
  125. <h2>Index</h2>
  126. <section class="tsd-panel tsd-index-panel">
  127. <div class="tsd-index-content">
  128. <section class="tsd-index-section tsd-is-inherited">
  129. <h3>Constructors</h3>
  130. <ul class="tsd-index-list">
  131. <li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#constructor" class="tsd-kind-icon">constructor</a></li>
  132. </ul>
  133. </section>
  134. <section class="tsd-index-section tsd-is-inherited">
  135. <h3>Properties</h3>
  136. <ul class="tsd-index-list">
  137. <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#context" class="tsd-kind-icon">context</a></li>
  138. <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#props" class="tsd-kind-icon">props</a></li>
  139. <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#refs" class="tsd-kind-icon">refs</a></li>
  140. <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#state" class="tsd-kind-icon">state</a></li>
  141. <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static"><a href="agoraview.html#contexttype" class="tsd-kind-icon">context<wbr>Type</a></li>
  142. </ul>
  143. </section>
  144. <section class="tsd-index-section ">
  145. <h3>Methods</h3>
  146. <ul class="tsd-index-list">
  147. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#unsafe_componentwillmount" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Mount</a></li>
  148. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#unsafe_componentwillreceiveprops" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props</a></li>
  149. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#unsafe_componentwillupdate" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Update</a></li>
  150. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#componentdidcatch" class="tsd-kind-icon">component<wbr>Did<wbr>Catch</a></li>
  151. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#componentdidmount" class="tsd-kind-icon">component<wbr>Did<wbr>Mount</a></li>
  152. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#componentdidupdate" class="tsd-kind-icon">component<wbr>Did<wbr>Update</a></li>
  153. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#componentwillmount" class="tsd-kind-icon">component<wbr>Will<wbr>Mount</a></li>
  154. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#componentwillreceiveprops" class="tsd-kind-icon">component<wbr>Will<wbr>Receive<wbr>Props</a></li>
  155. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#componentwillunmount" class="tsd-kind-icon">component<wbr>Will<wbr>Unmount</a></li>
  156. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#componentwillupdate" class="tsd-kind-icon">component<wbr>Will<wbr>Update</a></li>
  157. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#forceupdate" class="tsd-kind-icon">force<wbr>Update</a></li>
  158. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="agoraview.html#gethtmlprops" class="tsd-kind-icon">getHTMLProps</a></li>
  159. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#getsnapshotbeforeupdate" class="tsd-kind-icon">get<wbr>Snapshot<wbr>Before<wbr>Update</a></li>
  160. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-overwrite"><a href="agoraview.html#render" class="tsd-kind-icon">render</a></li>
  161. <li class="tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited"><a href="agoraview.html#setstate" class="tsd-kind-icon">set<wbr>State</a></li>
  162. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><a href="agoraview.html#shouldcomponentupdate" class="tsd-kind-icon">should<wbr>Component<wbr>Update</a></li>
  163. </ul>
  164. </section>
  165. </div>
  166. </section>
  167. </section>
  168. <section class="tsd-panel-group tsd-member-group tsd-is-inherited">
  169. <h2>Constructors</h2>
  170. <section class="tsd-panel tsd-member tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
  171. <a name="constructor" class="tsd-anchor"></a>
  172. <h3>constructor</h3>
  173. <ul class="tsd-signatures tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
  174. <li class="tsd-signature tsd-kind-icon">new <wbr>Agora<wbr>View<span class="tsd-signature-symbol">(</span>props<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="agoraview.html" class="tsd-signature-type">AgoraView</a></li>
  175. <li class="tsd-signature tsd-kind-icon">new <wbr>Agora<wbr>View<span class="tsd-signature-symbol">(</span>props<span class="tsd-signature-symbol">: </span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a>, context<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="agoraview.html" class="tsd-signature-type">AgoraView</a></li>
  176. </ul>
  177. <ul class="tsd-descriptions">
  178. <li class="tsd-description">
  179. <aside class="tsd-sources">
  180. <p>Inherited from Component.__constructor</p>
  181. <ul>
  182. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:434</li>
  183. </ul>
  184. </aside>
  185. <h4 class="tsd-parameters-title">Parameters</h4>
  186. <ul class="tsd-parameters">
  187. <li>
  188. <h5>props: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span></h5>
  189. </li>
  190. </ul>
  191. <h4 class="tsd-returns-title">Returns <a href="agoraview.html" class="tsd-signature-type">AgoraView</a></h4>
  192. </li>
  193. <li class="tsd-description">
  194. <aside class="tsd-sources">
  195. <p>Inherited from Component.__constructor</p>
  196. <ul>
  197. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:436</li>
  198. </ul>
  199. </aside>
  200. <div class="tsd-comment tsd-typography">
  201. <dl class="tsd-comment-tags">
  202. <dt>deprecated</dt>
  203. <dd></dd>
  204. <dt>see</dt>
  205. <dd><p><a href="https://reactjs.org/docs/legacy-context.html">https://reactjs.org/docs/legacy-context.html</a></p>
  206. </dd>
  207. </dl>
  208. </div>
  209. <h4 class="tsd-parameters-title">Parameters</h4>
  210. <ul class="tsd-parameters">
  211. <li>
  212. <h5>props: <a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a></h5>
  213. </li>
  214. <li>
  215. <h5><span class="tsd-flag ts-flagOptional">Optional</span> context: <span class="tsd-signature-type">any</span></h5>
  216. </li>
  217. </ul>
  218. <h4 class="tsd-returns-title">Returns <a href="agoraview.html" class="tsd-signature-type">AgoraView</a></h4>
  219. </li>
  220. </ul>
  221. </section>
  222. </section>
  223. <section class="tsd-panel-group tsd-member-group tsd-is-inherited">
  224. <h2>Properties</h2>
  225. <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
  226. <a name="context" class="tsd-anchor"></a>
  227. <h3>context</h3>
  228. <div class="tsd-signature tsd-kind-icon">context<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div>
  229. <aside class="tsd-sources">
  230. <p>Inherited from Component.context</p>
  231. <ul>
  232. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:434</li>
  233. </ul>
  234. </aside>
  235. <div class="tsd-comment tsd-typography">
  236. <div class="lead">
  237. <p>If using the new style context, re-declare this in your class to be the
  238. <code>React.ContextType</code> of your <code>static contextType</code>.</p>
  239. </div>
  240. <pre><code class="language-ts"><span class="hljs-keyword">static</span> contextType = MyContext
  241. context!: React.ContextType&lt;<span class="hljs-keyword">typeof</span> MyContext&gt;</code></pre>
  242. <dl class="tsd-comment-tags">
  243. <dt>deprecated</dt>
  244. <dd><p>if used without a type annotation, or without static contextType</p>
  245. </dd>
  246. <dt>see</dt>
  247. <dd><p><a href="https://reactjs.org/docs/legacy-context.html">https://reactjs.org/docs/legacy-context.html</a></p>
  248. </dd>
  249. </dl>
  250. </div>
  251. </section>
  252. <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
  253. <a name="props" class="tsd-anchor"></a>
  254. <h3>props</h3>
  255. <div class="tsd-signature tsd-kind-icon">props<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">object</span><span class="tsd-signature-symbol">&gt;</span></div>
  256. <aside class="tsd-sources">
  257. <p>Inherited from Component.props</p>
  258. <ul>
  259. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:459</li>
  260. </ul>
  261. </aside>
  262. </section>
  263. <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
  264. <a name="refs" class="tsd-anchor"></a>
  265. <h3>refs</h3>
  266. <div class="tsd-signature tsd-kind-icon">refs<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
  267. <aside class="tsd-sources">
  268. <p>Inherited from Component.refs</p>
  269. <ul>
  270. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:465</li>
  271. </ul>
  272. </aside>
  273. <div class="tsd-comment tsd-typography">
  274. <dl class="tsd-comment-tags">
  275. <dt>deprecated</dt>
  276. <dd><p><a href="https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs">https://reactjs.org/docs/refs-and-the-dom.html#legacy-api-string-refs</a></p>
  277. </dd>
  278. </dl>
  279. </div>
  280. <div class="tsd-type-declaration">
  281. <h4>Type declaration</h4>
  282. <ul class="tsd-parameters">
  283. <li class="tsd-parameter-index-signature">
  284. <h5><span class="tsd-signature-symbol">[</span>key: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">]: </span><span class="tsd-signature-type">ReactInstance</span></h5>
  285. </li>
  286. </ul>
  287. </div>
  288. </section>
  289. <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
  290. <a name="state" class="tsd-anchor"></a>
  291. <h3>state</h3>
  292. <div class="tsd-signature tsd-kind-icon">state<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span></div>
  293. <aside class="tsd-sources">
  294. <p>Inherited from Component.state</p>
  295. <ul>
  296. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:460</li>
  297. </ul>
  298. </aside>
  299. </section>
  300. <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
  301. <a name="contexttype" class="tsd-anchor"></a>
  302. <h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-flagOptional">Optional</span> context<wbr>Type</h3>
  303. <div class="tsd-signature tsd-kind-icon">context<wbr>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Context</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">&gt;</span></div>
  304. <aside class="tsd-sources">
  305. <p>Inherited from Component.contextType</p>
  306. <ul>
  307. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:419</li>
  308. </ul>
  309. </aside>
  310. <div class="tsd-comment tsd-typography">
  311. <div class="lead">
  312. <p>If set, <code>this.context</code> will be set at runtime to the current value of the given Context.</p>
  313. </div>
  314. <p>Usage:</p>
  315. <pre><code class="language-ts">type MyContext = number
  316. const Ctx = React.createContext&lt;MyContext&gt;(0)
  317. class Foo extends React.Component {
  318. static contextType = Ctx
  319. context!: React.ContextType&lt;typeof Ctx&gt;
  320. render () {
  321. return &lt;&gt;My context's value: {this.context}&lt;/&gt;;
  322. }
  323. }</code></pre>
  324. <dl class="tsd-comment-tags">
  325. <dt>see</dt>
  326. <dd><p><a href="https://reactjs.org/docs/context.html#classcontexttype">https://reactjs.org/docs/context.html#classcontexttype</a></p>
  327. </dd>
  328. </dl>
  329. </div>
  330. </section>
  331. </section>
  332. <section class="tsd-panel-group tsd-member-group ">
  333. <h2>Methods</h2>
  334. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  335. <a name="unsafe_componentwillmount" class="tsd-anchor"></a>
  336. <h3><span class="tsd-flag ts-flagOptional">Optional</span> UNSAFE_<wbr>component<wbr>Will<wbr>Mount</h3>
  337. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  338. <li class="tsd-signature tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Mount<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></li>
  339. </ul>
  340. <ul class="tsd-descriptions">
  341. <li class="tsd-description">
  342. <aside class="tsd-sources">
  343. <p>Inherited from DeprecatedLifecycle.UNSAFE_componentWillMount</p>
  344. <ul>
  345. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:647</li>
  346. </ul>
  347. </aside>
  348. <div class="tsd-comment tsd-typography">
  349. <div class="lead">
  350. <p>Called immediately before mounting occurs, and before <code>Component#render</code>.
  351. Avoid introducing any side-effects or subscriptions in this method.</p>
  352. </div>
  353. <p>This method will not stop working in React 17.</p>
  354. <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
  355. prevents this from being invoked.</p>
  356. <dl class="tsd-comment-tags">
  357. <dt>deprecated</dt>
  358. <dd><p>16.3, use componentDidMount or the constructor instead</p>
  359. </dd>
  360. <dt>see</dt>
  361. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state</a></p>
  362. </dd>
  363. <dt>see</dt>
  364. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
  365. </dd>
  366. </dl>
  367. </div>
  368. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  369. </li>
  370. </ul>
  371. </section>
  372. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  373. <a name="unsafe_componentwillreceiveprops" class="tsd-anchor"></a>
  374. <h3><span class="tsd-flag ts-flagOptional">Optional</span> UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props</h3>
  375. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  376. <li class="tsd-signature tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
  377. </ul>
  378. <ul class="tsd-descriptions">
  379. <li class="tsd-description">
  380. <aside class="tsd-sources">
  381. <p>Inherited from DeprecatedLifecycle.UNSAFE_componentWillReceiveProps</p>
  382. <ul>
  383. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:679</li>
  384. </ul>
  385. </aside>
  386. <div class="tsd-comment tsd-typography">
  387. <div class="lead">
  388. <p>Called when the component may be receiving new props.
  389. React may call this even if props have not changed, so be sure to compare new and existing
  390. props if you only want to handle changes.</p>
  391. </div>
  392. <p>Calling <code>Component#setState</code> generally does not trigger this method.</p>
  393. <p>This method will not stop working in React 17.</p>
  394. <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
  395. prevents this from being invoked.</p>
  396. <dl class="tsd-comment-tags">
  397. <dt>deprecated</dt>
  398. <dd><p>16.3, use static getDerivedStateFromProps instead</p>
  399. </dd>
  400. <dt>see</dt>
  401. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props</a></p>
  402. </dd>
  403. <dt>see</dt>
  404. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
  405. </dd>
  406. </dl>
  407. </div>
  408. <h4 class="tsd-parameters-title">Parameters</h4>
  409. <ul class="tsd-parameters">
  410. <li>
  411. <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span></h5>
  412. </li>
  413. <li>
  414. <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
  415. </li>
  416. </ul>
  417. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  418. </li>
  419. </ul>
  420. </section>
  421. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  422. <a name="unsafe_componentwillupdate" class="tsd-anchor"></a>
  423. <h3><span class="tsd-flag ts-flagOptional">Optional</span> UNSAFE_<wbr>component<wbr>Will<wbr>Update</h3>
  424. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  425. <li class="tsd-signature tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Update<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span>, nextState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
  426. </ul>
  427. <ul class="tsd-descriptions">
  428. <li class="tsd-description">
  429. <aside class="tsd-sources">
  430. <p>Inherited from DeprecatedLifecycle.UNSAFE_componentWillUpdate</p>
  431. <ul>
  432. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:707</li>
  433. </ul>
  434. </aside>
  435. <div class="tsd-comment tsd-typography">
  436. <div class="lead">
  437. <p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
  438. </div>
  439. <p>Note: You cannot call <code>Component#setState</code> here.</p>
  440. <p>This method will not stop working in React 17.</p>
  441. <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
  442. prevents this from being invoked.</p>
  443. <dl class="tsd-comment-tags">
  444. <dt>deprecated</dt>
  445. <dd><p>16.3, use getSnapshotBeforeUpdate instead</p>
  446. </dd>
  447. <dt>see</dt>
  448. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update</a></p>
  449. </dd>
  450. <dt>see</dt>
  451. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
  452. </dd>
  453. </dl>
  454. </div>
  455. <h4 class="tsd-parameters-title">Parameters</h4>
  456. <ul class="tsd-parameters">
  457. <li>
  458. <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span></h5>
  459. </li>
  460. <li>
  461. <h5>nextState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span></h5>
  462. </li>
  463. <li>
  464. <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
  465. </li>
  466. </ul>
  467. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  468. </li>
  469. </ul>
  470. </section>
  471. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  472. <a name="componentdidcatch" class="tsd-anchor"></a>
  473. <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Did<wbr>Catch</h3>
  474. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  475. <li class="tsd-signature tsd-kind-icon">component<wbr>Did<wbr>Catch<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span>, errorInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ErrorInfo</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
  476. </ul>
  477. <ul class="tsd-descriptions">
  478. <li class="tsd-description">
  479. <aside class="tsd-sources">
  480. <p>Inherited from ComponentLifecycle.componentDidCatch</p>
  481. <ul>
  482. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:576</li>
  483. </ul>
  484. </aside>
  485. <div class="tsd-comment tsd-typography">
  486. <div class="lead">
  487. <p>Catches exceptions generated in descendant components. Unhandled exceptions will cause
  488. the entire component tree to unmount.</p>
  489. </div>
  490. </div>
  491. <h4 class="tsd-parameters-title">Parameters</h4>
  492. <ul class="tsd-parameters">
  493. <li>
  494. <h5>error: <span class="tsd-signature-type">Error</span></h5>
  495. </li>
  496. <li>
  497. <h5>errorInfo: <span class="tsd-signature-type">ErrorInfo</span></h5>
  498. </li>
  499. </ul>
  500. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  501. </li>
  502. </ul>
  503. </section>
  504. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  505. <a name="componentdidmount" class="tsd-anchor"></a>
  506. <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Did<wbr>Mount</h3>
  507. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  508. <li class="tsd-signature tsd-kind-icon">component<wbr>Did<wbr>Mount<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></li>
  509. </ul>
  510. <ul class="tsd-descriptions">
  511. <li class="tsd-description">
  512. <aside class="tsd-sources">
  513. <p>Inherited from ComponentLifecycle.componentDidMount</p>
  514. <ul>
  515. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:555</li>
  516. </ul>
  517. </aside>
  518. <div class="tsd-comment tsd-typography">
  519. <div class="lead">
  520. <p>Called immediately after a component is mounted. Setting state here will trigger re-rendering.</p>
  521. </div>
  522. </div>
  523. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  524. </li>
  525. </ul>
  526. </section>
  527. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  528. <a name="componentdidupdate" class="tsd-anchor"></a>
  529. <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Did<wbr>Update</h3>
  530. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  531. <li class="tsd-signature tsd-kind-icon">component<wbr>Did<wbr>Update<span class="tsd-signature-symbol">(</span>prevProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span>, prevState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span>, snapshot<span class="tsd-signature-symbol">?: </span><a href="" class="tsd-signature-type">SS</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
  532. </ul>
  533. <ul class="tsd-descriptions">
  534. <li class="tsd-description">
  535. <aside class="tsd-sources">
  536. <p>Inherited from NewLifecycle.componentDidUpdate</p>
  537. <ul>
  538. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:618</li>
  539. </ul>
  540. </aside>
  541. <div class="tsd-comment tsd-typography">
  542. <div class="lead">
  543. <p>Called immediately after updating occurs. Not called for the initial render.</p>
  544. </div>
  545. <p>The snapshot is only present if getSnapshotBeforeUpdate is present and returns non-null.</p>
  546. </div>
  547. <h4 class="tsd-parameters-title">Parameters</h4>
  548. <ul class="tsd-parameters">
  549. <li>
  550. <h5>prevProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span></h5>
  551. </li>
  552. <li>
  553. <h5>prevState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span></h5>
  554. </li>
  555. <li>
  556. <h5><span class="tsd-flag ts-flagOptional">Optional</span> snapshot: <a href="" class="tsd-signature-type">SS</a></h5>
  557. </li>
  558. </ul>
  559. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  560. </li>
  561. </ul>
  562. </section>
  563. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  564. <a name="componentwillmount" class="tsd-anchor"></a>
  565. <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Mount</h3>
  566. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  567. <li class="tsd-signature tsd-kind-icon">component<wbr>Will<wbr>Mount<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></li>
  568. </ul>
  569. <ul class="tsd-descriptions">
  570. <li class="tsd-description">
  571. <aside class="tsd-sources">
  572. <p>Inherited from DeprecatedLifecycle.componentWillMount</p>
  573. <ul>
  574. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:633</li>
  575. </ul>
  576. </aside>
  577. <div class="tsd-comment tsd-typography">
  578. <div class="lead">
  579. <p>Called immediately before mounting occurs, and before <code>Component#render</code>.
  580. Avoid introducing any side-effects or subscriptions in this method.</p>
  581. </div>
  582. <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
  583. prevents this from being invoked.</p>
  584. <dl class="tsd-comment-tags">
  585. <dt>deprecated</dt>
  586. <dd><p>16.3, use componentDidMount or the constructor instead; will stop working in React 17</p>
  587. </dd>
  588. <dt>see</dt>
  589. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#initializing-state</a></p>
  590. </dd>
  591. <dt>see</dt>
  592. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
  593. </dd>
  594. </dl>
  595. </div>
  596. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  597. </li>
  598. </ul>
  599. </section>
  600. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  601. <a name="componentwillreceiveprops" class="tsd-anchor"></a>
  602. <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Receive<wbr>Props</h3>
  603. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  604. <li class="tsd-signature tsd-kind-icon">component<wbr>Will<wbr>Receive<wbr>Props<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
  605. </ul>
  606. <ul class="tsd-descriptions">
  607. <li class="tsd-description">
  608. <aside class="tsd-sources">
  609. <p>Inherited from DeprecatedLifecycle.componentWillReceiveProps</p>
  610. <ul>
  611. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:662</li>
  612. </ul>
  613. </aside>
  614. <div class="tsd-comment tsd-typography">
  615. <div class="lead">
  616. <p>Called when the component may be receiving new props.
  617. React may call this even if props have not changed, so be sure to compare new and existing
  618. props if you only want to handle changes.</p>
  619. </div>
  620. <p>Calling <code>Component#setState</code> generally does not trigger this method.</p>
  621. <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
  622. prevents this from being invoked.</p>
  623. <dl class="tsd-comment-tags">
  624. <dt>deprecated</dt>
  625. <dd><p>16.3, use static getDerivedStateFromProps instead; will stop working in React 17</p>
  626. </dd>
  627. <dt>see</dt>
  628. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#updating-state-based-on-props</a></p>
  629. </dd>
  630. <dt>see</dt>
  631. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
  632. </dd>
  633. </dl>
  634. </div>
  635. <h4 class="tsd-parameters-title">Parameters</h4>
  636. <ul class="tsd-parameters">
  637. <li>
  638. <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span></h5>
  639. </li>
  640. <li>
  641. <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
  642. </li>
  643. </ul>
  644. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  645. </li>
  646. </ul>
  647. </section>
  648. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  649. <a name="componentwillunmount" class="tsd-anchor"></a>
  650. <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Unmount</h3>
  651. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  652. <li class="tsd-signature tsd-kind-icon">component<wbr>Will<wbr>Unmount<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></li>
  653. </ul>
  654. <ul class="tsd-descriptions">
  655. <li class="tsd-description">
  656. <aside class="tsd-sources">
  657. <p>Inherited from ComponentLifecycle.componentWillUnmount</p>
  658. <ul>
  659. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:571</li>
  660. </ul>
  661. </aside>
  662. <div class="tsd-comment tsd-typography">
  663. <div class="lead">
  664. <p>Called immediately before a component is destroyed. Perform any necessary cleanup in this method, such as
  665. cancelled network requests, or cleaning up any DOM elements created in <code>componentDidMount</code>.</p>
  666. </div>
  667. </div>
  668. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  669. </li>
  670. </ul>
  671. </section>
  672. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  673. <a name="componentwillupdate" class="tsd-anchor"></a>
  674. <h3><span class="tsd-flag ts-flagOptional">Optional</span> component<wbr>Will<wbr>Update</h3>
  675. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  676. <li class="tsd-signature tsd-kind-icon">component<wbr>Will<wbr>Update<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span>, nextState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
  677. </ul>
  678. <ul class="tsd-descriptions">
  679. <li class="tsd-description">
  680. <aside class="tsd-sources">
  681. <p>Inherited from DeprecatedLifecycle.componentWillUpdate</p>
  682. <ul>
  683. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:692</li>
  684. </ul>
  685. </aside>
  686. <div class="tsd-comment tsd-typography">
  687. <div class="lead">
  688. <p>Called immediately before rendering when new props or state is received. Not called for the initial render.</p>
  689. </div>
  690. <p>Note: You cannot call <code>Component#setState</code> here.</p>
  691. <p>Note: the presence of getSnapshotBeforeUpdate or getDerivedStateFromProps
  692. prevents this from being invoked.</p>
  693. <dl class="tsd-comment-tags">
  694. <dt>deprecated</dt>
  695. <dd><p>16.3, use getSnapshotBeforeUpdate instead; will stop working in React 17</p>
  696. </dd>
  697. <dt>see</dt>
  698. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#reading-dom-properties-before-an-update</a></p>
  699. </dd>
  700. <dt>see</dt>
  701. <dd><p><a href="https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path">https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html#gradual-migration-path</a></p>
  702. </dd>
  703. </dl>
  704. </div>
  705. <h4 class="tsd-parameters-title">Parameters</h4>
  706. <ul class="tsd-parameters">
  707. <li>
  708. <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span></h5>
  709. </li>
  710. <li>
  711. <h5>nextState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span></h5>
  712. </li>
  713. <li>
  714. <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
  715. </li>
  716. </ul>
  717. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  718. </li>
  719. </ul>
  720. </section>
  721. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  722. <a name="forceupdate" class="tsd-anchor"></a>
  723. <h3>force<wbr>Update</h3>
  724. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  725. <li class="tsd-signature tsd-kind-icon">force<wbr>Update<span class="tsd-signature-symbol">(</span>callBack<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
  726. </ul>
  727. <ul class="tsd-descriptions">
  728. <li class="tsd-description">
  729. <aside class="tsd-sources">
  730. <p>Inherited from Component.forceUpdate</p>
  731. <ul>
  732. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:451</li>
  733. </ul>
  734. </aside>
  735. <h4 class="tsd-parameters-title">Parameters</h4>
  736. <ul class="tsd-parameters">
  737. <li>
  738. <h5><span class="tsd-flag ts-flagOptional">Optional</span> callBack: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">function</span></h5>
  739. </li>
  740. </ul>
  741. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  742. </li>
  743. </ul>
  744. </section>
  745. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-private">
  746. <a name="gethtmlprops" class="tsd-anchor"></a>
  747. <h3><span class="tsd-flag ts-flagPrivate">Private</span> getHTMLProps</h3>
  748. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-private">
  749. <li class="tsd-signature tsd-kind-icon">getHTMLProps<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a></li>
  750. </ul>
  751. <ul class="tsd-descriptions">
  752. <li class="tsd-description">
  753. <aside class="tsd-sources">
  754. <ul>
  755. <li>Defined in <a href="https://github.com/syanbo/react-native-agora/blob/f8359f2/src/AgoraView.native.tsx#L48">AgoraView.native.tsx:48</a></li>
  756. </ul>
  757. </aside>
  758. <div class="tsd-comment tsd-typography">
  759. <div class="lead">
  760. <p>getHTMLProps</p>
  761. </div>
  762. <p>get agora view props</p>
  763. </div>
  764. <h4 class="tsd-returns-title">Returns <a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a></h4>
  765. </li>
  766. </ul>
  767. </section>
  768. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  769. <a name="getsnapshotbeforeupdate" class="tsd-anchor"></a>
  770. <h3><span class="tsd-flag ts-flagOptional">Optional</span> get<wbr>Snapshot<wbr>Before<wbr>Update</h3>
  771. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  772. <li class="tsd-signature tsd-kind-icon">get<wbr>Snapshot<wbr>Before<wbr>Update<span class="tsd-signature-symbol">(</span>prevProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span>, prevState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">SS</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span></li>
  773. </ul>
  774. <ul class="tsd-descriptions">
  775. <li class="tsd-description">
  776. <aside class="tsd-sources">
  777. <p>Inherited from NewLifecycle.getSnapshotBeforeUpdate</p>
  778. <ul>
  779. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:612</li>
  780. </ul>
  781. </aside>
  782. <div class="tsd-comment tsd-typography">
  783. <div class="lead">
  784. <p>Runs before React applies the result of <code>render</code> to the document, and
  785. returns an object to be given to componentDidUpdate. Useful for saving
  786. things such as scroll position before <code>render</code> causes changes to it.</p>
  787. </div>
  788. <p>Note: the presence of getSnapshotBeforeUpdate prevents any of the deprecated
  789. lifecycle events from running.</p>
  790. </div>
  791. <h4 class="tsd-parameters-title">Parameters</h4>
  792. <ul class="tsd-parameters">
  793. <li>
  794. <h5>prevProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span></h5>
  795. </li>
  796. <li>
  797. <h5>prevState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span></h5>
  798. </li>
  799. </ul>
  800. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">SS</span>
  801. <span class="tsd-signature-symbol"> | </span>
  802. <span class="tsd-signature-type">null</span>
  803. </h4>
  804. </li>
  805. </ul>
  806. </section>
  807. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
  808. <a name="render" class="tsd-anchor"></a>
  809. <h3>render</h3>
  810. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
  811. <li class="tsd-signature tsd-kind-icon">render<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Element</span></li>
  812. </ul>
  813. <ul class="tsd-descriptions">
  814. <li class="tsd-description">
  815. <aside class="tsd-sources">
  816. <p>Overrides Component.render</p>
  817. <ul>
  818. <li>Defined in <a href="https://github.com/syanbo/react-native-agora/blob/f8359f2/src/AgoraView.native.tsx#L37">AgoraView.native.tsx:37</a></li>
  819. </ul>
  820. </aside>
  821. <div class="tsd-comment tsd-typography">
  822. <div class="lead">
  823. <p>render</p>
  824. </div>
  825. <p>It would render view for VideoStream</p>
  826. </div>
  827. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Element</span></h4>
  828. </li>
  829. </ul>
  830. </section>
  831. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
  832. <a name="setstate" class="tsd-anchor"></a>
  833. <h3>set<wbr>State</h3>
  834. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
  835. <li class="tsd-signature tsd-kind-icon">set<wbr>State&lt;K&gt;<span class="tsd-signature-symbol">(</span>state<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">object</span>, callback<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">function</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
  836. </ul>
  837. <ul class="tsd-descriptions">
  838. <li class="tsd-description">
  839. <aside class="tsd-sources">
  840. <p>Inherited from Component.setState</p>
  841. <ul>
  842. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:446</li>
  843. </ul>
  844. </aside>
  845. <h4 class="tsd-type-parameters-title">Type parameters</h4>
  846. <ul class="tsd-type-parameters">
  847. <li>
  848. <h4>K<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">keyof S</span></h4>
  849. </li>
  850. </ul>
  851. <h4 class="tsd-parameters-title">Parameters</h4>
  852. <ul class="tsd-parameters">
  853. <li>
  854. <h5>state: <span class="tsd-signature-type">function</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">object</span></h5>
  855. </li>
  856. <li>
  857. <h5><span class="tsd-flag ts-flagOptional">Optional</span> callback: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">function</span></h5>
  858. </li>
  859. </ul>
  860. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
  861. </li>
  862. </ul>
  863. </section>
  864. <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  865. <a name="shouldcomponentupdate" class="tsd-anchor"></a>
  866. <h3><span class="tsd-flag ts-flagOptional">Optional</span> should<wbr>Component<wbr>Update</h3>
  867. <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  868. <li class="tsd-signature tsd-kind-icon">should<wbr>Component<wbr>Update<span class="tsd-signature-symbol">(</span>nextProps<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span>, nextState<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span>, nextContext<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
  869. </ul>
  870. <ul class="tsd-descriptions">
  871. <li class="tsd-description">
  872. <aside class="tsd-sources">
  873. <p>Inherited from ComponentLifecycle.shouldComponentUpdate</p>
  874. <ul>
  875. <li>Defined in /Users/ly/Project/react-agora/node_modules/@types/react/index.d.ts:566</li>
  876. </ul>
  877. </aside>
  878. <div class="tsd-comment tsd-typography">
  879. <div class="lead">
  880. <p>Called to determine whether the change in props and state should trigger a re-render.</p>
  881. </div>
  882. <p><code>Component</code> always returns true.
  883. <code>PureComponent</code> implements a shallow comparison on props and state and returns true if any
  884. props or states have changed.</p>
  885. <p>If false is returned, <code>Component#render</code>, <code>componentWillUpdate</code>
  886. and <code>componentDidUpdate</code> will not be called.</p>
  887. </div>
  888. <h4 class="tsd-parameters-title">Parameters</h4>
  889. <ul class="tsd-parameters">
  890. <li>
  891. <h5>nextProps: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><a href="../interfaces/agoraviewprops.html" class="tsd-signature-type">AgoraViewProps</a><span class="tsd-signature-symbol">&gt;</span></h5>
  892. </li>
  893. <li>
  894. <h5>nextState: <span class="tsd-signature-type">Readonly</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">S</span><span class="tsd-signature-symbol">&gt;</span></h5>
  895. </li>
  896. <li>
  897. <h5>nextContext: <span class="tsd-signature-type">any</span></h5>
  898. </li>
  899. </ul>
  900. <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
  901. </li>
  902. </ul>
  903. </section>
  904. </section>
  905. </div>
  906. <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
  907. <nav class="tsd-navigation primary">
  908. <ul>
  909. <li class="globals ">
  910. <a href="../globals.html"><em>Globals</em></a>
  911. </li>
  912. </ul>
  913. </nav>
  914. <nav class="tsd-navigation secondary menu-sticky">
  915. <ul class="before-current">
  916. </ul>
  917. <ul class="current">
  918. <li class="current tsd-kind-class tsd-has-type-parameter">
  919. <a href="agoraview.html" class="tsd-kind-icon">Agora<wbr>View</a>
  920. <ul>
  921. <li class=" tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited">
  922. <a href="agoraview.html#constructor" class="tsd-kind-icon">constructor</a>
  923. </li>
  924. <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
  925. <a href="agoraview.html#context" class="tsd-kind-icon">context</a>
  926. </li>
  927. <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
  928. <a href="agoraview.html#props" class="tsd-kind-icon">props</a>
  929. </li>
  930. <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
  931. <a href="agoraview.html#refs" class="tsd-kind-icon">refs</a>
  932. </li>
  933. <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited">
  934. <a href="agoraview.html#state" class="tsd-kind-icon">state</a>
  935. </li>
  936. <li class=" tsd-kind-property tsd-parent-kind-class tsd-is-inherited tsd-is-static">
  937. <a href="agoraview.html#contexttype" class="tsd-kind-icon">context<wbr>Type</a>
  938. </li>
  939. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  940. <a href="agoraview.html#unsafe_componentwillmount" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Mount</a>
  941. </li>
  942. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  943. <a href="agoraview.html#unsafe_componentwillreceiveprops" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Receive<wbr>Props</a>
  944. </li>
  945. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  946. <a href="agoraview.html#unsafe_componentwillupdate" class="tsd-kind-icon">UNSAFE_<wbr>component<wbr>Will<wbr>Update</a>
  947. </li>
  948. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  949. <a href="agoraview.html#componentdidcatch" class="tsd-kind-icon">component<wbr>Did<wbr>Catch</a>
  950. </li>
  951. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  952. <a href="agoraview.html#componentdidmount" class="tsd-kind-icon">component<wbr>Did<wbr>Mount</a>
  953. </li>
  954. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  955. <a href="agoraview.html#componentdidupdate" class="tsd-kind-icon">component<wbr>Did<wbr>Update</a>
  956. </li>
  957. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  958. <a href="agoraview.html#componentwillmount" class="tsd-kind-icon">component<wbr>Will<wbr>Mount</a>
  959. </li>
  960. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  961. <a href="agoraview.html#componentwillreceiveprops" class="tsd-kind-icon">component<wbr>Will<wbr>Receive<wbr>Props</a>
  962. </li>
  963. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  964. <a href="agoraview.html#componentwillunmount" class="tsd-kind-icon">component<wbr>Will<wbr>Unmount</a>
  965. </li>
  966. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  967. <a href="agoraview.html#componentwillupdate" class="tsd-kind-icon">component<wbr>Will<wbr>Update</a>
  968. </li>
  969. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  970. <a href="agoraview.html#forceupdate" class="tsd-kind-icon">force<wbr>Update</a>
  971. </li>
  972. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-private">
  973. <a href="agoraview.html#gethtmlprops" class="tsd-kind-icon">getHTMLProps</a>
  974. </li>
  975. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  976. <a href="agoraview.html#getsnapshotbeforeupdate" class="tsd-kind-icon">get<wbr>Snapshot<wbr>Before<wbr>Update</a>
  977. </li>
  978. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-overwrite">
  979. <a href="agoraview.html#render" class="tsd-kind-icon">render</a>
  980. </li>
  981. <li class=" tsd-kind-method tsd-parent-kind-class tsd-has-type-parameter tsd-is-inherited">
  982. <a href="agoraview.html#setstate" class="tsd-kind-icon">set<wbr>State</a>
  983. </li>
  984. <li class=" tsd-kind-method tsd-parent-kind-class tsd-is-inherited">
  985. <a href="agoraview.html#shouldcomponentupdate" class="tsd-kind-icon">should<wbr>Component<wbr>Update</a>
  986. </li>
  987. </ul>
  988. </li>
  989. </ul>
  990. <ul class="after-current">
  991. <li class=" tsd-kind-class">
  992. <a href="rtcengine.html" class="tsd-kind-icon">Rtc<wbr>Engine</a>
  993. </li>
  994. <li class=" tsd-kind-interface">
  995. <a href="../interfaces/agoraviewprops.html" class="tsd-kind-icon">Agora<wbr>View<wbr>Props</a>
  996. </li>
  997. <li class=" tsd-kind-interface">
  998. <a href="../interfaces/audioframeoption.html" class="tsd-kind-icon">Audio<wbr>Frame<wbr>Option</a>
  999. </li>
  1000. <li class=" tsd-kind-interface">
  1001. <a href="../interfaces/audiomixingoption.html" class="tsd-kind-icon">Audio<wbr>Mixing<wbr>Option</a>
  1002. </li>
  1003. <li class=" tsd-kind-interface">
  1004. <a href="../interfaces/audiorecordingoption.html" class="tsd-kind-icon">Audio<wbr>Recording<wbr>Option</a>
  1005. </li>
  1006. <li class=" tsd-kind-interface">
  1007. <a href="../interfaces/backgroundimage.html" class="tsd-kind-icon">Background<wbr>Image</a>
  1008. </li>
  1009. <li class=" tsd-kind-interface">
  1010. <a href="../interfaces/beautyoption.html" class="tsd-kind-icon">Beauty<wbr>Option</a>
  1011. </li>
  1012. <li class=" tsd-kind-interface">
  1013. <a href="../interfaces/cameracapturerconfiguration.html" class="tsd-kind-icon">Camera<wbr>Capturer<wbr>Configuration</a>
  1014. </li>
  1015. <li class=" tsd-kind-interface">
  1016. <a href="../interfaces/color.html" class="tsd-kind-icon">Color</a>
  1017. </li>
  1018. <li class=" tsd-kind-interface">
  1019. <a href="../interfaces/datastreamoption.html" class="tsd-kind-icon">Data<wbr>Stream<wbr>Option</a>
  1020. </li>
  1021. <li class=" tsd-kind-interface">
  1022. <a href="../interfaces/defaultvideostreamoption.html" class="tsd-kind-icon">Default<wbr>Video<wbr>Stream<wbr>Option</a>
  1023. </li>
  1024. <li class=" tsd-kind-interface">
  1025. <a href="../interfaces/imageoption.html" class="tsd-kind-icon">Image<wbr>Option</a>
  1026. </li>
  1027. <li class=" tsd-kind-interface">
  1028. <a href="../interfaces/injectstreamoption.html" class="tsd-kind-icon">Inject<wbr>Stream<wbr>Option</a>
  1029. </li>
  1030. <li class=" tsd-kind-interface">
  1031. <a href="../interfaces/lastmileprobeconfig.html" class="tsd-kind-icon">Lastmile<wbr>Probe<wbr>Config</a>
  1032. </li>
  1033. <li class=" tsd-kind-interface">
  1034. <a href="../interfaces/livetranscodingoption.html" class="tsd-kind-icon">Live<wbr>Transcoding<wbr>Option</a>
  1035. </li>
  1036. <li class=" tsd-kind-interface">
  1037. <a href="../interfaces/mixedaudioframeoption.html" class="tsd-kind-icon">Mixed<wbr>Audio<wbr>Frame<wbr>Option</a>
  1038. </li>
  1039. <li class=" tsd-kind-interface">
  1040. <a href="../interfaces/option.html" class="tsd-kind-icon">Option</a>
  1041. </li>
  1042. <li class=" tsd-kind-interface">
  1043. <a href="../interfaces/playeffectoption.html" class="tsd-kind-icon">Play<wbr>Effect<wbr>Option</a>
  1044. </li>
  1045. <li class=" tsd-kind-interface">
  1046. <a href="../interfaces/positionoption.html" class="tsd-kind-icon">Position<wbr>Option</a>
  1047. </li>
  1048. <li class=" tsd-kind-interface">
  1049. <a href="../interfaces/publishstreamoption.html" class="tsd-kind-icon">Publish<wbr>Stream<wbr>Option</a>
  1050. </li>
  1051. <li class=" tsd-kind-interface">
  1052. <a href="../interfaces/publisherconfig.html" class="tsd-kind-icon">Publisher<wbr>Config</a>
  1053. </li>
  1054. <li class=" tsd-kind-interface">
  1055. <a href="../interfaces/rect.html" class="tsd-kind-icon">Rect</a>
  1056. </li>
  1057. <li class=" tsd-kind-interface">
  1058. <a href="../interfaces/removeinjectstreamoption.html" class="tsd-kind-icon">Remove<wbr>Inject<wbr>Stream<wbr>Option</a>
  1059. </li>
  1060. <li class=" tsd-kind-interface">
  1061. <a href="../interfaces/removepublishstreamoption.html" class="tsd-kind-icon">Remove<wbr>Publish<wbr>Stream<wbr>Option</a>
  1062. </li>
  1063. <li class=" tsd-kind-interface">
  1064. <a href="../interfaces/size.html" class="tsd-kind-icon">Size</a>
  1065. </li>
  1066. <li class=" tsd-kind-interface">
  1067. <a href="../interfaces/transcodinguser.html" class="tsd-kind-icon">Transcoding<wbr>User</a>
  1068. </li>
  1069. <li class=" tsd-kind-interface">
  1070. <a href="../interfaces/videoencoderconfig.html" class="tsd-kind-icon">Video<wbr>Encoder<wbr>Config</a>
  1071. </li>
  1072. <li class=" tsd-kind-interface">
  1073. <a href="../interfaces/videooption.html" class="tsd-kind-icon">Video<wbr>Option</a>
  1074. </li>
  1075. <li class=" tsd-kind-interface">
  1076. <a href="../interfaces/videostreamoption.html" class="tsd-kind-icon">Video<wbr>Stream<wbr>Option</a>
  1077. </li>
  1078. <li class=" tsd-kind-interface">
  1079. <a href="../interfaces/voicedecorator.html" class="tsd-kind-icon">Voice<wbr>Decorator</a>
  1080. </li>
  1081. <li class=" tsd-kind-type-alias tsd-has-type-parameter">
  1082. <a href="../globals.html#callback" class="tsd-kind-icon">Callback</a>
  1083. </li>
  1084. <li class=" tsd-kind-type-alias tsd-has-type-parameter">
  1085. <a href="../globals.html#nullable" class="tsd-kind-icon">Nullable</a>
  1086. </li>
  1087. <li class=" tsd-kind-type-alias">
  1088. <a href="../globals.html#number" class="tsd-kind-icon">Number</a>
  1089. </li>
  1090. <li class=" tsd-kind-type-alias">
  1091. <a href="../globals.html#string" class="tsd-kind-icon">String</a>
  1092. </li>
  1093. <li class=" tsd-kind-variable tsd-is-not-exported">
  1094. <a href="../globals.html#agora" class="tsd-kind-icon">Agora</a>
  1095. </li>
  1096. <li class=" tsd-kind-variable tsd-is-not-exported">
  1097. <a href="../globals.html#agoraeventemitter" class="tsd-kind-icon">Agora<wbr>Event<wbr>Emitter</a>
  1098. </li>
  1099. <li class=" tsd-kind-variable tsd-is-not-exported">
  1100. <a href="../globals.html#rctagoraview" class="tsd-kind-icon">RCTAgora<wbr>View</a>
  1101. </li>
  1102. </ul>
  1103. </nav>
  1104. </div>
  1105. </div>
  1106. </div>
  1107. <footer class="with-border-bottom">
  1108. <div class="container">
  1109. <h2>Legend</h2>
  1110. <div class="tsd-legend-group">
  1111. <ul class="tsd-legend">
  1112. <li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
  1113. <li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
  1114. <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
  1115. <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
  1116. <li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
  1117. <li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
  1118. <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
  1119. </ul>
  1120. <ul class="tsd-legend">
  1121. <li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
  1122. <li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
  1123. <li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
  1124. <li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
  1125. </ul>
  1126. <ul class="tsd-legend">
  1127. <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
  1128. <li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
  1129. <li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
  1130. <li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
  1131. <li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
  1132. <li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
  1133. </ul>
  1134. <ul class="tsd-legend">
  1135. <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
  1136. <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
  1137. <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
  1138. <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
  1139. <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
  1140. <li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
  1141. <li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
  1142. </ul>
  1143. <ul class="tsd-legend">
  1144. <li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
  1145. <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
  1146. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
  1147. <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
  1148. </ul>
  1149. <ul class="tsd-legend">
  1150. <li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
  1151. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
  1152. <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
  1153. </ul>
  1154. <ul class="tsd-legend">
  1155. <li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
  1156. <li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
  1157. <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
  1158. </ul>
  1159. <ul class="tsd-legend">
  1160. <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
  1161. <li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
  1162. </ul>
  1163. </div>
  1164. </div>
  1165. </footer>
  1166. <div class="container tsd-generator">
  1167. <p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
  1168. </div>
  1169. <div class="overlay"></div>
  1170. <script src="../assets/js/main.js"></script>
  1171. <script>if (location.protocol == 'file:') document.write('<script src="../assets/js/search.js"><' + '/script>');</script>
  1172. </body>
  1173. </html>