Partager via


StorageManager.IsAllocationSupported(FileDescriptor) Method

Definition

Test if the given file descriptor supports allocation of disk space using #allocateBytes(FileDescriptor, long).

[Android.Runtime.Register("isAllocationSupported", "(Ljava/io/FileDescriptor;)Z", "GetIsAllocationSupported_Ljava_io_FileDescriptor_Handler", ApiSince=27)]
public virtual bool IsAllocationSupported (Java.IO.FileDescriptor fd);
[<Android.Runtime.Register("isAllocationSupported", "(Ljava/io/FileDescriptor;)Z", "GetIsAllocationSupported_Ljava_io_FileDescriptor_Handler", ApiSince=27)>]
abstract member IsAllocationSupported : Java.IO.FileDescriptor -> bool
override this.IsAllocationSupported : Java.IO.FileDescriptor -> bool

Parameters

Returns

Attributes

Remarks

Test if the given file descriptor supports allocation of disk space using #allocateBytes(FileDescriptor, long).

Java documentation for android.os.storage.StorageManager.isAllocationSupported(java.io.FileDescriptor).

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