RemovableUserStorage

Removable user storage interface.

This peripheral can be obtained from a Drone using:

drone.getPeripheral(RemovableUserStorage.class)

See also

Peripheral.Provider

Functions

Link copied to clipboard
abstract fun canFormat(): Boolean
Tells whether the media can be formatted.
Link copied to clipboard
Requests a format of the media.
Link copied to clipboard
Gets the progress state of the formatting process.
Link copied to clipboard
Requests a format of the media with encryption.
Link copied to clipboard
abstract fun getAvailableSpace(): Long
Gets available free space on current media.
Link copied to clipboard
Gets the current file system state of the user storage.
Link copied to clipboard
Gets information on current media.
Link copied to clipboard
Gets the current physical state of the user storage.
Link copied to clipboard
abstract fun getUuid(): String
Gets the UUID of user storage.
Link copied to clipboard
abstract fun hasCheckError(): Boolean
Tells whether media failed being checked without error.
Link copied to clipboard
abstract fun isEncrypted(): Boolean
Tells whether the media is encrypted.
Link copied to clipboard
Tells whether the media can be encrypted.
Link copied to clipboard
Sends a password in order to decrypt the media.
Link copied to clipboard
Retrieves the supported formatting types.