Skip to main content

Device Support

Capability List

deviceSupportFeatures is used to query what capabilities the current device supports, such as whether it supports software-side PIN, whether it supports modifying the home screen wallpaper, and basic device information. Call this method before displaying the setting items to avoid showing the user options that are not supported by the device.

const requestResult = await ukeySdk.deviceSupportFeatures(connectId);

Input Fields

Reusable request options

Reference snippet

const requestResult = await ukeySdk.deviceSupportFeatures(connectId);

Result

{
success: true,
payload: {
inputPinOnSoftware: boolean, // Note: You can unlock the device on the software side
modifyHomescreen: boolean, // Note: Wallpaper can be modified
device: Device // Note: Device information
}
}

Errors

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