UserStorageFileSystemState
@objc(GSUserStorageFileSystemState)
public enum UserStorageFileSystemState : Int, CustomStringConvertible
File system state of the user storage.
-
Media is being mounted.
Declaration
Swift
case mounting
-
Media has to be reformatted.
This means that the file system is not supported or the partition is not formatted, or the capacity is too low.
Note
The media won’t be usable until it is formatted.Declaration
Swift
case needFormat
-
Media is currently formatting.
Declaration
Swift
case formatting
-
Media is ready to be used.
Declaration
Swift
case ready
-
The latest try to format the media succeeded.
This state indicates the result of formatting and is transient. The state will change to another state quickly after formatting result is notified.
Declaration
Swift
case formattingSucceeded
-
The latest try to format the media failed.
This state indicates the result of formatting and is transient. The state will change to another state quickly after formatting result is notified.
Declaration
Swift
case formattingFailed
-
The latest try to format the media was denied.
This state indicates the result of formatting and is transient. The state will change back to
.needFormat
or.ready
immediately after formatting result is notified.Declaration
Swift
case formattingDenied
-
The transmitted password for decryption is wrong
Declaration
Swift
case decryptionWrongPassword
-
The usage specified with the password does not match with the current drone context (RECORD or MASS STORAGE (USB))
Declaration
Swift
case decryptionWrongUsage
-
The transmitted password is correct
Declaration
Swift
case decryptionSucceeded
-
An error occurred, media cannot be used.
Declaration
Swift
case error
-
The media file system needs a password for decryption.
Declaration
Swift
case passwordNeeded
-
Media is being checked.
Declaration
Swift
case checking
-
The media file system is not managed by the drone itself but accessible by external means.
Declaration
Swift
case externalAccessOk
-
Debug description.
Declaration
Swift
public var description: String { get }