getDemographicId()

From Engineering Client Portal

Revision as of 11:17, 4 April 2025 by AnkitAgrawal (talk | contribs) (v10.0.0.0 Changes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Engineering Portal / Digital / Android SDK API Reference / getDemographicId()


This API gets the current SDK generated UAID for SDK v10.0.0.0+. Previous versions, it gets Demographic ID of the device.

Warning: calling getDemographicId() in main thread may cause deadlock, be sure to call in a background thread.

Syntax

public String getDemographicId()

Input Parameters

Parameter Description
None

Output Parameters

Output Parameters (Return value) Description
String Returns SDK generated UAID or Demographic ID of the device for legacy versions.