wx.onSocketMessage

wx.closeSocket

wx.onSocketClose


二、媒体

图片

wx.chooseImage

wx.previewImage

wx.getImageInfo

wx.saveImageToPhotosAlbum

录音

wx.startRecord

wx.stopRecord

音频播放控制

wx.playVoice

wx.pauseVoice

wx.stopVoice

音乐播放控制

wx.getBackgroundAudioPlayerState

wx.playBackgroundAudio

wx.pauseBackgroundAudio

wx.seekBackgroundAudio

wx.stopBackgroundAudio

wx.onBackgroundAudioPlay

wx.onBackgroundAudioPause

wx.onBackgroundAudioStop

背景音频播放管理

wx.getBackgroundAudioManager

音频组件控制

wx.createAudioContext

视频

wx.chooseVideo

wx.saveVideoToPhotosAlbum

视频组件控制

wx.createVideoContext


三、文件

wx.saveFile

wx.getFileInfo

wx.getSavedFileList

wx.getSavedFileInfo

wx.removeSavedFile

wx.openDocument


四、数据缓存

wx.setStorage