public final class

MAMFileBackupHelper

extends FileBackupHelper
implements HookedFileBackupHelper
java.lang.Object
   ↳ android.app.backup.FileBackupHelper
     ↳ com.microsoft.intune.mam.client.app.backup.MAMFileBackupHelper

Class Overview

MAM version FileBackupHelper.

Summary

Public Constructors
MAMFileBackupHelper(Context context, String... fileNames)
Creates a MAMFileBackupHelper 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.FileBackupHelper
From class java.lang.Object
From interface android.app.backup.BackupHelper
From interface com.microsoft.intune.mam.client.app.backup.HookedBackupHelper

Public Constructors

public MAMFileBackupHelper (Context context, String... fileNames)

Creates a MAMFileBackupHelper to assist in backing up files.

Parameters
context the app's context.
fileNames the names of the files to back up.

Public Methods

public Context getContext ()

public String[] getFileNames ()

public File getRootDirectory ()

public boolean isValid ()

public void performBackup (ParcelFileDescriptor oldState, BackupDataOutput data, ParcelFileDescriptor newState)