×
思维导图备注
微信小程序API文档(201912)
首页
白天
夜间
小程序
阅读
书签
我的书签
添加书签
移除书签
生命周期
来源:微信
浏览
602
扫码
分享
2019-12-04 21:30:50
wx.getLaunchOptionsSync
当前内容版权归
微信
或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问
微信
.
上一篇:
下一篇:
基础
wx.canIUse
wx.base64ToArrayBuffer
wx.arrayBufferToBase64
系统
系统信息
wx.getSystemInfoSync
wx.getSystemInfo
更新
wx.getUpdateManager
UpdateManager
UpdateManager.applyUpdate
UpdateManager.onCheckForUpdate
UpdateManager.onUpdateFailed
UpdateManager.onUpdateReady
小程序
生命周期
wx.getLaunchOptionsSync
应用级事件
wx.onPageNotFound
wx.onError
wx.onAudioInterruptionEnd
wx.onAudioInterruptionBegin
wx.onAppShow
wx.onAppHide
wx.offPageNotFound
wx.offError
wx.offAudioInterruptionEnd
wx.offAudioInterruptionBegin
wx.offAppShow
wx.offAppHide
调试
wx.setEnableDebug
wx.getRealtimeLogManager
wx.getLogManager
console
console.debug
console.error
console.group
console.groupEnd
console.info
console.log
console.warn
LogManager
LogManager.debug
LogManager.info
LogManager.log
LogManager.warn
RealtimeLogManager
RealtimeLogManager.addFilterMsg
RealtimeLogManager.error
RealtimeLogManager.in
RealtimeLogManager.info
RealtimeLogManager.setFilterMsg
RealtimeLogManager.warn
定时器
clearInterval
clearTimeout
setInterval
setTimeout
envObj
路由
wx.switchTab
wx.reLaunch
wx.redirectTo
wx.navigateTo
wx.navigateBack
EventChannel
EventChannel.emit
EventChannel.off
EventChannel.on
EventChannel.once
界面
交互
wx.showToast
wx.showModal
wx.showLoading
wx.showActionSheet
wx.hideToast
wx.hideLoading
导航栏
wx.showNavigationBarLoading
wx.setNavigationBarTitle
wx.setNavigationBarColor
wx.hideNavigationBarLoading
wx.hideHomeButton
背景
wx.setBackgroundTextStyle
wx.setBackgroundColor
Tab Bar
wx.showTabBarRedDot
wx.showTabBar
wx.setTabBarStyle
wx.setTabBarItem
wx.setTabBarBadge
wx.removeTabBarBadge
wx.hideTabBarRedDot
wx.hideTabBar
字体 wx.loadFontFace
下拉刷新
wx.stopPullDownRefresh
wx.startPullDownRefresh
滚动 wx.pageScrollTo
动画
wx.createAnimation
Animation
Animation.backgroundColor
Animation.bottom
Animation.export
Animation.height
Animation.left
Animation.matrix
Animation.matrix3d
Animation.opacity
Animation.right
Animation.rotate
Animation.rotate3d
Animation.rotateX
Animation.rotateY
Animation.rotateZ
Animation.scale
Animation.scale3d
Animation.scaleX
Animation.scaleY
Animation.scaleZ
Animation.skew
Animation.skewX
Animation.skewY
Animation.step
Animation.top
Animation.translate
Animation.translate3d
Animation.translateX
Animation.translateY
Animation.translateZ
Animation.width
置顶 wx.setTopBarText
自定义组件 wx.nextTick
菜单 wx.getMenuButtonBoundingClientRect
窗口
wx.onWindowResize
wx.offWindowResize
键盘
wx.onKeyboardHeightChange
wx.hideKeyboard
wx.getSelectedTextRange
网络
发起请求
wx.request
RequestTask
RequestTask.abort
RequestTask.offHeadersReceived
RequestTask.onHeadersReceived
下载
wx.downloadFile
DownloadTask
DownloadTask.abort
DownloadTask.offHeadersReceived
DownloadTask.offProgressUpdate
DownloadTask.onHeadersReceived
DownloadTask.onProgressUpdate
上传 wx.uploadFile
UploadTask
UploadTask.abort
UploadTask.offHeadersReceived
UploadTask.offProgressUpdate
UploadTask.onHeadersReceived
UploadTask.onProgressUpdate
WebSocket
wx.sendSocketMessage
wx.onSocketOpen
wx.onSocketMessage
wx.onSocketError
wx.onSocketClose
wx.connectSocket
wx.closeSocket
SocketTask
SocketTask.close
SocketTask.onClose
SocketTask.onError
SocketTask.onMessage
SocketTask.onOpen
SocketTask.send
mDNS
wx.stopLocalServiceDiscovery
wx.startLocalServiceDiscovery
wx.onLocalServiceResolveFail
wx.onLocalServiceLost
wx.onLocalServiceFound
wx.onLocalServiceDiscoveryStop
wx.offLocalServiceResolveFail
wx.offLocalServiceLost
wx.offLocalServiceFound
wx.offLocalServiceDiscoveryStop
UDP 通信
wx.createUDPSocket
UDPSocket
UDPSocket.bind
UDPSocket.close
UDPSocket.offClose
UDPSocket.offError
UDPSocket.offListening
UDPSocket.offMessage
UDPSocket.onClose
UDPSocket.onError
UDPSocket.onListening
UDPSocket.onMessage
UDPSocket.send
数据缓存
wx.setStorageSync
wx.setStorage
wx.removeStorageSync
wx.removeStorage
wx.getStorageSync
wx.getStorageInfoSync
wx.getStorageInfo
wx.getStorage
wx.clearStorageSync
wx.clearStorage
周期性更新
wx.setBackgroundFetchToken
wx.onBackgroundFetchData
wx.getBackgroundFetchToken
wx.getBackgroundFetchData
媒体
地图
wx.createMapContext
MapContext
MapContext.getCenterLocation
MapContext.getRegion
MapContext.getRotate
MapContext.getScale
MapContext.getSkew
MapContext.includePoints
MapContext.moveToLocation
MapContext.translateMarker
图片
wx.saveImageToPhotosAlbum
wx.previewImage
wx.getImageInfo
wx.compressImage
wx.chooseMessageFile
wx.chooseImage
视频
wx.saveVideoToPhotosAlbum
wx.createVideoContext
wx.chooseVideo
VideoContext
VideoContext.exitFullScreen
VideoContext.hideStatusBar
VideoContext.pause
VideoContext.play
VideoContext.playbackRate
VideoContext.requestFullScreen
VideoContext.seek
VideoContext.sendDanmu
VideoContext.showStatusBar
VideoContext.stop
音频
wx.stopVoice
wx.setInnerAudioOption
wx.playVoice
wx.pauseVoice
wx.getAvailableAudioSources
wx.createInnerAudioContext
wx.createAudioContext
AudioContext
AudioContext.pause
AudioContext.play
AudioContext.seek
AudioContext.setSrc
InnerAudioContext
InnerAudioContext.destroy
InnerAudioContext.offCanplay
InnerAudioContext.offEnded
InnerAudioContext.offError
InnerAudioContext.offPause
InnerAudioContext.offPlay
InnerAudioContext.offSeeked
InnerAudioContext.offSeeking
InnerAudioContext.offStop
InnerAudioContext.offTimeUpdate
InnerAudioContext.offWaiting
InnerAudioContext.onCanplay
InnerAudioContext.onEnded
InnerAudioContext.onError
InnerAudioContext.onPause
InnerAudioContext.onPlay
InnerAudioContext.onSeeked
InnerAudioContext.onSeeking
InnerAudioContext.onStop
InnerAudioContext.onTimeUpdate
InnerAudioContext.onWaiting
InnerAudioContext.pause
InnerAudioContext.play
InnerAudioContext.seek
InnerAudioContext.stop
背景音频
wx.stopBackgroundAudio
wx.seekBackgroundAudio
wx.playBackgroundAudio
wx.pauseBackgroundAudio
wx.onBackgroundAudioStop
wx.onBackgroundAudioPlay
wx.onBackgroundAudioPause
wx.getBackgroundAudioPlayerState
wx.getBackgroundAudioManager
BackgroundAudioManager
BackgroundAudioManager.onCanplay
BackgroundAudioManager.onEnded
BackgroundAudioManager.onError
BackgroundAudioManager.onNext
BackgroundAudioManager.onPause
BackgroundAudioManager.onPlay
BackgroundAudioManager.onPrev
BackgroundAudioManager.onSeeked
BackgroundAudioManager.onSeeking
BackgroundAudioManager.onStop
BackgroundAudioManager.onTimeUpdate
BackgroundAudioManager.onWaiting
BackgroundAudioManager.pause
BackgroundAudioManager.play
BackgroundAudioManager.seek
BackgroundAudioManager.stop
实时音视频
wx.createLivePusherContext
wx.createLivePlayerContext
LivePlayerContext
LivePlayerContext.exitFullScreen
LivePlayerContext.mute
LivePlayerContext.pause
LivePlayerContext.play
LivePlayerContext.requestFullScreen
LivePlayerContext.resume
LivePlayerContext.snapshot
LivePlayerContext.stop
LivePusherContext
LivePusherContext.pause
LivePusherContext.pauseBGM
LivePusherContext.playBGM
LivePusherContext.resume
LivePusherContext.resumeBGM
LivePusherContext.setBGMVolume
LivePusherContext.snapshot
LivePusherContext.start
LivePusherContext.startPreview
LivePusherContext.stop
LivePusherContext.stopBGM
LivePusherContext.stopPreview
LivePusherContext.switchCamera
LivePusherContext.toggleTorch
录音
wx.stopRecord
wx.startRecord
wx.getRecorderManager
RecorderManager
RecorderManager.onError
RecorderManager.onFrameRecorded
RecorderManager.onInterruptionBegin
RecorderManager.onInterruptionEnd
RecorderManager.onPause
RecorderManager.onResume
RecorderManager.onStart
RecorderManager.onStop
RecorderManager.pause
RecorderManager.resume
RecorderManager.start
RecorderManager.stop
相机
wx.createCameraContext
CameraContext
CameraContext.onCameraFrame
CameraContext.startRecord
CameraContext.stopRecord
CameraContext.takePhoto
CameraFrameListener
CameraFrameListener.start
CameraFrameListener.stop
音视频合成
wx.createMediaContainer
MediaContainer
MediaContainer.addTrack
MediaContainer.destroy
MediaContainer.export
MediaContainer.extractDataSource
MediaContainer.removeTrack
MediaTrack
位置
wx.stopLocationUpdate
wx.startLocationUpdateBackground
wx.startLocationUpdate
wx.openLocation
wx.onLocationChange
wx.offLocationChange
wx.getLocation
wx.chooseLocation
转发
wx.updateShareMenu
wx.showShareMenu
wx.hideShareMenu
wx.getShareInfo
画布
wx.createOffscreenCanvas
wx.createCanvasContext
wx.canvasToTempFilePath
wx.canvasPutImageData
wx.canvasGetImageData
Canvas
Canvas.cancelAnimationFrame
Canvas.createImage
Canvas.createImageData
Canvas.getContext
Canvas.requestAnimationFrame
CanvasContext
CanvasContext.arc
CanvasContext.arcTo
CanvasContext.beginPath
CanvasContext.bezierCurveTo
CanvasContext.clearRect
CanvasContext.clip
CanvasContext.closePath
CanvasContext.createCircularGradient
CanvasContext.createLinearGradient
CanvasContext.createPattern
CanvasContext.draw
CanvasContext.drawImage
CanvasContext.fill
CanvasContext.fillRect
CanvasContext.fillText
CanvasContext.lineTo
CanvasContext.measureText
CanvasContext.moveTo
CanvasContext.quadraticCurveTo
CanvasContext.rect
CanvasContext.restore
CanvasContext.rotate
CanvasContext.save
CanvasContext.scale
CanvasContext.setFillStyle
CanvasContext.setFontSize
CanvasContext.setGlobalAlpha
CanvasContext.setLineCap
CanvasContext.setLineDash
CanvasContext.setLineJoin
CanvasContext.setLineWidth
CanvasContext.setMiterLimit
CanvasContext.setShadow
CanvasContext.setStrokeStyle
CanvasContext.setTextAlign
CanvasContext.setTextBaseline
CanvasContext.setTransform
CanvasContext.stroke
CanvasContext.strokeRect
CanvasContext.strokeText
CanvasContext.transform
CanvasContext.translate
CanvasGradient
CanvasGradient.addColorStop
Color
Image
ImageData
OffscreenCanvas
OffscreenCanvas.getContext
RenderingContext
文件
wx.saveFile
wx.removeSavedFile
wx.openDocument
wx.getSavedFileList
wx.getSavedFileInfo
wx.getFileSystemManager
wx.getFileInfo
FileSystemManager
FileSystemManager.access
FileSystemManager.accessSync
FileSystemManager.appendFile
FileSystemManager.appendFileSync
FileSystemManager.copyFile
FileSystemManager.copyFileSync
FileSystemManager.getFileInfo
FileSystemManager.getSavedFileList
FileSystemManager.mkdir
FileSystemManager.mkdirSync
FileSystemManager.readdir
FileSystemManager.readdirSync
FileSystemManager.readFile
FileSystemManager.readFileSync
FileSystemManager.removeSavedFile
FileSystemManager.rename
FileSystemManager.renameSync
FileSystemManager.rmdir
FileSystemManager.rmdirSync
FileSystemManager.saveFile
FileSystemManager.saveFileSync
FileSystemManager.stat
FileSystemManager.statSync
FileSystemManager.unlink
FileSystemManager.unlinkSync
FileSystemManager.unzip
FileSystemManager.writeFile
FileSystemManager.writeFileSync
Stats
Stats.isDirectory
Stats.isFile
开放接口
登录
wx.login
wx.checkSession
小程序跳转
wx.navigateToMiniProgram
wx.navigateBackMiniProgram
帐号信息 wx.getAccountInfoSync
用户信息
wx.getUserInfo
UserInfo
数据上报 wx.reportMonitor
数据分析 wx.reportAnalytics
支付 wx.requestPayment
授权 wx.authorize
设置
wx.openSetting
wx.getSetting
AuthSetting
收货地址 wx.chooseAddress
卡券
wx.openCard
wx.addCard
发票
wx.chooseInvoiceTitle
wx.chooseInvoice
生物认证
wx.startSoterAuthentication
wx.checkIsSupportSoterAuthentication
wx.checkIsSoterEnrolledInDevice
微信运动 wx.getWeRunData
订阅消息 wx.requestSubscribeMessage
设备
iBeacon
wx.stopBeaconDiscovery
wx.startBeaconDiscovery
wx.onBeaconUpdate
wx.onBeaconServiceChange
wx.offBeaconUpdate
wx.offBeaconServiceChange
wx.getBeacons
IBeaconInfo
Wi-Fi
wx.stopWifi
wx.startWifi
wx.setWifiList
wx.onWifiConnected
wx.onGetWifiList
wx.offWifiConnected
wx.offGetWifiList
wx.getWifiList
wx.getConnectedWifi
wx.connectWifi
WifiInfo
联系人 wx.addPhoneContact
低功耗蓝牙
wx.writeBLECharacteristicValue
wx.readBLECharacteristicValue
wx.onBLEConnectionStateChange
wx.onBLECharacteristicValueChange
wx.offBLEConnectionStateChange
wx.offBLECharacteristicValueChange
wx.notifyBLECharacteristicValueChange
wx.getBLEDeviceServices
wx.getBLEDeviceCharacteristics
wx.createBLEConnection
wx.closeBLEConnection
蓝牙
wx.stopBluetoothDevicesDiscovery
wx.startBluetoothDevicesDiscovery
wx.openBluetoothAdapter
wx.onBluetoothDeviceFound
wx.onBluetoothAdapterStateChange
wx.offBluetoothDeviceFound
wx.offBluetoothAdapterStateChange
wx.getConnectedBluetoothDevices
wx.getBluetoothDevices
wx.getBluetoothAdapterState
wx.closeBluetoothAdapter
电量
wx.getBatteryInfoSync
wx.getBatteryInfo
剪贴板
wx.setClipboardData
wx.getClipboardData
NFC
wx.stopHCE
wx.startHCE
wx.sendHCEMessage
wx.onHCEMessage
wx.offHCEMessage
wx.getHCEState
网络
wx.onNetworkStatusChange
wx.offNetworkStatusChange
wx.getNetworkType
屏幕
wx.setScreenBrightness
wx.setKeepScreenOn
wx.onUserCaptureScreen
wx.offUserCaptureScreen
wx.getScreenBrightness
电话 wx.makePhoneCall
加速计
wx.stopAccelerometer
wx.startAccelerometer
wx.onAccelerometerChange
wx.offAccelerometerChange
罗盘
wx.stopCompass
wx.startCompass
wx.onCompassChange
wx.offCompassChange
设备方向
wx.stopDeviceMotionListening
wx.startDeviceMotionListening
wx.onDeviceMotionChange
wx.offDeviceMotionChange
陀螺仪
wx.stopGyroscope
wx.startGyroscope
wx.onGyroscopeChange
wx.offGyroscopeChange
性能
wx.onMemoryWarning
wx.offMemoryWarning
扫码 wx.scanCode
振动
wx.vibrateShort
wx.vibrateLong
Worker
wx.createWorker
Worker
Worker.onMessage
Worker.postMessage
Worker.terminate
第三方平台
wx.getExtConfigSync
wx.getExtConfig
WXML
wx.createSelectorQuery
wx.createIntersectionObserver
IntersectionObserver
IntersectionObserver.disconnect
IntersectionObserver.observe
IntersectionObserver.relativeTo
IntersectionObserver.relativeToViewport
NodesRef
NodesRef.boundingClientRect
NodesRef.context
NodesRef.fields
NodesRef.node
NodesRef.scrollOffset
SelectorQuery
SelectorQuery.exec
SelectorQuery.in
SelectorQuery.select
SelectorQuery.selectAll
SelectorQuery.selectViewport
广告
wx.createRewardedVideoAd
RewardedVideoAd
wx.createInterstitialAd
InterstitialAd
InterstitialAd.destroy
InterstitialAd.load
InterstitialAd.offClose
InterstitialAd.offError
InterstitialAd.offLoad
InterstitialAd.onClose
InterstitialAd.onError
InterstitialAd.onLoad
InterstitialAd.show
RewardedVideoAd
RewardedVideoAd.destroy
RewardedVideoAd.load
RewardedVideoAd.offClose
RewardedVideoAd.offError
RewardedVideoAd.offLoad
RewardedVideoAd.onClose
RewardedVideoAd.onError
RewardedVideoAd.onLoad
RewardedVideoAd.show
暂无相关搜索结果!
本文档使用
BookStack
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
普通下载
下载码下载(免登录无限下载)
你与大神的距离,只差一个APP
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
温馨提示
每天每在网站阅读学习一分钟时长可下载一本电子书,每天连续签到可增加阅读时长
下载码方式下载:免费、免登录、无限制。
免费获取下载码
下载码
文档格式
PDF
EPUB
MOBI
码上下载
×
微信小程序阅读
您与他人的薪资差距,只差一个随时随地学习的小程序
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度