Package 

Interface DeviceIdPersistence

    • Method Summary

      Modifier and Type Method Description
      abstract String loadDeviceId(Boolean requestCreateIfDoesNotExist) Loads the device ID from storage.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loadDeviceId

         abstract String loadDeviceId(Boolean requestCreateIfDoesNotExist)

        Loads the device ID from storage.

        Device IDs are UUIDs which are persisted on a per-install basis.

        This method must be thread-safe and multi-process safe.

        Note: requestCreateIfDoesNotExist is only a request; an implementation may still refuse to create a new ID.