Android.Views.IWindowManager
The interface that apps use to talk to the window manager.

See Also: IWindowManager Members

Syntax

[Android.Runtime.Register("android/view/WindowManager", "", "Android.Views.IWindowManagerInvoker")]
public interface IWindowManager : IViewManager, IDisposable

Remarks

The interface that apps use to talk to the window manager.

Use Context.getSystemService(Context.WINDOW_SERVICE) to get one of these.

Each window manager instance is bound to a particular Android.Views.Display. To obtain a Android.Views.IWindowManager for a different display, use Android.Content.Context.CreateDisplayContext(Display) to obtain a Android.Content.Context for that display, then use Context.getSystemService(Context.WINDOW_SERVICE) to get the WindowManager.

The simplest way to show a window on another display is to create a Android.App.Presentation. The presentation will automatically obtain a Android.Views.IWindowManager and Android.Content.Context for that display.

See Also

[Android Documentation]

Requirements

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