public class SaveFile
extends java.lang.Object
Contains the static methods which record various information about the notifications in the log files stored in the external storage of the device.
Constructor and Description |
---|
SaveFile() |
Modifier and Type | Method and Description |
---|---|
static void |
recordNotification(int sent,
int clicked,
int acknowledged,
android.content.Context context)
Keeps track of the number of each type of record stored in a file.
|
static void |
recordNotificationType(android.content.Context context)
Records the type of preferences which were present when a notification was sent.
|
public static void recordNotification(int sent, int clicked, int acknowledged, android.content.Context context)
sent
- 1 if a notification has been sent, 1 if a goal notification has been
sent 0 otherwiseclicked
- 1 if a notification has been clicked on, 1 if a goal notification has
been sent, 0 otherwiseacknowledged
- 1 if a movement has been registered, 0 otherwisecontext
- the application context which the method has been called from and which
will be used to access and write to the external storage of the devicepublic static void recordNotificationType(android.content.Context context)
context
- the application context which this method was called from