deviceSupportFeatures

Detect hardware supported features.

const response = await HardwareSDK.deviceSupportFeatures(connectId);

Params

Optional common params

Example

const response = await HardwareSDK.deviceSupportFeatures(connectId);

Result

{
    success: true,
    payload: {
      inputPinOnSoftware: boolean, // You can unlock the device on the software side
      modifyHomescreen: boolean, // Modify wallpaper 
      device: Device // Device info
    }
}

Error

{
    success: false,
    payload: {
        error: string, // error message
        code: number // error code
    }
}

Last updated