canFormat

abstract fun canFormat(): Boolean

Tells whether the media can be formatted.

With some drones, the media formatting is allowed only when the file system state is NEED_FORMAT. With some other drones, it is allowed in both NEED_FORMAT and READY states.

Return

true if the media can be formatted, otherwise false

See also