public final class

MAMSharedPreferencesBackupHelper

extends SharedPreferencesBackupHelper
implements HookedSharedPreferencesBackupHelper
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.
Public Methods
Context getContext()
String[] getFileNames()
File getRootDirectory()
boolean isValid()
void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState)
[Expand]
Inherited Methods
From class android.app.backup.SharedPreferencesBackupHelper
From class java.lang.Object
From interface android.app.backup.BackupHelper
From interface com.microsoft.intune.mam.client.app.backup.HookedBackupHelper

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)