Package zendesk.core
Class ZendeskMachineIdStorage
- java.lang.Object
-
- zendesk.core.ZendeskMachineIdStorage
-
- All Implemented Interfaces:
- MachineIdStorage
public class ZendeskMachineIdStorage extends java.lang.Object implements MachineIdStorage
Implementation ofMachineIdStorage
-
-
Constructor Summary
Constructors Constructor and Description ZendeskMachineIdStorage(SharedPreferences sharedPreferences)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.String
getMachineId()
Generates, stores and returns aUUID
string to uniquely identify the host app install.
-
-
-
Method Detail
-
getMachineId
public java.lang.String getMachineId()
Generates, stores and returns aUUID
string to uniquely identify the host app install. Note: This identifier lives until the host app is deleted. It is generated and returned on first call of this API and then just returned on future calls.- Specified by:
getMachineId
in interfaceMachineIdStorage
- Returns:
- The machine id that already stored and identified the install.
-
-