×
思维导图备注
微信小游戏开发API官方文档(201810)
首页
白天
夜间
小程序
阅读
书签
我的书签
添加书签
移除书签
网络
浏览
1156
扫码
分享
2018-10-21 09:35:55
下载
发起请求
WebSocket
上传
上一篇:
下一篇:
渲染
画布
wx.createCanvas
Canvas
.toTempFilePath
.toTempFilePathSync
.getContext
.toDataURL
RenderingContext
图片
wx.createImage
Image
字体
wx.getTextLineHeight
wx.loadFont
帧率
wx.setPreferredFramesPerSecond
cancelAnimationFrame
requestAnimationFrame
分包加载
wx.loadSubpackage
LoadSubpackageTask
.onProgressUpdate
设备
设备方向
wx.startDeviceMotionListening
wx.stopDeviceMotionListening
wx.onDeviceMotionChange
加速计
wx.startAccelerometer
wx.stopAccelerometer
wx.onAccelerometerChange
剪贴板
wx.getClipboardData
wx.setClipboardData
罗盘
wx.startCompass
wx.stopCompass
wx.onCompassChange
陀螺仪
wx.startGyroscope
wx.stopGyroscope
wx.onGyroscopeChange
电量
wx.getBatteryInfo
wx.getBatteryInfoSync
网络
wx.getNetworkType
wx.onNetworkStatusChange
振动
wx.vibrateShort
wx.vibrateLong
性能
wx.onMemoryWarning
屏幕
wx.getScreenBrightness
wx.setKeepScreenOn
wx.setScreenBrightness
转屏
wx.onDeviceOrientationChange
wx.offDeviceOrientationChange
系统
系统信息
wx.getSystemInfo
wx.getSystemInfoSync
系统事件
wx.onAudioInterruptionBegin
wx.offAudioInterruptionBegin
wx.onAudioInterruptionEnd
wx.offAudioInterruptionEnd
wx.onError
wx.offError
生命周期
wx.exitMiniProgram
wx.getLaunchOptionsSync
wx.onHide
wx.offHide
wx.onShow
wx.offShow
触摸事件
wx.onTouchStart
wx.offTouchStart
wx.onTouchMove
wx.offTouchMove
wx.onTouchEnd
wx.offTouchEnd
wx.onTouchCancel
wx.offTouchCancel
Touch
位置
wx.getLocation
媒体
图片
wx.chooseImage
wx.previewImage
wx.saveImageToPhotosAlbum
音频
wx.createInnerAudioContext
wx.getAvailableAudioSources
wx.setInnerAudioOption
InnerAudioContext
.pause
.stop
.seek
.destroy
.offCanplay
.onPlay
.offPlay
.onPause
.offPause
.onStop
.offStop
.onEnded
.offEnded
.onTimeUpdate
.offTimeUpdate
.onError
.onCanplay
.offError
.onWaiting
.offWaiting
.onSeeking
.offSeeking
.onSeeked
.offSeeked
.play
录音
wx.getRecorderManager
RecorderManager
.start
.pause
.resume
.stop
.onStart
.onResume
.onPause
.onStop
.onFrameRecorded
.onError
.onInterruptionBegin
.onInterruptionEnd
视频
wx.createVideo
Video
.onWaiting
.offWaiting
.onPlay
.offPlay
.onPause
.offPause
.onEnded
.offEnded
.onTimeUpdate
.offTimeUpdate
.onError
.offError
.destroy
.play
.pause
.stop
.seek
.requestFullScreen
.exitFullScreen
文件
wx.getFileSystemManager
FileSystemManager
.access
.accessSync
.appendFile
.appendFileSync
.saveFile
.saveFileSync
.getSavedFileList
.removeSavedFile
.copyFile
.copyFileSync
.getFileInfo
.mkdir
.mkdirSync
.readFile
.readFileSync
.readdir
.readdirSync
.rename
.renameSync
.rmdir
.rmdirSync
.stat
.statSync
.unlink
.unlinkSync
.unzip
.writeFile
.writeFileSync
Stats
.isDirectory
.isFile
网络
下载
wx.downloadFile
DownloadTask
.onProgressUpdate
.abort
发起请求
wx.request
RequestTask
.abort
WebSocket
wx.connectSocket
wx.closeSocket
wx.sendSocketMessage
wx.onSocketOpen
wx.onSocketClose
wx.onSocketMessage
wx.onSocketError
SocketTask
.close
.onOpen
.onClose
.onError
.onMessage
.send
上传
wx.uploadFile
UploadTask
.onProgressUpdate
.abort
开放接口
游戏圈
wx.createGameClubButton
GameClubButton
.onTap
.offTap
.show
.hide
.destroy
开放数据
wx.getFriendCloudStorage
wx.getGroupCloudStorage
wx.getUserCloudStorage
wx.removeUserCloudStorage
wx.setUserCloudStorage
wx.getSharedCanvas
UserGameData
KVData
removeUserStorage
setUserStorage
授权
wx.authorize
防沉迷
wx.checkIsUserAdvisedToRest
用户信息
wx.getUserInfo
wx.createUserInfoButton
UserInfo
UserInfoButton
.show
.hide
.destroy
.onTap
.offTap
微信运动
wx.getWeRunData
设置
wx.getSetting
wx.openSetting
wx.createOpenSettingButton
OpenSettingButton
.onTap
.offTap
.show
.hide
.destroy
AuthSetting
登录
wx.login
wx.checkSession
checkSessionKey
code2Session
意见反馈
wx.createFeedbackButton
FeedbackButton
.onTap
.offTap
.show
.hide
.destroy
小程序跳转
wx.navigateToMiniProgram
客服消息
wx.openCustomerServiceConversation
开放数据域
wx.getOpenDataContext
wx.onMessage
OpenDataContext
.postMessage
接口调用凭证
getAccessToken
内容安全
imgSecCheck
msgSecCheck
二维码
createWXAQRCode
getWXACode
getWXACodeUnlimit
调试
wx.setEnableDebug
console
.groupEnd
.debug
.log
.info
.warn
.error
.group
数据缓存
wx.getStorage
wx.getStorageSync
wx.setStorage
wx.setStorageSync
wx.removeStorage
wx.removeStorageSync
wx.clearStorage
wx.clearStorageSync
wx.getStorageInfo
wx.getStorageInfoSync
更新
wx.getUpdateManager
UpdateManager
.onCheckForUpdate
.onUpdateReady
.onUpdateFailed
.applyUpdate
Worker
wx.createWorker
Worker
.postMessage
.onMessage
.terminate
转发
wx.getShareInfo
wx.hideShareMenu
wx.showShareMenu
wx.updateShareMenu
wx.shareAppMessage
wx.onShareAppMessage
wx.offShareAppMessage
广告
wx.createRewardedVideoAd
wx.createBannerAd
RewardedVideoAd
.load
.show
.onLoad
.offLoad
.onError
.offError
.onClose
.offClose
BannerAd
.show
.hide
.destroy
.onResize
.offResize
.onLoad
.offLoad
.onError
.offError
界面
交互
wx.showToast
wx.showModal
wx.hideToast
wx.showLoading
wx.hideLoading
wx.showActionSheet
菜单
wx.getMenuButtonBoundingClientRect
wx.setMenuStyle
键盘
wx.showKeyboard
wx.hideKeyboard
wx.updateKeyboard
wx.onKeyboardInput
wx.offKeyboardInput
wx.onKeyboardConfirm
wx.offKeyboardConfirm
wx.onKeyboardComplete
wx.offKeyboardComplete
状态栏
wx.setStatusBarStyle
窗口
wx.onWindowResize
wx.offWindowResize
性能
wx.getPerformance
wx.triggerGC
Performance
.now
虚拟支付
wx.requestMidasPayment
midasCancelPay
midasGetBalance
midasPay
midasPresent
定时器
setTimeout
clearTimeout
setInterval
clearInterval
暂无相关搜索结果!
本文档使用
BookStack
构建
×
分享,让知识传承更久远
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
普通下载
下载码下载(免登录无限下载)
你与大神的距离,只差一个APP
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
温馨提示
每天每在网站阅读学习一分钟时长可下载一本电子书,每天连续签到可增加阅读时长
下载码方式下载:免费、免登录、无限制。
免费获取下载码
下载码
文档格式
PDF
EPUB
MOBI
码上下载
×
微信小程序阅读
您与他人的薪资差距,只差一个随时随地学习的小程序
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度