LocalSocket.GetAncillaryFileDescriptors Method

Definition

Retrieves a set of file descriptors that a peer has sent through an ancillary message.

[Android.Runtime.Register("getAncillaryFileDescriptors", "()[Ljava/io/FileDescriptor;", "GetGetAncillaryFileDescriptorsHandler")]
public virtual Java.IO.FileDescriptor[]? GetAncillaryFileDescriptors ();
[<Android.Runtime.Register("getAncillaryFileDescriptors", "()[Ljava/io/FileDescriptor;", "GetGetAncillaryFileDescriptorsHandler")>]
abstract member GetAncillaryFileDescriptors : unit -> Java.IO.FileDescriptor[]
override this.GetAncillaryFileDescriptors : unit -> Java.IO.FileDescriptor[]

Returns

null or file descriptor array

Attributes

Exceptions

Remarks

Retrieves a set of file descriptors that a peer has sent through an ancillary message. This method retrieves the most recent set sent, and then returns null until a new set arrives. File descriptors may only be passed along with regular data, so this method can only return a non-null after a read operation.

Java documentation for android.net.LocalSocket.getAncillaryFileDescriptors().

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