124.3cadb4cb.js 5.0 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([[124],{466:function(t,e,l){"use strict";l.r(e);var a=l(17),i=Object(a.a)({},(function(){var t=this,e=t._self._c;return e("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[e("h2",{attrs:{id:"常用sdk"}},[e("a",{staticClass:"header-anchor",attrs:{href:"#常用sdk"}},[t._v("#")]),t._v(" 常用sdk")]),t._v(" "),e("table",[e("thead",[e("tr",[e("th",{staticStyle:{"text-align":"left"}},[t._v("sdk")]),t._v(" "),e("th",{staticStyle:{"text-align":"left"}},[t._v("说明")])])]),t._v(" "),e("tbody",[e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/barcode.html#scan"}},[t._v("scan")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("扫码,包括扫描二维码,条形码。")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/http.html#request"}},[t._v("request")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("发起网络请求")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/storage.html#setapdatastorage"}},[t._v("setAPDataStorage")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("以key-value形式持久化存储数据到应用沙盒")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/storage.html#getapdatastorage"}},[t._v("getAPDataStorage")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("取出以key-value形式持久化存储数据到应用沙盒的值")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/location.html#getlocation"}},[t._v("getLocation")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("获取当前的经纬度和地理位置信息,默认接入的是高德地图,需要在云打包配置高德地图申请的应用key")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/downloadfile.html#startdownload"}},[t._v("startDownload")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("便捷下载方法")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/uploadfile.html#startupload"}},[t._v("startUpload")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("便捷上传方法")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/screen.html#disablescreenshot"}},[t._v("disableScreenShot")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("安卓禁止截屏")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/screen.html#enablescreenshot"}},[t._v("enableScreenShot")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("安卓允许截屏")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/runtime.html#opendoc"}},[t._v("openDoc")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("在线文件预览,支持pdf,doc,excel文档")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/runtime.html#openfile"}},[t._v("openFile")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("本地离线文档预览,安卓调用第三方程序打开指定的文件,ios可以直接打开预览")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/events.html#appenterforeground"}},[t._v("APPEnterForeground")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("app进入前台事件")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/events.html#appenterbackground"}},[t._v("APPEnterBackground")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("app进入后台事件")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/touchId.html#fingerprintverification"}},[t._v("fingerPrintVerification")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("进行生物识别(指纹/面容)验证")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/camera.html#captureimage"}},[t._v("captureImage")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("调用拍照")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/gallery.html#picksingleimagewithedit"}},[t._v("pickSingleImageWithEdit")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("单选并编辑图片")])]),t._v(" "),e("tr",[e("td",{staticStyle:{"text-align":"left"}},[e("RouterLink",{attrs:{to:"/sdk/gallery.html#pick"}},[t._v("pick")])],1),t._v(" "),e("td",{staticStyle:{"text-align":"left"}},[t._v("从系统相册选择文件(直接打开相册 支持选择图片或视频),支持单选和多选")])])])])])}),[],!1,null,null,null);e.default=i.exports}}]);