支付宝兼容矩阵 · 数据缓存
数据缓存
batchGetStorage
unsupported批量异步读取缓存。
支付宝目标方法
batchGetStorage
策略说明
- 微信:直连 `wx.batchGetStorage`
- 支付宝:无同等 API,调用时按 unsupported 报错
batchGetStorageSync
unsupported批量同步读取缓存。
支付宝目标方法
batchGetStorageSync
策略说明
- 微信:直连 `wx.batchGetStorageSync`
- 支付宝:无同等 API,调用时按 unsupported 报错
batchSetStorage
unsupported批量异步写入缓存。
支付宝目标方法
batchSetStorage
策略说明
- 微信:直连 `wx.batchSetStorage`
- 支付宝:无同等 API,调用时按 unsupported 报错
batchSetStorageSync
unsupported批量同步写入缓存。
支付宝目标方法
batchSetStorageSync
策略说明
- 微信:直连 `wx.batchSetStorageSync`
- 支付宝:无同等 API,调用时按 unsupported 报错
clearStorageSync
native支付宝目标方法
clearStorageSync
策略说明
- 微信:直连 `wx.clearStorageSync`
- 支付宝:直连 `my.clearStorageSync`
createBufferURL
unsupported创建缓冲区 URL。
支付宝目标方法
createBufferURL
策略说明
- 微信:直连 `wx.createBufferURL`
- 支付宝:无同等 API,调用时按 unsupported 报错
createCacheManager
unsupported创建缓存管理器。
支付宝目标方法
createCacheManager
策略说明
- 微信:直连 `wx.createCacheManager`
- 支付宝:无同等 API,调用时按 unsupported 报错
getStorageInfo
native支付宝目标方法
getStorageInfo
策略说明
- 微信:直连 `wx.getStorageInfo`
- 支付宝:直连 `my.getStorageInfo`
getStorageInfoSync
native支付宝目标方法
getStorageInfoSync
策略说明
- 微信:直连 `wx.getStorageInfoSync`
- 支付宝:直连 `my.getStorageInfoSync`
getStorageSync
native支付宝目标方法
getStorageSync
策略说明
- 微信:直连 `wx.getStorageSync`
- 支付宝:直连 `my.getStorageSync`
removeStorage
native支付宝目标方法
removeStorage
策略说明
- 微信:直连 `wx.removeStorage`
- 支付宝:直连 `my.removeStorage`
removeStorageSync
native支付宝目标方法
removeStorageSync
策略说明
- 微信:直连 `wx.removeStorageSync`
- 支付宝:直连 `my.removeStorageSync`
revokeBufferURL
unsupported释放缓冲区 URL。
支付宝目标方法
revokeBufferURL
策略说明
- 微信:直连 `wx.revokeBufferURL`
- 支付宝:无同等 API,调用时按 unsupported 报错
setStorageSync
native支付宝目标方法
setStorageSync
策略说明
- 微信:直连 `wx.setStorageSync`
- 支付宝:直连 `my.setStorageSync`