mirror of https://github.com/M66B/FairEmail.git
15 lines
459 B
Kotlin
15 lines
459 B
Kotlin
package com.bugsnag.android
|
|
|
|
interface DeviceIdPersistence {
|
|
/**
|
|
* 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.
|
|
*/
|
|
fun loadDeviceId(requestCreateIfDoesNotExist: Boolean): String?
|
|
}
|