Läs på engelska

Dela via


View.ApplicationWindowToken Property

Definition

Retrieve a unique token identifying the top-level "real" window of the window that this view is attached to.

C#
public virtual Android.OS.IBinder? ApplicationWindowToken { [Android.Runtime.Register("getApplicationWindowToken", "()Landroid/os/IBinder;", "GetGetApplicationWindowTokenHandler")] get; }

Property Value

Returns the associated window token, either #getWindowToken() or the containing window's token.

Attributes

Remarks

Retrieve a unique token identifying the top-level "real" window of the window that this view is attached to. That is, this is like #getWindowToken, except if the window this view in is a panel window (attached to another containing window), then the token of the containing window is returned instead.

Java documentation for android.view.View.getApplicationWindowToken().

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35