Package com.polar.sdk.impl.utils
Class PolarBackupManager
-
- All Implemented Interfaces:
public final class PolarBackupManager
Handles backing up the device.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
PolarBackupManager.BackupFileData
-
Constructor Summary
Constructors Constructor Description PolarBackupManager(<Error class: unknown class> client)
-
Method Summary
Modifier and Type Method Description final Single<List<PolarBackupManager.BackupFileData>>
backupDevice()
Backs up the device. final Completable
restoreBackup(List<PolarBackupManager.BackupFileData>Â backupFiles)
Restores the backup files. -
-
Method Detail
-
backupDevice
final Single<List<PolarBackupManager.BackupFileData>> backupDevice()
Backs up the device.
- Returns:
Single emitting the list of backed up file data.
-
restoreBackup
final Completable restoreBackup(List<PolarBackupManager.BackupFileData>Â backupFiles)
Restores the backup files.
- Parameters:
backupFiles
- List of BackupFileData to be restored.- Returns:
Completable indicating the completion of the restore operation.
-
-
-
-