java.lang.Object |
↳ |
android.app.backup.SharedPreferencesBackupHelper |
|
↳ |
com.microsoft.intune.mam.client.app.backup.MAMSharedPreferencesBackupHelper |
Class Overview
MAM version of SharedPreferencesBackupHelper.
Summary
Public Constructors |
|
MAMSharedPreferencesBackupHelper(Context context, String... prefGroups)
Creates a MAMSharedPreferencesBackupHelper to assist in backing up files.
|
[Expand]
Inherited Methods |
From class
android.app.backup.SharedPreferencesBackupHelper
void
|
performBackup(ParcelFileDescriptor arg0, BackupDataOutput arg1, ParcelFileDescriptor arg2)
|
void
|
restoreEntity(BackupDataInputStream arg0)
|
void
|
writeNewStateDescription(ParcelFileDescriptor arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
android.app.backup.BackupHelper
abstract
void
|
performBackup(ParcelFileDescriptor arg0, BackupDataOutput arg1, ParcelFileDescriptor arg2)
|
abstract
void
|
restoreEntity(BackupDataInputStream arg0)
|
abstract
void
|
writeNewStateDescription(ParcelFileDescriptor arg0)
|
|
From interface
com.microsoft.intune.mam.client.app.backup.HookedBackupHelper
abstract
Context
|
getContext()
|
abstract
String[]
|
getFileNames()
|
abstract
File
|
getRootDirectory()
|
abstract
boolean
|
isValid()
|
abstract
void
|
performBackup(ParcelFileDescriptor arg0, BackupDataOutput arg1, ParcelFileDescriptor arg2)
|
abstract
void
|
performBackupReal(ParcelFileDescriptor arg0, BackupDataOutput arg1, ParcelFileDescriptor arg2)
|
|
Public Constructors
public
MAMSharedPreferencesBackupHelper
(Context context, String... prefGroups)
Creates a MAMSharedPreferencesBackupHelper to assist in backing up files.
Parameters
context |
the app's context. |
prefGroups |
the preferences this helper will backup.
|
Public Methods
public
Context
getContext
()
public
String[]
getFileNames
()
public
File
getRootDirectory
()
public
boolean
isValid
()
public
void
performBackup
(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState)