StructPollfd.UserData Property

Definition

A non-standard extension that lets callers conveniently map back to the object their fd belongs to.

[Android.Runtime.Register("userData")]
public Java.Lang.Object? UserData { get; set; }
[<Android.Runtime.Register("userData")>]
member this.UserData : Java.Lang.Object with get, set

Property Value

Attributes

Remarks

A non-standard extension that lets callers conveniently map back to the object their fd belongs to. This is used by Selector, for example, to associate each FileDescriptor with the corresponding SelectionKey.

Java documentation for android.system.StructPollfd.userData.

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