123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311 |
- <!doctype html>
- <html class="default no-js">
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title>react-native-agora</title>
- <meta name="description" content="">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="assets/css/main.css">
- </head>
- <body>
- <header>
- <div class="tsd-page-toolbar">
- <div class="container">
- <div class="table-wrap">
- <div class="table-cell" id="tsd-search" data-index="assets/js/search.js" data-base=".">
- <div class="field">
- <label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
- <input id="tsd-search-field" type="text" />
- </div>
- <ul class="results">
- <li class="state loading">Preparing search index...</li>
- <li class="state failure">The search index is not available</li>
- </ul>
- <a href="index.html" class="title">react-native-agora</a>
- </div>
- <div class="table-cell" id="tsd-widgets">
- <div id="tsd-filter">
- <a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
- <div class="tsd-filter-group">
- <div class="tsd-select" id="tsd-filter-visibility">
- <span class="tsd-select-label">All</span>
- <ul class="tsd-select-list">
- <li data-value="public">Public</li>
- <li data-value="protected">Public/Protected</li>
- <li data-value="private" class="selected">All</li>
- </ul>
- </div>
- <input type="checkbox" id="tsd-filter-inherited" checked />
- <label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
- <input type="checkbox" id="tsd-filter-externals" checked />
- <label class="tsd-widget" for="tsd-filter-externals">Externals</label>
- <input type="checkbox" id="tsd-filter-only-exported" />
- <label class="tsd-widget" for="tsd-filter-only-exported">Only exported</label>
- </div>
- </div>
- <a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
- </div>
- </div>
- </div>
- </div>
- <div class="tsd-page-title">
- <div class="container">
- <ul class="tsd-breadcrumb">
- <li>
- <a href="globals.html">Globals</a>
- </li>
- </ul>
- <h1> react-native-agora</h1>
- </div>
- </div>
- </header>
- <div class="container container-main">
- <div class="row">
- <div class="col-8 col-content">
- <div class="tsd-panel tsd-typography">
- <h5 id="-qq-471757030">有任何问题欢迎加入QQ群进行反馈 471757030</h5>
- <h2 id="for-1-x-old-version"><a href="README.old.md">for 1.x old version</a></h2>
- <h1 id="react-native-agora">react-native-agora</h1>
- <p><a href="https://www.npmjs.com/package/react-native-agora"><img src="https://img.shields.io/npm/v/react-native-agora.svg" alt="npm"></a>
- <a href="https://www.npmjs.com/package/react-native-agora"><img src="https://img.shields.io/npm/dm/react-native-agora.svg" alt="npm"></a>
- <a href="https://www.npmjs.com/package/react-native-agora"><img src="https://img.shields.io/npm/dt/react-native-agora.svg" alt="npm"></a>
- <a href="https://github.com/syanbo/react-native-agora/blob/master/LICENSE"><img src="https://img.shields.io/npm/l/react-native-agora.svg" alt="npm"></a>
- <a href="https://gitter.im/react-native-agora/community"><img src="https://img.shields.io/badge/gitter-join%20chat-brightgreen.svg" alt="join chat"></a></p>
- <h2 id="description">Description</h2>
- <p>The react-native-agora is an open-source wrapper for react-native developers. This SDK takes advantage of React Native and Agora RTC Video SDKs on Android/iOS.</p>
- <h2 id="compatibility">Compatibility</h2>
- <ul>
- <li><blockquote>
- <p>= react native 0.55.x</p>
- </blockquote>
- </li>
- <li>iOS SDK 8.0+</li>
- <li>Android 5.0+ x86 arm64 armv7a</li>
- </ul>
- <h2 id="quick-start"><a href="https://github.com/AgoraIO-Community/Agora-RN-Quickstart">quick start</a></h2>
- <h2 id="installation">Installation</h2>
- <p>Install with npm:</p>
- <p> <code>npm install --save react-native-agora</code></p>
- <p>Or, install with yarn:</p>
- <p> <code>yarn add react-native-agora</code></p>
- <p>Either way, then link with:</p>
- <p> <code>react-native link react-native-agora</code></p>
- <h3 id="ios-installation">iOS Installation</h3>
- <p> <a href="docs/IOS_INSTALLATION.zh.md">中文</a>
- <a href="docs/IOS_INSTALLATION.md">English</a></p>
- <h3 id="android-installation">Android Installation</h3>
- <p> <a href="docs/ANDROID_INSTALLATION.zh.md">中文</a>
- <a href="docs/ANDROID_INSTALLATION.md">English</a></p>
- <h2 id="agora-native-api-documentation">Agora Native API Documentation</h2>
- <h3 id="android">Android</h3>
- <p> <a href="https://docs.agora.io/cn/Video/API%20Reference/java/index.html">中文</a>
- <a href="https://docs.agora.io/en/Video/API%20Reference/java/index.html">English</a></p>
- <h2 id="ios">iOS</h2>
- <p> <a href="https://docs.agora.io/cn/Video/API%20Reference/oc/docs/headers/Agora-Objective-C-API-Overview.html">中文</a>
- <a href="https://docs.agora.io/en/Video/API%20Reference/oc/docs/headers/Agora-Objective-C-API-Overview.html">English</a></p>
- <h2 id="api-docs"><a href="https://syanbo.github.io/react-native-agora/globals.html">API DOCS</a></h2>
- <h2 id="resources">Resources</h2>
- <ul>
- <li>Complete <a href="https://docs.agora.io/en/">API documentation</a> at the Developer Center</li>
- <li><a href="https://github.com/syanbo/react-native-agora/issues">File bugs about this sample</a></li>
- <li><a href="https://facebook.github.io/react-native/docs/getting-started.html">React Native Getting Started</a></li>
- </ul>
- </div>
- </div>
- <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
- <nav class="tsd-navigation primary">
- <ul>
- <li class="globals ">
- <a href="globals.html"><em>Globals</em></a>
- </li>
- </ul>
- </nav>
- <nav class="tsd-navigation secondary menu-sticky">
- <ul class="before-current">
- <li class=" tsd-kind-class tsd-has-type-parameter">
- <a href="classes/agoraview.html" class="tsd-kind-icon">Agora<wbr>View</a>
- </li>
- <li class=" tsd-kind-class">
- <a href="classes/rtcengine.html" class="tsd-kind-icon">Rtc<wbr>Engine</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/agoraviewprops.html" class="tsd-kind-icon">Agora<wbr>View<wbr>Props</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/audioframeoption.html" class="tsd-kind-icon">Audio<wbr>Frame<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/audiomixingoption.html" class="tsd-kind-icon">Audio<wbr>Mixing<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/audiorecordingoption.html" class="tsd-kind-icon">Audio<wbr>Recording<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/backgroundimage.html" class="tsd-kind-icon">Background<wbr>Image</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/beautyoption.html" class="tsd-kind-icon">Beauty<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/cameracapturerconfiguration.html" class="tsd-kind-icon">Camera<wbr>Capturer<wbr>Configuration</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/color.html" class="tsd-kind-icon">Color</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/datastreamoption.html" class="tsd-kind-icon">Data<wbr>Stream<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/defaultvideostreamoption.html" class="tsd-kind-icon">Default<wbr>Video<wbr>Stream<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/imageoption.html" class="tsd-kind-icon">Image<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/injectstreamoption.html" class="tsd-kind-icon">Inject<wbr>Stream<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/lastmileprobeconfig.html" class="tsd-kind-icon">Lastmile<wbr>Probe<wbr>Config</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/livetranscodingoption.html" class="tsd-kind-icon">Live<wbr>Transcoding<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/mixedaudioframeoption.html" class="tsd-kind-icon">Mixed<wbr>Audio<wbr>Frame<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/option.html" class="tsd-kind-icon">Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/playeffectoption.html" class="tsd-kind-icon">Play<wbr>Effect<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/positionoption.html" class="tsd-kind-icon">Position<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/publishstreamoption.html" class="tsd-kind-icon">Publish<wbr>Stream<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/publisherconfig.html" class="tsd-kind-icon">Publisher<wbr>Config</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/rect.html" class="tsd-kind-icon">Rect</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/removeinjectstreamoption.html" class="tsd-kind-icon">Remove<wbr>Inject<wbr>Stream<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/removepublishstreamoption.html" class="tsd-kind-icon">Remove<wbr>Publish<wbr>Stream<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/size.html" class="tsd-kind-icon">Size</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/transcodinguser.html" class="tsd-kind-icon">Transcoding<wbr>User</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/videoencoderconfig.html" class="tsd-kind-icon">Video<wbr>Encoder<wbr>Config</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/videooption.html" class="tsd-kind-icon">Video<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/videostreamoption.html" class="tsd-kind-icon">Video<wbr>Stream<wbr>Option</a>
- </li>
- <li class=" tsd-kind-interface">
- <a href="interfaces/voicedecorator.html" class="tsd-kind-icon">Voice<wbr>Decorator</a>
- </li>
- <li class=" tsd-kind-type-alias tsd-has-type-parameter">
- <a href="globals.html#callback" class="tsd-kind-icon">Callback</a>
- </li>
- <li class=" tsd-kind-type-alias tsd-has-type-parameter">
- <a href="globals.html#nullable" class="tsd-kind-icon">Nullable</a>
- </li>
- <li class=" tsd-kind-type-alias">
- <a href="globals.html#number" class="tsd-kind-icon">Number</a>
- </li>
- <li class=" tsd-kind-type-alias">
- <a href="globals.html#string" class="tsd-kind-icon">String</a>
- </li>
- <li class=" tsd-kind-variable tsd-is-not-exported">
- <a href="globals.html#agora" class="tsd-kind-icon">Agora</a>
- </li>
- <li class=" tsd-kind-variable tsd-is-not-exported">
- <a href="globals.html#agoraeventemitter" class="tsd-kind-icon">Agora<wbr>Event<wbr>Emitter</a>
- </li>
- <li class=" tsd-kind-variable tsd-is-not-exported">
- <a href="globals.html#rctagoraview" class="tsd-kind-icon">RCTAgora<wbr>View</a>
- </li>
- </ul>
- </nav>
- </div>
- </div>
- </div>
- <footer class="with-border-bottom">
- <div class="container">
- <h2>Legend</h2>
- <div class="tsd-legend-group">
- <ul class="tsd-legend">
- <li class="tsd-kind-module"><span class="tsd-kind-icon">Module</span></li>
- <li class="tsd-kind-object-literal"><span class="tsd-kind-icon">Object literal</span></li>
- <li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
- <li class="tsd-kind-function"><span class="tsd-kind-icon">Function</span></li>
- <li class="tsd-kind-function tsd-has-type-parameter"><span class="tsd-kind-icon">Function with type parameter</span></li>
- <li class="tsd-kind-index-signature"><span class="tsd-kind-icon">Index signature</span></li>
- <li class="tsd-kind-type-alias"><span class="tsd-kind-icon">Type alias</span></li>
- </ul>
- <ul class="tsd-legend">
- <li class="tsd-kind-enum"><span class="tsd-kind-icon">Enumeration</span></li>
- <li class="tsd-kind-enum-member"><span class="tsd-kind-icon">Enumeration member</span></li>
- <li class="tsd-kind-property tsd-parent-kind-enum"><span class="tsd-kind-icon">Property</span></li>
- <li class="tsd-kind-method tsd-parent-kind-enum"><span class="tsd-kind-icon">Method</span></li>
- </ul>
- <ul class="tsd-legend">
- <li class="tsd-kind-interface"><span class="tsd-kind-icon">Interface</span></li>
- <li class="tsd-kind-interface tsd-has-type-parameter"><span class="tsd-kind-icon">Interface with type parameter</span></li>
- <li class="tsd-kind-constructor tsd-parent-kind-interface"><span class="tsd-kind-icon">Constructor</span></li>
- <li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
- <li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
- <li class="tsd-kind-index-signature tsd-parent-kind-interface"><span class="tsd-kind-icon">Index signature</span></li>
- </ul>
- <ul class="tsd-legend">
- <li class="tsd-kind-class"><span class="tsd-kind-icon">Class</span></li>
- <li class="tsd-kind-class tsd-has-type-parameter"><span class="tsd-kind-icon">Class with type parameter</span></li>
- <li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
- <li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
- <li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
- <li class="tsd-kind-accessor tsd-parent-kind-class"><span class="tsd-kind-icon">Accessor</span></li>
- <li class="tsd-kind-index-signature tsd-parent-kind-class"><span class="tsd-kind-icon">Index signature</span></li>
- </ul>
- <ul class="tsd-legend">
- <li class="tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited constructor</span></li>
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited property</span></li>
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited method</span></li>
- <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-inherited"><span class="tsd-kind-icon">Inherited accessor</span></li>
- </ul>
- <ul class="tsd-legend">
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected property</span></li>
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected method</span></li>
- <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-protected"><span class="tsd-kind-icon">Protected accessor</span></li>
- </ul>
- <ul class="tsd-legend">
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private property</span></li>
- <li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private method</span></li>
- <li class="tsd-kind-accessor tsd-parent-kind-class tsd-is-private"><span class="tsd-kind-icon">Private accessor</span></li>
- </ul>
- <ul class="tsd-legend">
- <li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
- <li class="tsd-kind-call-signature tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
- </ul>
- </div>
- </div>
- </footer>
- <div class="container tsd-generator">
- <p>Generated using <a href="http://typedoc.org/" target="_blank">TypeDoc</a></p>
- </div>
- <div class="overlay"></div>
- <script src="assets/js/main.js"></script>
- <script>if (location.protocol == 'file:') document.write('<script src="assets/js/search.js"><' + '/script>');</script>
- </body>
- </html>
|