获取手势控制支持配置项
功能表:supportOperateGestureControl
说明
获取设备默认支持的手势功能、子功能以及对应的手势类型。
示例
Swift
Cmds.getGestureControlSupportConfigs().send { rs in
if case .success(let obj) = rs {
// 成功,obj 为 IDOGestureControlModel? (含设备支持配置)
} else {
// 失败
}
}
Kotlin
Cmds.getGestureControlSupportConfigs().send {
if (it.error.code == 0) {
// 成功,it.`data` 为 IDOGestureControlModel? (含设备支持配置)
} else {
// 失败
}
}
ArkTs
Cmds.getGestureControlSupportConfigs((res) => {
if(res.success){
// 成功,res.data 为 IDOGestureControlModel (含设备支持配置)
} else {
// 失败
}
})