public final class IntentDataTransferMode
extends java.lang.Enum
Modifier and Type | Field and Description |
---|---|
static IntentDataTransferMode |
OPTIMISED
Data is cached in memory and can be accessed from different activities which live in the same
process.
|
static IntentDataTransferMode |
PERSISTED_OPTIMISED
Like
IntentDataTransferMode.OPTIMISED , but additionally data is saved to the files in internal
storage. |
static IntentDataTransferMode |
STANDARD
Standard Android intent data transfer.
|
Modifier and Type | Method and Description |
---|---|
static IntentDataTransferMode |
valueOf(java.lang.String name) |
static IntentDataTransferMode[] |
values() |
public static final IntentDataTransferMode STANDARD
public static final IntentDataTransferMode OPTIMISED
public static final IntentDataTransferMode PERSISTED_OPTIMISED
IntentDataTransferMode.OPTIMISED
, but additionally data is saved to the files in internal
storage. When process is terminated, data can be read from the internal storage which is
private to the application and other applications cannot access it (nor can the user).
When data is not needed any more, all unused files will be cleared from the private storage.
This mode is used by default.public static IntentDataTransferMode[] values()
public static IntentDataTransferMode valueOf(java.lang.String name)