PolarBackupManager
public class PolarBackupManager
-
Declaration
Swift
public struct BackupFileData
-
Declaration
Swift
public init(client: BlePsFtpClient)
-
Backs up the device.
Declaration
Swift
public func backupDevice() -> Single<[BackupFileData]>
Return Value
Single stream
- success: emitting backup files once after read from the device
- onError: see logs for more details
-
Restores backup to the device.
Declaration
Swift
public func restoreBackup(backupFiles: [BackupFileData]) -> Completable
Parameters
backupFiles
backup files to restore to the device
Return Value
Completable stream
- success: once after backup restored
- onError: see logs for more details