×
思维导图备注
Taro v1.3 API 文档
首页
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
文件上传/下载
浏览
882
扫码
分享
2020-01-08 12:42:38
uploadFile
downloadFile
上一篇:
下一篇:
概述
关于API
API 说明
环境判断
Taro.Component
消息机制
设备
加速度计
stopAccelerometer
startAccelerometer
onAccelerometerChange
设备方向
startDeviceMotionListening
stopDeviceMotionListening
onDeviceMotionChange
蓝牙
getBluetoothAdapterState
closeBluetoothAdapter
getConnectedBluetoothDevices
getBluetoothDevices
onBluetoothAdapterStateChange
onBluetoothDeviceFound
stopBluetoothDevicesDiscovery
startBluetoothDevicesDiscovery
openBluetoothAdapter
低功耗蓝牙
createBLEConnection
closeBLEConnection
getBLEDeviceCharacteristics
onBLECharacteristicValueChange
notifyBLECharacteristicValueChange
getBLEDeviceServices
onBLEConnectionStateChange
readBLECharacteristicValue
亮度
writeBLECharacteristicValue
setKeepScreenOn
getScreenBrightness
setScreenBrightness
剪贴板
getClipboardData
setClipboardData
罗盘
onCompassChange
stopCompass
startCompass
iBeacon
联系人 - addPhoneContact
getBeacons
onBeaconServiceChange
onBeaconUpdate
startBeaconDiscovery
stopBeaconDiscovery
网络
getNetworkType
NFC
onNetworkStatusChange
getHCEState
onHCEMessage
startHCE
sendHCEMessage
电话 - makePhoneCall
stopHCE
扫码 - scanCode
屏幕 - onUserCaptureScreen
振动
vibrateShort
vibrateLong
系统信息
canIUse
getSystemInfo
Wi-Fi
getSystemInfoSync
getConnectedWifi
connectWifi
onGetWifiList
getWifiList
onWifiConnected
setWifiList
startWifi
stopWifi
扩展API
arrayBufferToBase64
base64ToArrayBuffer
文件
getFileInfo
getSavedFileInfo
openDocument
getSavedFileList
removeSavedFile
saveFile
界面
画布
动画 - createAnimation
createCanvasContext
canvasGetImageData
canvasToTempFilePath
canvasPutImageData
createContext
drawCanvas
交互
showToast
showLoading
hideToast
hideLoading
showModal
showActionSheet
导航
navigateTo
switchTab
redirectTo
reLaunch
navigateBack
getCurrentPages
导航栏
setNavigationBarTitle
showNavigationBarLoading
hideNavigationBarLoading
setNavigationBarColor
下拉刷新
滚动 - pageScrollTo
stopPullDownRefresh
startPullDownRefresh
tabbar
setTabBarBadge
removeTabBarBadge
showTabBarRedDot
setTabBarStyle
hideTabBarRedDot
showTabBar
setTabBarItem
hideTabBar
窗口
顶栏 - setTopBarText
offWindowResize
onWindowResize
wxml
createSelectorQuery
selectorQuery.select
selectorQuery.in
selectorQuery.selectAll
selectorQuery.selectViewport
nodesRef.scrollOffset
nodesRef.boundingClientRect
nodesRef.fields
selectorQuery.exec
位置
getLocation
openLocation
chooseLocation
媒体
playVoice
音频
pauseVoice
stopVoice
createAudioContext
createInnerAudioContext
背景音频
getBackgroundAudioPlayerState
getBackgroundAudioManager
playBackgroundAudio
pauseBackgroundAudio
seekBackgroundAudio
onBackgroundAudioPlay
stopBackgroundAudio
onBackgroundAudioPause
onBackgroundAudioStop
相机 - createCameraContext
图片
chooseImage
previewImage
saveImageToPhotosAlbum
getImageInfo
录音
地图 - createMapContext
startRecord
stopRecord
视频
chooseVideo
saveVideoToPhotosAlbum
createVideoContext
文件上传/下载
uploadFile
downloadFile
请求
request
WebSocket
addInterceptor
connectSocket
closeSocket
sendSocketMessage
onSocketOpen
onSocketClose
onSocketMessage
SocketTask
onSocketError
开放接口
地址 - chooseAddress
认证 - authorize
生物认证
checkIsSupportSoterAuthentication
checkIsSoterEnrolledInDevice
卡券
startSoterAuthentication
addCard
发票
openCard
chooseInvoice
chooseInvoiceTitle
登录
login
checkSession
支付
faceVerifyForPay
requestPayment
跳转小程序
navigateBackMiniProgram
navigateToMiniProgram
设置
getSetting
openSetting
数据缓存
微信运动 - getWeRunData
用户信息 - getUserInfo
setStorage
setStorageSync
getStorage
getStorageSync
getStorageInfo
getStorageInfoSync
removeStorage
clearStorage
removeStorageSync
clearStorageSync
更新 - getUpdateManager
暂无相关搜索结果!
本文使用
EduBoo.COM
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度