Engineering Portal / Digital / Android SDK API Reference / getDeviceId()
Call this API to get a string defining the Device ID number of the current Android device. Device ID is the Google Ad-Id, if there is a Google Play Service installed and updated, or the ANDROID_ID, if there is no Google Play installed and updated.
Syntax
public String getDeviceId()
Input Parameters
Parameter |
Description
|
None |
|
Output Parameters
Output Parameters (Return value) |
Description
|
DeviceID |
The current device ID number for the device.
|