Added in API level 21

StructStatVfs

class StructStatVfs
kotlin.Any
   ↳ android.system.StructStatVfs

File information returned by Os#fstatvfs and Os#statvfs.

Summary

Public constructors
StructStatVfs(f_bsize: Long, f_frsize: Long, f_blocks: Long, f_bfree: Long, f_bavail: Long, f_files: Long, f_ffree: Long, f_favail: Long, f_fsid: Long, f_flag: Long, f_namemax: Long)

Constructs an instance with the given field values.

Public methods
String

Properties
Long

Free block count available to non-root.

Long

Free block count.

Long

Total block count.

Long

File system block size (used for block counts).

Long

Free file (inode) count available to non-root.

Long

Free file (inode) count.

Long

Total file (inode) count.

Long

Bit mask of ST_* flags.

Long

Fundamental file system block size.

Long

File system id.

Long

Maximum filename length.

Public constructors

StructStatVfs

Added in API level 21
StructStatVfs(
    f_bsize: Long,
    f_frsize: Long,
    f_blocks: Long,
    f_bfree: Long,
    f_bavail: Long,
    f_files: Long,
    f_ffree: Long,
    f_favail: Long,
    f_fsid: Long,
    f_flag: Long,
    f_namemax: Long)

Constructs an instance with the given field values.

Public methods

toString

Added in API level 21
fun toString(): String
Return
String a string representation of the object.

Properties

f_bavail

Added in API level 21
val f_bavail: Long

Free block count available to non-root.

f_bfree

Added in API level 21
val f_bfree: Long

Free block count.

f_blocks

Added in API level 21
val f_blocks: Long

Total block count.

f_bsize

Added in API level 21
val f_bsize: Long

File system block size (used for block counts).

f_favail

Added in API level 21
val f_favail: Long

Free file (inode) count available to non-root.

f_ffree

Added in API level 21
val f_ffree: Long

Free file (inode) count.

f_files

Added in API level 21
val f_files: Long

Total file (inode) count.

f_flag

Added in API level 21
val f_flag: Long

Bit mask of ST_* flags.

f_frsize

Added in API level 21
val f_frsize: Long

Fundamental file system block size.

f_fsid

Added in API level 21
val f_fsid: Long

File system id.

f_namemax

Added in API level 21
val f_namemax: Long

Maximum filename length.