抖音兼容矩阵 · 设备
设备
addPhoneCalendar
unsupported添加日历事件。
抖音目标方法
addPhoneCalendar
策略说明
- 微信:直连 `wx.addPhoneCalendar`
- 抖音:无同等 API,调用时按 unsupported 报错
addPhoneContact
unsupported添加手机联系人。
抖音目标方法
addPhoneContact
策略说明
- 微信:直连 `wx.addPhoneContact`
- 抖音:无同等 API,调用时按 unsupported 报错
addPhoneRepeatCalendar
unsupported添加重复日历事件。
抖音目标方法
addPhoneRepeatCalendar
策略说明
- 微信:直连 `wx.addPhoneRepeatCalendar`
- 抖音:无同等 API,调用时按 unsupported 报错
checkIsOpenAccessibility
unsupported检测系统无障碍是否开启。
抖音目标方法
checkIsOpenAccessibility
策略说明
- 微信:直连 `wx.checkIsOpenAccessibility`
- 抖音:无同等 API,调用时按 unsupported 报错
chooseContact
unsupported抖音目标方法
chooseContact
策略说明
- 微信:直连 `wx.chooseContact`
- 抖音:未提供 tt.chooseContact,调用时将返回 not supported
closeBLEConnection
unsupported断开低功耗蓝牙连接。
抖音目标方法
closeBLEConnection
策略说明
- 微信:直连 `wx.closeBLEConnection`
- 抖音:无同等 API,调用时按 unsupported 报错
closeBluetoothAdapter
unsupported抖音目标方法
closeBluetoothAdapter
策略说明
- 微信:直连 `wx.closeBluetoothAdapter`
- 抖音:未提供 tt.closeBluetoothAdapter,调用时将返回 not supported
connectWifi
unsupported抖音目标方法
connectWifi
策略说明
- 微信:直连 `wx.connectWifi`
- 抖音:未提供 tt.connectWifi,调用时将返回 not supported
createBLEConnection
unsupported创建低功耗蓝牙连接。
抖音目标方法
createBLEConnection
策略说明
- 微信:直连 `wx.createBLEConnection`
- 抖音:无同等 API,调用时按 unsupported 报错
createBLEPeripheralServer
unsupported创建 BLE 外设服务实例。
抖音目标方法
createBLEPeripheralServer
策略说明
- 微信:直连 `wx.createBLEPeripheralServer`
- 抖音:无同等 API,调用时按 unsupported 报错
getBatteryInfo
unsupported异步获取电量信息。
抖音目标方法
getBatteryInfo
策略说明
- 微信:直连 `wx.getBatteryInfo`
- 抖音:无同等 API,调用时按 unsupported 报错
getBatteryInfoSync
unsupported同步获取电量信息。
抖音目标方法
getBatteryInfoSync
策略说明
- 微信:直连 `wx.getBatteryInfoSync`
- 抖音:无同等 API,调用时按 unsupported 报错
getBeacons
unsupported抖音目标方法
getBeacons
策略说明
- 微信:直连 `wx.getBeacons`
- 抖音:未提供 tt.getBeacons,调用时将返回 not supported
getBLEDeviceCharacteristics
unsupported抖音目标方法
getBLEDeviceCharacteristics
策略说明
- 微信:直连 `wx.getBLEDeviceCharacteristics`
- 抖音:未提供 tt.getBLEDeviceCharacteristics,调用时将返回 not supported
getBLEDeviceRSSI
unsupported抖音目标方法
getBLEDeviceRSSI
策略说明
- 微信:直连 `wx.getBLEDeviceRSSI`
- 抖音:未提供 tt.getBLEDeviceRSSI,调用时将返回 not supported
getBLEDeviceServices
unsupported抖音目标方法
getBLEDeviceServices
策略说明
- 微信:直连 `wx.getBLEDeviceServices`
- 抖音:未提供 tt.getBLEDeviceServices,调用时将返回 not supported
getBLEMTU
unsupported抖音目标方法
getBLEMTU
策略说明
- 微信:直连 `wx.getBLEMTU`
- 抖音:未提供 tt.getBLEMTU,调用时将返回 not supported
getBluetoothAdapterState
unsupported抖音目标方法
getBluetoothAdapterState
策略说明
- 微信:直连 `wx.getBluetoothAdapterState`
- 抖音:未提供 tt.getBluetoothAdapterState,调用时将返回 not supported
getBluetoothDevices
unsupported抖音目标方法
getBluetoothDevices
策略说明
- 微信:直连 `wx.getBluetoothDevices`
- 抖音:未提供 tt.getBluetoothDevices,调用时将返回 not supported
getClipboardData
mapped获取剪贴板内容。
抖音目标方法
getClipboardData
策略说明
- 微信:直连 `wx.getClipboardData`
- 抖音:直连 `tt.getClipboardData`
getConnectedBluetoothDevices
unsupported抖音目标方法
getConnectedBluetoothDevices
策略说明
- 微信:直连 `wx.getConnectedBluetoothDevices`
- 抖音:未提供 tt.getConnectedBluetoothDevices,调用时将返回 not supported
getConnectedWifi
native抖音目标方法
getConnectedWifi
策略说明
- 微信:直连 `wx.getConnectedWifi`
- 抖音:直连 `tt.getConnectedWifi`
getHCEState
unsupported获取 HCE 状态。
抖音目标方法
getHCEState
策略说明
- 微信:直连 `wx.getHCEState`
- 抖音:无同等 API,调用时按 unsupported 报错
getLocalIPAddress
unsupported抖音目标方法
getLocalIPAddress
策略说明
- 微信:直连 `wx.getLocalIPAddress`
- 抖音:未提供 tt.getLocalIPAddress,调用时将返回 not supported
getNetworkType
unsupported获取网络类型。
抖音目标方法
getNetworkType
策略说明
- 微信:直连 `wx.getNetworkType`
- 抖音:无同等 API,调用时按 unsupported 报错
getNFCAdapter
unsupported获取 NFC 适配器。
抖音目标方法
getNFCAdapter
策略说明
- 微信:直连 `wx.getNFCAdapter`
- 抖音:无同等 API,调用时按 unsupported 报错
getRandomValues
unsupported获取随机值。
抖音目标方法
getRandomValues
策略说明
- 微信:直连 `wx.getRandomValues`
- 抖音:无同等 API,调用时按 unsupported 报错
getScreenBrightness
native抖音目标方法
getScreenBrightness
策略说明
- 微信:直连 `wx.getScreenBrightness`
- 抖音:直连 `tt.getScreenBrightness`
getScreenRecordingState
unsupported获取录屏状态。
抖音目标方法
getScreenRecordingState
策略说明
- 微信:直连 `wx.getScreenRecordingState`
- 抖音:无同等 API,调用时按 unsupported 报错
isBluetoothDevicePaired
unsupported判断蓝牙设备是否已配对。
抖音目标方法
isBluetoothDevicePaired
策略说明
- 微信:直连 `wx.isBluetoothDevicePaired`
- 抖音:无同等 API,调用时按 unsupported 报错
makeBluetoothPair
unsupported抖音目标方法
makeBluetoothPair
策略说明
- 微信:直连 `wx.makeBluetoothPair`
- 抖音:未提供 tt.makeBluetoothPair,调用时将返回 not supported
makePhoneCall
native抖音目标方法
makePhoneCall
策略说明
- 微信:直连 `wx.makePhoneCall`
- 抖音:直连 `tt.makePhoneCall`
notifyBLECharacteristicValueChange
unsupported抖音目标方法
notifyBLECharacteristicValueChange
策略说明
- 微信:直连 `wx.notifyBLECharacteristicValueChange`
- 抖音:未提供 tt.notifyBLECharacteristicValueChange,调用时将返回 not supported
offAccelerometerChange
unsupported抖音目标方法
offAccelerometerChange
策略说明
- 微信:直连 `wx.offAccelerometerChange`
- 抖音:未提供 tt.offAccelerometerChange,调用时将返回 not supported
offBatteryInfoChange
unsupported抖音目标方法
offBatteryInfoChange
策略说明
- 微信:直连 `wx.offBatteryInfoChange`
- 抖音:未提供 tt.offBatteryInfoChange,调用时将返回 not supported
offBeaconServiceChange
unsupported抖音目标方法
offBeaconServiceChange
策略说明
- 微信:直连 `wx.offBeaconServiceChange`
- 抖音:未提供 tt.offBeaconServiceChange,调用时将返回 not supported
offBeaconUpdate
unsupported抖音目标方法
offBeaconUpdate
策略说明
- 微信:直连 `wx.offBeaconUpdate`
- 抖音:未提供 tt.offBeaconUpdate,调用时将返回 not supported
offBLECharacteristicValueChange
unsupported抖音目标方法
offBLECharacteristicValueChange
策略说明
- 微信:直连 `wx.offBLECharacteristicValueChange`
- 抖音:未提供 tt.offBLECharacteristicValueChange,调用时将返回 not supported
offBLEConnectionStateChange
unsupported取消监听 BLE 连接状态变化。
抖音目标方法
offBLEConnectionStateChange
策略说明
- 微信:直连 `wx.offBLEConnectionStateChange`
- 抖音:抖音无同等 API,调用时报 not supported
offBLEMTUChange
unsupported抖音目标方法
offBLEMTUChange
策略说明
- 微信:直连 `wx.offBLEMTUChange`
- 抖音:未提供 tt.offBLEMTUChange,调用时将返回 not supported
offBLEPeripheralConnectionStateChanged
unsupported抖音目标方法
offBLEPeripheralConnectionStateChanged
策略说明
- 微信:直连 `wx.offBLEPeripheralConnectionStateChanged`
- 抖音:未提供 tt.offBLEPeripheralConnectionStateChanged,调用时将返回 not supported
offBluetoothAdapterStateChange
unsupported抖音目标方法
offBluetoothAdapterStateChange
策略说明
- 微信:直连 `wx.offBluetoothAdapterStateChange`
- 抖音:未提供 tt.offBluetoothAdapterStateChange,调用时将返回 not supported
offBluetoothDeviceFound
unsupported抖音目标方法
offBluetoothDeviceFound
策略说明
- 微信:直连 `wx.offBluetoothDeviceFound`
- 抖音:未提供 tt.offBluetoothDeviceFound,调用时将返回 not supported
offCompassChange
native抖音目标方法
offCompassChange
策略说明
- 微信:直连 `wx.offCompassChange`
- 抖音:直连 `tt.offCompassChange`
offDeviceMotionChange
unsupported抖音目标方法
offDeviceMotionChange
策略说明
- 微信:直连 `wx.offDeviceMotionChange`
- 抖音:未提供 tt.offDeviceMotionChange,调用时将返回 not supported
offGetWifiList
native抖音目标方法
offGetWifiList
策略说明
- 微信:直连 `wx.offGetWifiList`
- 抖音:直连 `tt.offGetWifiList`
offGyroscopeChange
unsupported抖音目标方法
offGyroscopeChange
策略说明
- 微信:直连 `wx.offGyroscopeChange`
- 抖音:未提供 tt.offGyroscopeChange,调用时将返回 not supported
offHCEMessage
unsupported抖音目标方法
offHCEMessage
策略说明
- 微信:直连 `wx.offHCEMessage`
- 抖音:未提供 tt.offHCEMessage,调用时将返回 not supported
offKeyboardHeightChange
unsupported抖音目标方法
offKeyboardHeightChange
策略说明
- 微信:直连 `wx.offKeyboardHeightChange`
- 抖音:未提供 tt.offKeyboardHeightChange,调用时将返回 not supported
offMemoryWarning
unsupported取消内存不足告警监听。
抖音目标方法
offMemoryWarning
策略说明
- 微信:直连 `wx.offMemoryWarning`
- 抖音:无同等 API,调用时按 unsupported 报错
offScreenRecordingStateChanged
unsupported抖音目标方法
offScreenRecordingStateChanged
策略说明
- 微信:直连 `wx.offScreenRecordingStateChanged`
- 抖音:未提供 tt.offScreenRecordingStateChanged,调用时将返回 not supported
offUserCaptureScreen
native抖音目标方法
offUserCaptureScreen
策略说明
- 微信:直连 `wx.offUserCaptureScreen`
- 抖音:直连 `tt.offUserCaptureScreen`
offWifiConnected
unsupported抖音目标方法
offWifiConnected
策略说明
- 微信:直连 `wx.offWifiConnected`
- 抖音:未提供 tt.offWifiConnected,调用时将返回 not supported
offWifiConnectedWithPartialInfo
unsupported抖音目标方法
offWifiConnectedWithPartialInfo
策略说明
- 微信:直连 `wx.offWifiConnectedWithPartialInfo`
- 抖音:未提供 tt.offWifiConnectedWithPartialInfo,调用时将返回 not supported
onAccelerometerChange
native抖音目标方法
onAccelerometerChange
策略说明
- 微信:直连 `wx.onAccelerometerChange`
- 抖音:直连 `tt.onAccelerometerChange`
onBatteryInfoChange
unsupported抖音目标方法
onBatteryInfoChange
策略说明
- 微信:直连 `wx.onBatteryInfoChange`
- 抖音:未提供 tt.onBatteryInfoChange,调用时将返回 not supported
onBeaconServiceChange
unsupported抖音目标方法
onBeaconServiceChange
策略说明
- 微信:直连 `wx.onBeaconServiceChange`
- 抖音:未提供 tt.onBeaconServiceChange,调用时将返回 not supported
onBeaconUpdate
unsupported抖音目标方法
onBeaconUpdate
策略说明
- 微信:直连 `wx.onBeaconUpdate`
- 抖音:未提供 tt.onBeaconUpdate,调用时将返回 not supported
onBLECharacteristicValueChange
unsupported抖音目标方法
onBLECharacteristicValueChange
策略说明
- 微信:直连 `wx.onBLECharacteristicValueChange`
- 抖音:未提供 tt.onBLECharacteristicValueChange,调用时将返回 not supported
onBLEConnectionStateChange
unsupported监听 BLE 连接状态变化。
抖音目标方法
onBLEConnectionStateChange
策略说明
- 微信:直连 `wx.onBLEConnectionStateChange`
- 抖音:抖音无同等 API,调用时报 not supported
onBLEMTUChange
unsupported抖音目标方法
onBLEMTUChange
策略说明
- 微信:直连 `wx.onBLEMTUChange`
- 抖音:未提供 tt.onBLEMTUChange,调用时将返回 not supported
onBLEPeripheralConnectionStateChanged
unsupported抖音目标方法
onBLEPeripheralConnectionStateChanged
策略说明
- 微信:直连 `wx.onBLEPeripheralConnectionStateChanged`
- 抖音:未提供 tt.onBLEPeripheralConnectionStateChanged,调用时将返回 not supported
onBluetoothAdapterStateChange
unsupported抖音目标方法
onBluetoothAdapterStateChange
策略说明
- 微信:直连 `wx.onBluetoothAdapterStateChange`
- 抖音:未提供 tt.onBluetoothAdapterStateChange,调用时将返回 not supported
onBluetoothDeviceFound
unsupported抖音目标方法
onBluetoothDeviceFound
策略说明
- 微信:直连 `wx.onBluetoothDeviceFound`
- 抖音:未提供 tt.onBluetoothDeviceFound,调用时将返回 not supported
onCompassChange
native抖音目标方法
onCompassChange
策略说明
- 微信:直连 `wx.onCompassChange`
- 抖音:直连 `tt.onCompassChange`
onDeviceMotionChange
unsupported抖音目标方法
onDeviceMotionChange
策略说明
- 微信:直连 `wx.onDeviceMotionChange`
- 抖音:未提供 tt.onDeviceMotionChange,调用时将返回 not supported
onGetWifiList
native抖音目标方法
onGetWifiList
策略说明
- 微信:直连 `wx.onGetWifiList`
- 抖音:直连 `tt.onGetWifiList`
onGyroscopeChange
unsupported抖音目标方法
onGyroscopeChange
策略说明
- 微信:直连 `wx.onGyroscopeChange`
- 抖音:未提供 tt.onGyroscopeChange,调用时将返回 not supported
onHCEMessage
unsupported抖音目标方法
onHCEMessage
策略说明
- 微信:直连 `wx.onHCEMessage`
- 抖音:未提供 tt.onHCEMessage,调用时将返回 not supported
onKeyboardHeightChange
unsupported抖音目标方法
onKeyboardHeightChange
策略说明
- 微信:直连 `wx.onKeyboardHeightChange`
- 抖音:未提供 tt.onKeyboardHeightChange,调用时将返回 not supported
onMemoryWarning
native抖音目标方法
onMemoryWarning
策略说明
- 微信:直连 `wx.onMemoryWarning`
- 抖音:直连 `tt.onMemoryWarning`
onScreenRecordingStateChanged
unsupported抖音目标方法
onScreenRecordingStateChanged
策略说明
- 微信:直连 `wx.onScreenRecordingStateChanged`
- 抖音:未提供 tt.onScreenRecordingStateChanged,调用时将返回 not supported
onUserCaptureScreen
native抖音目标方法
onUserCaptureScreen
策略说明
- 微信:直连 `wx.onUserCaptureScreen`
- 抖音:直连 `tt.onUserCaptureScreen`
onWifiConnected
unsupported抖音目标方法
onWifiConnected
策略说明
- 微信:直连 `wx.onWifiConnected`
- 抖音:未提供 tt.onWifiConnected,调用时将返回 not supported
onWifiConnectedWithPartialInfo
unsupported抖音目标方法
onWifiConnectedWithPartialInfo
策略说明
- 微信:直连 `wx.onWifiConnectedWithPartialInfo`
- 抖音:未提供 tt.onWifiConnectedWithPartialInfo,调用时将返回 not supported
openBluetoothAdapter
unsupported抖音目标方法
openBluetoothAdapter
策略说明
- 微信:直连 `wx.openBluetoothAdapter`
- 抖音:未提供 tt.openBluetoothAdapter,调用时将返回 not supported
openSystemBluetoothSetting
unsupported打开系统蓝牙设置页面。
抖音目标方法
openSystemBluetoothSetting
策略说明
- 微信:直连 `wx.openSystemBluetoothSetting`
- 抖音:无同等 API,调用时按 unsupported 报错
readBLECharacteristicValue
unsupported抖音目标方法
readBLECharacteristicValue
策略说明
- 微信:直连 `wx.readBLECharacteristicValue`
- 抖音:未提供 tt.readBLECharacteristicValue,调用时将返回 not supported
setBLEMTU
unsupported抖音目标方法
setBLEMTU
策略说明
- 微信:直连 `wx.setBLEMTU`
- 抖音:未提供 tt.setBLEMTU,调用时将返回 not supported
setClipboardData
mapped设置剪贴板内容。
抖音目标方法
setClipboardData
策略说明
- 微信:直连 `wx.setClipboardData`
- 抖音:直连 `tt.setClipboardData`
setKeepScreenOn
native抖音目标方法
setKeepScreenOn
策略说明
- 微信:直连 `wx.setKeepScreenOn`
- 抖音:直连 `tt.setKeepScreenOn`
setScreenBrightness
native抖音目标方法
setScreenBrightness
策略说明
- 微信:直连 `wx.setScreenBrightness`
- 抖音:直连 `tt.setScreenBrightness`
setWifiList
unsupported抖音目标方法
setWifiList
策略说明
- 微信:直连 `wx.setWifiList`
- 抖音:未提供 tt.setWifiList,调用时将返回 not supported
startAccelerometer
native抖音目标方法
startAccelerometer
策略说明
- 微信:直连 `wx.startAccelerometer`
- 抖音:直连 `tt.startAccelerometer`
startBeaconDiscovery
unsupported抖音目标方法
startBeaconDiscovery
策略说明
- 微信:直连 `wx.startBeaconDiscovery`
- 抖音:未提供 tt.startBeaconDiscovery,调用时将返回 not supported
startBluetoothDevicesDiscovery
unsupported抖音目标方法
startBluetoothDevicesDiscovery
策略说明
- 微信:直连 `wx.startBluetoothDevicesDiscovery`
- 抖音:未提供 tt.startBluetoothDevicesDiscovery,调用时将返回 not supported
startDeviceMotionListening
unsupported开始监听设备方向变化。
抖音目标方法
startDeviceMotionListening
策略说明
- 微信:直连 `wx.startDeviceMotionListening`
- 抖音:无同等 API,调用时按 unsupported 报错
startGyroscope
unsupported抖音目标方法
startGyroscope
策略说明
- 微信:直连 `wx.startGyroscope`
- 抖音:未提供 tt.startGyroscope,调用时将返回 not supported
startHCE
unsupported启动 HCE 功能。
抖音目标方法
startHCE
策略说明
- 微信:直连 `wx.startHCE`
- 抖音:无同等 API,调用时按 unsupported 报错
startWifi
unsupported抖音目标方法
startWifi
策略说明
- 微信:直连 `wx.startWifi`
- 抖音:未提供 tt.startWifi,调用时将返回 not supported
stopAccelerometer
native抖音目标方法
stopAccelerometer
策略说明
- 微信:直连 `wx.stopAccelerometer`
- 抖音:直连 `tt.stopAccelerometer`
stopBeaconDiscovery
unsupported抖音目标方法
stopBeaconDiscovery
策略说明
- 微信:直连 `wx.stopBeaconDiscovery`
- 抖音:未提供 tt.stopBeaconDiscovery,调用时将返回 not supported
stopBluetoothDevicesDiscovery
unsupported抖音目标方法
stopBluetoothDevicesDiscovery
策略说明
- 微信:直连 `wx.stopBluetoothDevicesDiscovery`
- 抖音:未提供 tt.stopBluetoothDevicesDiscovery,调用时将返回 not supported
stopDeviceMotionListening
unsupported停止监听设备方向变化。
抖音目标方法
stopDeviceMotionListening
策略说明
- 微信:直连 `wx.stopDeviceMotionListening`
- 抖音:无同等 API,调用时按 unsupported 报错
stopGyroscope
unsupported抖音目标方法
stopGyroscope
策略说明
- 微信:直连 `wx.stopGyroscope`
- 抖音:未提供 tt.stopGyroscope,调用时将返回 not supported
stopHCE
unsupported停止 HCE 功能。
抖音目标方法
stopHCE
策略说明
- 微信:直连 `wx.stopHCE`
- 抖音:无同等 API,调用时按 unsupported 报错
stopWifi
unsupported抖音目标方法
stopWifi
策略说明
- 微信:直连 `wx.stopWifi`
- 抖音:未提供 tt.stopWifi,调用时将返回 not supported
writeBLECharacteristicValue
unsupported抖音目标方法
writeBLECharacteristicValue
策略说明
- 微信:直连 `wx.writeBLECharacteristicValue`
- 抖音:未提供 tt.writeBLECharacteristicValue,调用时将返回 not supported