Partager via


Parcel.InvokeHasFileDescriptors(Int32, Int32) Method

Definition

Report whether the parcel contains any marshalled file descriptors in the range defined by offset and length.

[Android.Runtime.Register("hasFileDescriptors", "(II)Z", "", ApiSince=33)]
public bool InvokeHasFileDescriptors (int offset, int length);
[<Android.Runtime.Register("hasFileDescriptors", "(II)Z", "", ApiSince=33)>]
member this.InvokeHasFileDescriptors : int * int -> bool

Parameters

offset
Int32

The offset from which the range starts. Should be between 0 and #dataSize().

length
Int32

The length of the range. Should be between 0 and #dataSize() - offset.

Returns

whether there are file descriptors or not.

Attributes

Remarks

Report whether the parcel contains any marshalled file descriptors in the range defined by offset and length.

Java documentation for android.os.Parcel.hasFileDescriptors(int, int).

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