ws1-client-sdk/com.airwatch.sdk/SDKManager/getDeviceSerialId
getDeviceSerialId¶
open fun getDeviceSerialId(): String
Returns the device SERIAL ID. From Android Q only Hub has the permission to read it.
Return¶
Non-null string containing the device serial ID. Returns an empty string if the serial ID is unavailable.
Throws¶
| Exception | Condition |
|---|---|
| com.airwatch.sdk.AirWatchSDKException | if the API is not available in the Anchor Application, if binding with the Anchor app fails, or if the Anchor app API version is below the required minimum (v10). |