Speedify SDK for Android
15.0.0
|
Helper class for getting unique ID of the device.
On devices with Play Services and Ad Tracking enabled, this is the AdvertisingId. On other devices, this is a randomly generated UUID.
Classes | |
class | UuidHandler |
Static Public Member Functions | |
static String | GetUuid (Context context) |
Gets the UUID of the device. More... | |
static String | GetUuid (Context context, UuidHandler handlerCallback) |
Gets the UUID of the device, possibly asynchronously. More... | |
|
static |
Gets the UUID of the device.
Note that this may be null or empty, as querying Play Services is asynchronous.
context | context to load uuid |
|
static |
Gets the UUID of the device, possibly asynchronously.
Note that the return may be null or empty, as querying Play Services is asynchronous. The callback will be called when the uuid is available.
context | context to load uuid |
handlerCallback | callback with uuid, |