closeVault (method)

Closes the vault.

Syntax

- (void)closeVault:(BOOL)force;
public func closeVault(_ force: Bool) throws -> Void

Remarks

This method closes the currently-open vault.

For CBDrive, the Force parameter specifies whether to forcefully close any file or directory handles open currently. If Force is false, this method will fail if any handles are currently open. (In CBVault, the Force parameter's value is ignored.)

Note: This method can only be called when Active is true.

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 iOS Edition - Version 20.0 [Build 8031]