IWindowManager Interface
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The interface that apps use to talk to the window manager.
[Android.Runtime.Register("android/view/WindowManager", "", "Android.Views.IWindowManagerInvoker")]
public interface IWindowManager : Android.Views.IViewManager, IDisposable, Java.Interop.IJavaPeerable
[<Android.Runtime.Register("android/view/WindowManager", "", "Android.Views.IWindowManagerInvoker")>]
type IWindowManager = interface
interface IViewManager
interface IJavaObject
interface IDisposable
interface IJavaPeerable
- Attributes
- Implements
The interface that apps use to talk to the window manager.
Each window manager instance is bound to a Display
. To obtain the WindowManager
associated with a display, call Context#createWindowContext(Display, int, Bundle)
to get the display's UI context, then call Context#getSystemService(String)
or Context#getSystemService(Class)
on the UI context.
The simplest way to show a window on a particular display is to create a Presentation
, which automatically obtains a WindowManager
and context for the display.
Java documentation for android.view.WindowManager
.
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.
Property |
Application-level
|
Property |
Application level |
Property |
Application level |
Property |
Application level |
Property |
Application level |
Property |
Application level |
Property |
Application level |
Property |
Application level |
Property |
Application level |
Property |
Application level |
Current |
Returns the |
Default |
Returns the Display upon which this IWindowManager instance will create new windows. |
Handle |
Gets the JNI value of the underlying Android object. (Inherited from IJavaObject) |
Is |
Returns whether cross-window blur is currently enabled. |
Jni |
Returns the value of |
Jni |
State of the managed peer. (Inherited from IJavaPeerable) |
Jni |
Member access and invocation support. (Inherited from IJavaPeerable) |
Maximum |
Returns the largest |
Peer |
Returns a JniObjectReference of the wrapped Java object instance. (Inherited from IJavaPeerable) |
Add |
Adds a listener, which will be called when cross-window blurs are enabled/disabled at runtime. |
Add |
Adds a listener, which will be called when cross-window blurs are enabled/disabled at runtime. |
Add |
Adds a listener to start monitoring the proposed rotation of the current associated context. |
Add |
Assign the passed LayoutParams to the passed View and add the view to the window. (Inherited from IViewManager) |
Disposed() |
Called when the instance has been disposed. (Inherited from IJavaPeerable) |
Dispose |
If there are no outstanding references to this instance, then
calls |
Finalized() |
Called when the instance has been finalized. (Inherited from IJavaPeerable) |
Remove |
Removes a listener, previously added with |
Remove |
Removes a listener, previously added with |
Remove |
(Inherited from IViewManager) |
Remove |
Special variation of |
Set |
Set the value returned by |
Set |
(Inherited from IJavaPeerable) |
Set |
Set the value returned by |
Unregister |
Unregister this instance so that the runtime will not return it from future Java.Interop.JniRuntime+JniValueManager.PeekValue invocations. (Inherited from IJavaPeerable) |
Update |
(Inherited from IViewManager) |
Java |
Performs an Android runtime-checked type conversion. |
Java |
|
Get |