![]() |
Speedify SDK for Android 15.5.0
|
Helper class for getting unique ID of the device. More...
Classes | |
class | UuidHandler |
Callback for when the UUID is available. More... | |
Static Public Member Functions | |
static String | GetUuid (Context context) |
Gets the UUID of the device. | |
static String | GetUuid (Context context, UuidHandler handlerCallback) |
Gets the UUID of the device, possibly asynchronously. | |
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.
|
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, |