Language

FileStore.UnallocatedSpace Property

Definition

Gets the number of unallocated bytes in this file store.

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

Property Value

The number of unallocated 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.getUnallocatedSpace().

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