Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 705 Bytes

devicesupportfeatures.md

File metadata and controls

42 lines (32 loc) · 705 Bytes

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
    }
}