getDemographicId()

From Engineering Client Portal

Revision as of 15:28, 3 April 2025 by AnkitAgrawal (talk | contribs) (v10.0.0.0 Changes)

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


This API gets the current 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 Demographic ID of the device.