Language

FileStore.UsableSpace Property

Definition

Gets the number of bytes available to this Java virtual machine on this file store.

public abstract long UsableSpace { [Android.Runtime.Register("getUsableSpace", "()J", "GetGetUsableSpaceHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getUsableSpace", "()J", "GetGetUsableSpaceHandler", ApiSince=26)>]
member this.UsableSpace : int64

Property Value

The number of available bytes.

Attributes

Exceptions

If an I/O error occurs.

Remarks

This value is a hint, not a guarantee; it is most accurate immediately after retrieval and may be affected by external I/O operations.

Java documentation for java.nio.file.FileStore.getUsableSpace().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to