Extension of android.app.backup.FileBackupHelper for backing up files from the secure file system. More...
This class is a subclass of android.app.back
up.FileBackupHelper
for backing up files from the BlackBerry Dynamics secure file system. See BlackBerry Dynamics File I/O Package for details of the secure file system.
This class has the same programming interface as the android.app.back
up.FileBackupHelper
class, with the following exceptions:
Public Member Functions | |
GDFileBackupHelper (Context ctx, String... files) | |
Construct new instance. More... | |
void | performBackup (ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState) |
Overridden method for access to the secure file system. More... | |
void | writeNewStateDescription (ParcelFileDescriptor fd) |
Overridden method for access to the secure file system. More... | |
GDFileBackupHelper | ( | Context | ctx, |
String... | files | ||
) |
Call this constructor to create a new instance of the class.
Except as noted above, the semantics are the same as the native constructor. See the android.app.backup.FileBackupHelper on the android.com developer website.
ctx | Context object of the backup agent, typically this . |
files | One or more String values, each containing the path of a file in the secure store that is to be backed up. |
void performBackup | ( | ParcelFileDescriptor | oldState, |
BackupDataOutput | data, | ||
ParcelFileDescriptor | newState | ||
) |
This method is overriden in this subclass, in order to access the BlackBerry Dynamics secure file system.
Except as noted above, the semantics are the same as the native method. See the android.app.backup.FileBackupHelper on the android.com developer website.
oldState | ParcelFileDescriptor with the same semantics as the parameter to the native method. |
data | BackupDataOutput with the same semantics as the parameter to the native method. |
newState | ParcelFileDescriptor with the same semantics as the parameter to the native method. |
void writeNewStateDescription | ( | ParcelFileDescriptor | fd | ) |
This method is overriden in this subclass, in order to access the BlackBerry Dynamics secure file system.
Except as noted above, the semantics are the same as the native method. See the android.app.backup.FileBackupHelper on the android.com developer website.
fd | ParcelFileDescriptor with the same semantics as the parameter to the native method. |