Android.App.Dialog.OnWindowFocusChanged Method
This hook is called whenever the window focus changes.

Syntax

[Android.Runtime.Register("onWindowFocusChanged", "(Z)V", "GetOnWindowFocusChanged_ZHandler")]
public virtual void OnWindowFocusChanged (bool hasFocus)

Parameters

hasFocus
Whether the window now has focus.

Remarks

This hook is called whenever the window focus changes. See Android.Views.View.OnWindowFocusChanged(bool) for more information.

[Android Documentation]

Requirements

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