UNPKG

@jp-web/ts-sdk

Version:

视频客服,视频会议Web端及微信小程序端SDK

236 lines 13.1 kB
<!doctype html> <html class="default no-js"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>WeChatLocalCameraOptions | webrtc-guest-sdk</title> <meta name="description" content="Documentation for webrtc-guest-sdk"> <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.json" 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">webrtc-guest-sdk</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="../index.html">Globals</a> </li> <li> <a href="../modules/_we_chat_wechatdef_.html">&quot;we-chat/WeChatDef&quot;</a> </li> <li> <a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html">WeChatLocalCameraOptions</a> </li> </ul> <h1>Interface WeChatLocalCameraOptions</h1> </div> </div> </header> <div class="container container-main"> <div class="row"> <div class="col-8 col-content"> <section class="tsd-panel tsd-hierarchy"> <h3>Hierarchy</h3> <ul class="tsd-hierarchy"> <li> <span class="target">WeChatLocalCameraOptions</span> </li> </ul> </section> <section class="tsd-panel-group tsd-index-group"> <h2>Index</h2> <section class="tsd-panel tsd-index-panel"> <div class="tsd-index-content"> <section class="tsd-index-section tsd-is-external"> <h3>Properties</h3> <ul class="tsd-index-list"> <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#deviceposition" class="tsd-kind-icon">device<wbr>Position</a></li> <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#flash" class="tsd-kind-icon">flash</a></li> <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#framesize" class="tsd-kind-icon">frame<wbr>Size</a></li> <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#hidden" class="tsd-kind-icon">hidden</a></li> <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#mode" class="tsd-kind-icon">mode</a></li> <li class="tsd-kind-property tsd-parent-kind-interface tsd-is-external"><a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#resolution" class="tsd-kind-icon">resolution</a></li> </ul> </section> </div> </section> </section> <section class="tsd-panel-group tsd-member-group tsd-is-external"> <h2>Properties</h2> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a name="deviceposition" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> device<wbr>Position</h3> <div class="tsd-signature tsd-kind-icon">device<wbr>Position<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"front"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"back"</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a name="flash" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> flash</h3> <div class="tsd-signature tsd-kind-icon">flash<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"auto"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"on"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"off"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"torch"</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a name="framesize" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> frame<wbr>Size</h3> <div class="tsd-signature tsd-kind-icon">frame<wbr>Size<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"small"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"medium"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"large"</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a name="hidden" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> hidden</h3> <div class="tsd-signature tsd-kind-icon">hidden<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a name="mode" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> mode</h3> <div class="tsd-signature tsd-kind-icon">mode<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"normal"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"scanCode"</span></div> <aside class="tsd-sources"> </aside> </section> <section class="tsd-panel tsd-member tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a name="resolution" class="tsd-anchor"></a> <h3><span class="tsd-flag ts-flagOptional">Optional</span> resolution</h3> <div class="tsd-signature tsd-kind-icon">resolution<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"low"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"medium"</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">"high"</span></div> <aside class="tsd-sources"> </aside> </section> </section> </div> <div class="col-4 col-menu menu-sticky-wrap menu-highlight"> <nav class="tsd-navigation primary"> <ul> <li class="globals "> <a href="../index.html"><em>Globals</em></a> </li> <li class="current tsd-kind-module tsd-is-external"> <a href="../modules/_we_chat_wechatdef_.html">&quot;we-<wbr>chat/<wbr>WeChat<wbr>Def&quot;</a> </li> </ul> </nav> <nav class="tsd-navigation secondary menu-sticky"> <ul class="before-current"> <li class=" tsd-kind-enum tsd-parent-kind-module tsd-is-external"> <a href="../enums/_we_chat_wechatdef_.wechatlocalcameraeventtype.html" class="tsd-kind-icon">We<wbr>Chat<wbr>Local<wbr>Camera<wbr>Event<wbr>Type</a> </li> <li class=" tsd-kind-interface tsd-parent-kind-module tsd-has-type-parameter tsd-is-external tsd-is-not-exported"> <a href="_we_chat_wechatdef_.baseoptions.html" class="tsd-kind-icon">Base<wbr>Options</a> </li> <li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalcameracontext.html" class="tsd-kind-icon">We<wbr>Chat<wbr>Local<wbr>Camera<wbr>Context</a> </li> </ul> <ul class="current"> <li class="current tsd-kind-interface tsd-parent-kind-module tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html" class="tsd-kind-icon">We<wbr>Chat<wbr>Local<wbr>Camera<wbr>Options</a> <ul> <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#deviceposition" class="tsd-kind-icon">device<wbr>Position</a> </li> <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#flash" class="tsd-kind-icon">flash</a> </li> <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#framesize" class="tsd-kind-icon">frame<wbr>Size</a> </li> <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#hidden" class="tsd-kind-icon">hidden</a> </li> <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#mode" class="tsd-kind-icon">mode</a> </li> <li class=" tsd-kind-property tsd-parent-kind-interface tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalcameraoptions.html#resolution" class="tsd-kind-icon">resolution</a> </li> </ul> </li> </ul> <ul class="after-current"> <li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalstreamcontext.html" class="tsd-kind-icon">We<wbr>Chat<wbr>Local<wbr>Stream<wbr>Context</a> </li> <li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-external"> <a href="_we_chat_wechatdef_.wechatlocalstreamoptions.html" class="tsd-kind-icon">We<wbr>Chat<wbr>Local<wbr>Stream<wbr>Options</a> </li> <li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-external"> <a href="_we_chat_wechatdef_.wechatremotestreamcontext.html" class="tsd-kind-icon">We<wbr>Chat<wbr>Remote<wbr>Stream<wbr>Context</a> </li> <li class=" tsd-kind-interface tsd-parent-kind-module tsd-is-external"> <a href="_we_chat_wechatdef_.wechatremotestreamoptions.html" class="tsd-kind-icon">We<wbr>Chat<wbr>Remote<wbr>Stream<wbr>Options</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-external tsd-is-not-exported"> <a href="../modules/_we_chat_wechatdef_.html#cameracontextstartrecordoption" class="tsd-kind-icon">Camera<wbr>Context<wbr>Start<wbr>Record<wbr>Option</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-external tsd-is-not-exported"> <a href="../modules/_we_chat_wechatdef_.html#cameracontextstoprecordoption" class="tsd-kind-icon">Camera<wbr>Context<wbr>Stop<wbr>Record<wbr>Option</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-external tsd-is-not-exported"> <a href="../modules/_we_chat_wechatdef_.html#setzoomoption" class="tsd-kind-icon">Set<wbr>Zoom<wbr>Option</a> </li> <li class=" tsd-kind-variable tsd-parent-kind-module tsd-is-external tsd-is-not-exported"> <a href="../modules/_we_chat_wechatdef_.html#takephotooption" class="tsd-kind-icon">Take<wbr>Photo<wbr>Option</a> </li> </ul> </nav> </div> </div> </div> <footer class="with-border-bottom"> <div class="container"> <h2>Legend</h2> <div class="tsd-legend-group"> </div> </div> </footer> <div class="container tsd-generator"> <p>Generated using <a href="https://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>