FilerRepository
public class FilerRepository
-
Declaration
Swift
public static let PRESET_PARENT_DIR_MAP_STYLE: String
-
Declaration
Swift
public static let PRESET_PARENT_DIR_MAP_TILES: String
-
Declaration
Swift
public static func sharedInstance() -> FilerRepository
-
Declaration
Swift
public func findFile(filerId: String) -> String?
-
Declaration
Swift
public func getFile(filerId: String, parentDir: String?, completion: ((_ fileData: String?, _ errorMessage: String?) -> Void)?, progressHandler: ((Int) -> ())?)
-
Call this function to get the file using
filerId
Declaration
Swift
public func getFile(filerId: String, completion: ((_ fileData: String?, _ errorMessage: String?) -> Void)?)
Parameters
filerId
The filerId of the file which needs to be fetched
-
Call this function to remove the file using
filerId
Declaration
Swift
public func removeFile(filerId: String) -> Bool
Parameters
filerId
The filerId of the file which needs to be removed