支付宝兼容矩阵 · 媒体
媒体
chooseImage
mapped选择图片。
支付宝目标方法
chooseImage
策略说明
- 微信:直连 `wx.chooseImage`
- 支付宝:返回值 `apFilePaths` 映射到 `tempFilePaths`
chooseMedia
unsupported选择图片或视频。
支付宝目标方法
chooseMedia
策略说明
- 微信:直连 `wx.chooseMedia`
- 支付宝:无同等 API,调用时按 unsupported 报错
compressImage
native支付宝目标方法
compressImage
策略说明
- 微信:直连 `wx.compressImage`
- 支付宝:直连 `my.compressImage`
compressVideo
unsupported压缩视频文件。
支付宝目标方法
compressVideo
策略说明
- 微信:直连 `wx.compressVideo`
- 支付宝:无同等 API,调用时按 unsupported 报错
createAudioContext
unsupported创建音频上下文。
支付宝目标方法
createAudioContext
策略说明
- 微信:直连 `wx.createAudioContext`
- 支付宝:无同等 API,调用时按 unsupported 报错
createCameraContext
unsupported创建相机上下文对象。
支付宝目标方法
createCameraContext
策略说明
- 微信:直连 `wx.createCameraContext`
- 支付宝:无同等 API,调用时按 unsupported 报错
createInnerAudioContext
native支付宝目标方法
createInnerAudioContext
策略说明
- 微信:直连 `wx.createInnerAudioContext`
- 支付宝:直连 `my.createInnerAudioContext`
createLivePlayerContext
unsupported创建直播播放器上下文。
支付宝目标方法
createLivePlayerContext
策略说明
- 微信:直连 `wx.createLivePlayerContext`
- 支付宝:无同等 API,调用时按 unsupported 报错
createLivePusherContext
unsupported创建直播推流上下文。
支付宝目标方法
createLivePusherContext
策略说明
- 微信:直连 `wx.createLivePusherContext`
- 支付宝:无同等 API,调用时按 unsupported 报错
createMapContext
native支付宝目标方法
createMapContext
策略说明
- 微信:直连 `wx.createMapContext`
- 支付宝:直连 `my.createMapContext`
createMediaAudioPlayer
unsupported创建媒体音频播放器。
支付宝目标方法
createMediaAudioPlayer
策略说明
- 微信:直连 `wx.createMediaAudioPlayer`
- 支付宝:无同等 API,调用时按 unsupported 报错
createMediaContainer
unsupported创建媒体容器实例。
支付宝目标方法
createMediaContainer
策略说明
- 微信:直连 `wx.createMediaContainer`
- 支付宝:无同等 API,调用时按 unsupported 报错
createMediaRecorder
unsupported创建媒体录制器。
支付宝目标方法
createMediaRecorder
策略说明
- 微信:直连 `wx.createMediaRecorder`
- 支付宝:无同等 API,调用时按 unsupported 报错
createVideoContext
native支付宝目标方法
createVideoContext
策略说明
- 微信:直连 `wx.createVideoContext`
- 支付宝:直连 `my.createVideoContext`
createVideoDecoder
unsupported创建视频解码器。
支付宝目标方法
createVideoDecoder
策略说明
- 微信:直连 `wx.createVideoDecoder`
- 支付宝:无同等 API,调用时按 unsupported 报错
createWebAudioContext
unsupported创建 WebAudio 上下文。
支付宝目标方法
createWebAudioContext
策略说明
- 微信:直连 `wx.createWebAudioContext`
- 支付宝:无同等 API,调用时按 unsupported 报错
cropImage
unsupported裁剪图片。
支付宝目标方法
cropImage
策略说明
- 微信:直连 `wx.cropImage`
- 支付宝:无同等 API,调用时按 unsupported 报错
editImage
unsupported编辑图片。
支付宝目标方法
editImage
策略说明
- 微信:直连 `wx.editImage`
- 支付宝:无同等 API,调用时按 unsupported 报错
getAvailableAudioSources
native支付宝目标方法
getAvailableAudioSources
策略说明
- 微信:直连 `wx.getAvailableAudioSources`
- 支付宝:直连 `my.getAvailableAudioSources`
getBackgroundAudioManager
native支付宝目标方法
getBackgroundAudioManager
策略说明
- 微信:直连 `wx.getBackgroundAudioManager`
- 支付宝:直连 `my.getBackgroundAudioManager`
getBackgroundAudioPlayerState
unsupported获取后台音频播放状态。
支付宝目标方法
getBackgroundAudioPlayerState
策略说明
- 微信:直连 `wx.getBackgroundAudioPlayerState`
- 支付宝:无同等 API,调用时按 unsupported 报错
getRecorderManager
native支付宝目标方法
getRecorderManager
策略说明
- 微信:直连 `wx.getRecorderManager`
- 支付宝:直连 `my.getRecorderManager`
getVideoInfo
mapped获取视频详细信息。
支付宝目标方法
getVideoInfo
策略说明
- 微信:直连 `wx.getVideoInfo`
- 支付宝:直连 `my.getVideoInfo`
offAudioInterruptionBegin
native支付宝目标方法
offAudioInterruptionBegin
策略说明
- 微信:直连 `wx.offAudioInterruptionBegin`
- 支付宝:直连 `my.offAudioInterruptionBegin`
offAudioInterruptionEnd
native支付宝目标方法
offAudioInterruptionEnd
策略说明
- 微信:直连 `wx.offAudioInterruptionEnd`
- 支付宝:直连 `my.offAudioInterruptionEnd`
offVoIPVideoMembersChanged
unsupported支付宝目标方法
offVoIPVideoMembersChanged
策略说明
- 微信:直连 `wx.offVoIPVideoMembersChanged`
- 支付宝:未提供 my.offVoIPVideoMembersChanged,调用时将返回 not supported
onAudioInterruptionBegin
native支付宝目标方法
onAudioInterruptionBegin
策略说明
- 微信:直连 `wx.onAudioInterruptionBegin`
- 支付宝:直连 `my.onAudioInterruptionBegin`
onAudioInterruptionEnd
native支付宝目标方法
onAudioInterruptionEnd
策略说明
- 微信:直连 `wx.onAudioInterruptionEnd`
- 支付宝:直连 `my.onAudioInterruptionEnd`
onBackgroundAudioPause
unsupported支付宝目标方法
onBackgroundAudioPause
策略说明
- 微信:直连 `wx.onBackgroundAudioPause`
- 支付宝:未提供 my.onBackgroundAudioPause,调用时将返回 not supported
onBackgroundAudioPlay
unsupported支付宝目标方法
onBackgroundAudioPlay
策略说明
- 微信:直连 `wx.onBackgroundAudioPlay`
- 支付宝:未提供 my.onBackgroundAudioPlay,调用时将返回 not supported
onBackgroundAudioStop
unsupported支付宝目标方法
onBackgroundAudioStop
策略说明
- 微信:直连 `wx.onBackgroundAudioStop`
- 支付宝:未提供 my.onBackgroundAudioStop,调用时将返回 not supported
onVoIPVideoMembersChanged
unsupported支付宝目标方法
onVoIPVideoMembersChanged
策略说明
- 微信:直连 `wx.onVoIPVideoMembersChanged`
- 支付宝:未提供 my.onVoIPVideoMembersChanged,调用时将返回 not supported
pauseBackgroundAudio
unsupported暂停后台音频。
支付宝目标方法
pauseBackgroundAudio
策略说明
- 微信:直连 `wx.pauseBackgroundAudio`
- 支付宝:无同等 API,调用时按 unsupported 报错
pauseVoice
unsupported暂停播放语音。
支付宝目标方法
pauseVoice
策略说明
- 微信:直连 `wx.pauseVoice`
- 支付宝:无同等 API,调用时按 unsupported 报错
playBackgroundAudio
unsupported播放后台音频。
支付宝目标方法
playBackgroundAudio
策略说明
- 微信:直连 `wx.playBackgroundAudio`
- 支付宝:无同等 API,调用时按 unsupported 报错
playVoice
unsupported播放语音。
支付宝目标方法
playVoice
策略说明
- 微信:直连 `wx.playVoice`
- 支付宝:无同等 API,调用时按 unsupported 报错
previewMedia
unsupported预览图片和视频。
支付宝目标方法
previewMedia
策略说明
- 微信:直连 `wx.previewMedia`
- 支付宝:无同等 API,调用时按 unsupported 报错
saveImageToPhotosAlbum
native支付宝目标方法
saveImageToPhotosAlbum
策略说明
- 微信:直连 `wx.saveImageToPhotosAlbum`
- 支付宝:直连 `my.saveImageToPhotosAlbum`
saveVideoToPhotosAlbum
mapped保存视频到系统相册。
支付宝目标方法
saveVideoToPhotosAlbum
策略说明
- 微信:直连 `wx.saveVideoToPhotosAlbum`
- 支付宝:直连 `my.saveVideoToPhotosAlbum`
seekBackgroundAudio
unsupported调整后台音频播放进度。
支付宝目标方法
seekBackgroundAudio
策略说明
- 微信:直连 `wx.seekBackgroundAudio`
- 支付宝:无同等 API,调用时按 unsupported 报错
setInnerAudioOption
unsupported设置内部音频选项。
支付宝目标方法
setInnerAudioOption
策略说明
- 微信:直连 `wx.setInnerAudioOption`
- 支付宝:无同等 API,调用时按 unsupported 报错
stopBackgroundAudio
unsupported停止后台音频。
支付宝目标方法
stopBackgroundAudio
策略说明
- 微信:直连 `wx.stopBackgroundAudio`
- 支付宝:无同等 API,调用时按 unsupported 报错
stopVoice
unsupported停止播放语音。
支付宝目标方法
stopVoice
策略说明
- 微信:直连 `wx.stopVoice`
- 支付宝:无同等 API,调用时按 unsupported 报错
subscribeVoIPVideoMembers
unsupported订阅 VoIP 视频成员变化。
支付宝目标方法
subscribeVoIPVideoMembers
策略说明
- 微信:直连 `wx.subscribeVoIPVideoMembers`
- 支付宝:无同等 API,调用时按 unsupported 报错