×
思维导图备注
Taro v3.0 API文档
首页
白天
夜间
小程序
阅读
书签
我的书签
添加书签
移除书签
开放接口
来源:京东
浏览
521
扫码
分享
2020-07-15 22:15:06
登录
小程序跳转
账户信息
用户信息
数据上报
数据分析
支付
授权
设置
收货地址
卡券
发票
生物认证
微信运动
订阅消息
当前内容版权归
京东
或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
京东
.
上一篇:
下一篇:
关于API
API 说明
环境判断
消息机制
General
基础
canIUse
base64ToArrayBuffer
arrayBufferToBase64
系统
getSystemInfo
getSystemInfoSync
更新
getUpdateManager
UpdateManager
小程序
生命周期
getLaunchOptionsSync
应用级事件
onPageNotFound
onError
onAudioInterruptionEnd
onAudioInterruptionBegin
onAppShow
onAppHide
offPageNotFound
offError
offAudioInterruptionEnd
offAudioInterruptionBegin
offAppShow
offAppHide
调试
setEnableDebug
getRealtimeLogManager
getLogManager
LogManager
RealtimeLogManager
env
路由
switchTab
reLaunch
redirectTo
navigateTo
navigateBack
EventChannel
框架
App
getApp
getCurrentPages
Page
界面
交互
showToast
showModal
showLoading
showActionSheet
hideToast
hideLoading
导航栏
showNavigationBarLoading
setNavigationBarTitle
setNavigationBarColor
hideNavigationBarLoading
hideHomeButton
背景
setBackgroundTextStyle
setBackgroundColor
Tab Bar
showTabBarRedDot
showTabBar
setTabBarStyle
setTabBarItem
setTabBarBadge
removeTabBarBadge
hideTabBarRedDot
hideTabBar
字体
loadFontFace
下拉刷新
stopPullDownRefresh
startPullDownRefresh
滚动
pageScrollTo
动画
createAnimation
Animation
置顶
setTopBarText
自定义组件
nextTick
菜单
getMenuButtonBoundingClientRect
窗口
onWindowResize
offWindowResize
键盘
onKeyboardHeightChange
hideKeyboard
getSelectedTextRange
数据缓存
setStorageSync
setStorage
removeStorageSync
removeStorage
getStorageSync
getStorageInfoSync
getStorageInfo
getStorage
clearStorageSync
clearStorage
周期性更新
setBackgroundFetchToken
onBackgroundFetchData
getBackgroundFetchToken
getBackgroundFetchData
媒体
地图
createMapContext
MapContext
图片
saveImageToPhotosAlbum
previewImage
getImageInfo
compressImage
chooseMessageFile
chooseImage
视频
saveVideoToPhotosAlbum
createVideoContext
chooseVideo
VideoContext
音频
stopVoice
setInnerAudioOption
playVoice
pauseVoice
getAvailableAudioSources
createInnerAudioContext
createAudioContext
AudioContext
InnerAudioContext
背景音频
stopBackgroundAudio
seekBackgroundAudio
playBackgroundAudio
pauseBackgroundAudio
onBackgroundAudioStop
onBackgroundAudioPlay
onBackgroundAudioPause
getBackgroundAudioPlayerState
getBackgroundAudioManager
BackgroundAudioManager
实时音视频
createLivePusherContext
createLivePlayerContext
LivePlayerContext
LivePusherContext
录音
stopRecord
startRecord
getRecorderManager
RecorderManager
相机
createCameraContext
CameraContext
富文本
EditorContext
音视频合成
createMediaContainer
MediaContainer
MediaTrack
位置
stopLocationUpdate
startLocationUpdateBackground
startLocationUpdate
openLocation
onLocationChange
offLocationChange
getLocation
chooseLocation
转发
updateShareMenu
showShareMenu
hideShareMenu
getShareInfo
画布
createOffscreenCanvas
createCanvasContext
canvasToTempFilePath
canvasPutImageData
canvasGetImageData
Canvas
CanvasContext
CanvasGradient
Color
Image
ImageData
OffscreenCanvas
RenderingContext
文件
saveFile
removeSavedFile
openDocument
getSavedFileList
getSavedFileInfo
getFileSystemManager
getFileInfo
FileSystemManager
Stats
开放接口
登录
login
checkSession
小程序跳转
navigateToMiniProgram
navigateBackMiniProgram
账户信息
getAccountInfoSync
用户信息
getUserInfo
UserInfo
数据上报
reportMonitor
数据分析
reportAnalytics
支付
requestPayment
faceVerifyForPay
授权
authorize
设置
openSetting
getSetting
AuthSetting
收货地址
chooseAddress
卡券
openCard
addCard
发票
chooseInvoiceTitle
chooseInvoice
生物认证
startSoterAuthentication
checkIsSupportSoterAuthentication
checkIsSoterEnrolledInDevice
checkIsSupportFacialRecognition
startFacialRecognitionVerify
startFacialRecognitionVerifyAndUploadVideo
微信运动
getWeRunData
订阅消息
requestSubscribeMessage
设备
IBeacon
stopBeaconDiscovery
startBeaconDiscovery
onBeaconUpdate
onBeaconServiceChange
offBeaconUpdate
offBeaconServiceChange
getBeacons
IBeaconInfo
Wi-Fi
stopWifi
startWifi
setWifiList
onWifiConnected
onGetWifiList
offWifiConnected
offGetWifiList
getWifiList
getConnectedWifi
connectWifi
WifiInfo
联系人
addPhoneContact
低功耗蓝牙
writeBLECharacteristicValue
readBLECharacteristicValue
onBLEConnectionStateChange
onBLECharacteristicValueChange
notifyBLECharacteristicValueChange
getBLEDeviceServices
getBLEDeviceCharacteristics
createBLEConnection
closeBLEConnection
蓝牙
stopBluetoothDevicesDiscovery
startBluetoothDevicesDiscovery
openBluetoothAdapter
onBluetoothDeviceFound
onBluetoothAdapterStateChange
getConnectedBluetoothDevices
getBluetoothDevices
getBluetoothAdapterState
closeBluetoothAdapter
电量
getBatteryInfoSync
getBatteryInfo
剪贴板
setClipboardData
getClipboardData
NFC
stopHCE
startHCE
sendHCEMessage
onHCEMessage
offHCEMessage
getHCEState
网络
发起请求
request
RequestTask
addInterceptor
下载
downloadFile
DownloadTask
上传
uploadFile
UploadTask
WebSocket
sendSocketMessage
onSocketOpen
onSocketMessage
onSocketError
onSocketClose
connectSocket
closeSocket
SocketTask
mDNS
stopLocalServiceDiscovery
startLocalServiceDiscovery
onLocalServiceResolveFail
onLocalServiceLost
onLocalServiceFound
onLocalServiceDiscoveryStop
offLocalServiceResolveFail
offLocalServiceLost
offLocalServiceFound
offLocalServiceDiscoveryStop
UDP 通信
createUDPSocket
UDPSocket
onNetworkStatusChange
offNetworkStatusChange
getNetworkType
屏幕
setScreenBrightness
setKeepScreenOn
onUserCaptureScreen
offUserCaptureScreen
getScreenBrightness
电话
makePhoneCall
加速计
stopAccelerometer
startAccelerometer
onAccelerometerChange
offAccelerometerChange
罗盘
stopCompass
startCompass
onCompassChange
offCompassChange
设备方向
stopDeviceMotionListening
startDeviceMotionListening
onDeviceMotionChange
offDeviceMotionChange
陀螺仪
stopGyroscope
startGyroscope
onGyroscopeChange
offGyroscopeChange
性能
onMemoryWarning
扫码
scanCode
震动
vibrateShort
vibrateLong
Worker
createWorker
Worker
第三方平台
getExtConfigSync
getExtConfig
云开发
cloud
DB
WXML
createSelectorQuery
createIntersectionObserver
IntersectionObserver
NodesRef
SelectorQuery
广告
createRewardedVideoAd
createInterstitialAd
InterstitialAd
RewardedVideoAd
Alipay
getOpenUserInfo
Swan
setPageInfo
暂无相关搜索结果!
本文档使用
BookStack
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
普通下载
下载码下载(免登录无限下载)
你与大神的距离,只差一个APP
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
温馨提示
每天每在网站阅读学习一分钟时长可下载一本电子书,每天连续签到可增加阅读时长
下载码方式下载:免费、免登录、无限制。
免费获取下载码
下载码
文档格式
PDF
EPUB
MOBI
码上下载
×
微信小程序阅读
您与他人的薪资差距,只差一个随时随地学习的小程序
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度