getDeviceId()

From Engineering Client Portal

Revision as of 07:33, 21 May 2017 by Admin (talk | contribs) (Created page with "{{Breadcrumb|}} {{Breadcrumb|Digital}} {{Breadcrumb|Android SDK API Reference}} {{CurrentBreadcrumb}} Category:Digital Category:Android SDK API Reference Call this API...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal breadcrumbArrow.png Digital breadcrumbArrow.png Android SDK API Reference breadcrumbArrow.png 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.