Android.App.Activity.HasWindowFocus Property
Returns true if this activity's main window currently has window focus.

Syntax

[get: Android.Runtime.Register("hasWindowFocus", "()Z", "GetHasWindowFocusHandler")]
public virtual bool HasWindowFocus { get; }

See Also

Activity.OnWindowAttributesChanged(Android.Views.WindowManagerLayoutParams)

Value

Documentation for this section has not yet been entered.

Remarks

Returns true if this activity's main window currently has window focus. Note that this is not the same as the view itself having focus.

[Android Documentation]

Requirements

Namespace: Android.App
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 3