Get Supported Gesture Control Configurations

Function Table Key: supportOperateGestureControl

Description

Get gesture functions, sub-functions and corresponding gesture types supported by default by the device.

Example

Swift

Cmds.getGestureControlSupportConfigs().send { rs in
    if case .success(let obj) = rs {
        // Success, obj is IDOGestureControlModel? (Contains device support configs)
    } else {
        // Failure
    }
}

Kotlin

Cmds.getGestureControlSupportConfigs().send {
    if (it.error.code == 0) {
        // Success, it.`data` is IDOGestureControlModel? (Contains device support configs)
    } else {
        // Failure
    }
}

ArkTs

Cmds.getGestureControlSupportConfigs((res) => {
    if(res.success){
        // Success, res.data is IDOGestureControlModel (Contains device support configs)
    } else {
        // Failure
    }
})
Copyright © 2023-2024 IDO. All rights reserved. all right reserved,powered by Gitbook修改日期: 2026-03-25 09:52:57

results matching ""

    No results matching ""