getDeviceKeyName

open fun getDeviceKeyName(): String

get device key string

Return

same value if the devices has same vendor id, product id, device class, device subclass and device protocol

open fun getDeviceKeyName(useNewAPI: Boolean): String

get device key string

Return

Parameters

useNewAPI

if true, try to use serial number

Throws

java.lang.IllegalStateException