Window.SetWindowManager Method
Definition
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.
Overloads
| Name | Description |
|---|---|
| SetWindowManager(IWindowManager, IBinder, String) |
Creates and sets the window manager for use by this Window to, for example, display panels. |
| SetWindowManager(IWindowManager, IBinder, String, Boolean) |
Creates and sets the window manager for use by this Window to, for example, display panels. |
SetWindowManager(IWindowManager, IBinder, String)
Creates and sets the window manager for use by this Window to, for example, display panels.
[Android.Runtime.Register("setWindowManager", "(Landroid/view/WindowManager;Landroid/os/IBinder;Ljava/lang/String;)V", "GetSetWindowManager_Landroid_view_WindowManager_Landroid_os_IBinder_Ljava_lang_String_Handler")]
public virtual void SetWindowManager(Android.Views.IWindowManager? wm, Android.OS.IBinder? appToken, string? appName);
[<Android.Runtime.Register("setWindowManager", "(Landroid/view/WindowManager;Landroid/os/IBinder;Ljava/lang/String;)V", "GetSetWindowManager_Landroid_view_WindowManager_Landroid_os_IBinder_Ljava_lang_String_Handler")>]
abstract member SetWindowManager : Android.Views.IWindowManager * Android.OS.IBinder * string -> unit
override this.SetWindowManager : Android.Views.IWindowManager * Android.OS.IBinder * string -> unit
Parameters
the window manager for adding new windows.
- appToken
- IBinder
the application token used as a fallback for eligible windows added through the manager.
- appName
- String
the application name used to form default titles for windows added through the manager.
- Attributes
Remarks
Set the window manager for use by this Window to, for example, display panels. This is not used for displaying the Window itself -- that must be done by the client.
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
SetWindowManager(IWindowManager, IBinder, String, Boolean)
Creates and sets the window manager for use by this Window to, for example, display panels.
[Android.Runtime.Register("setWindowManager", "(Landroid/view/WindowManager;Landroid/os/IBinder;Ljava/lang/String;Z)V", "GetSetWindowManager_Landroid_view_WindowManager_Landroid_os_IBinder_Ljava_lang_String_ZHandler")]
public virtual void SetWindowManager(Android.Views.IWindowManager? wm, Android.OS.IBinder? appToken, string? appName, bool hardwareAccelerated);
[<Android.Runtime.Register("setWindowManager", "(Landroid/view/WindowManager;Landroid/os/IBinder;Ljava/lang/String;Z)V", "GetSetWindowManager_Landroid_view_WindowManager_Landroid_os_IBinder_Ljava_lang_String_ZHandler")>]
abstract member SetWindowManager : Android.Views.IWindowManager * Android.OS.IBinder * string * bool -> unit
override this.SetWindowManager : Android.Views.IWindowManager * Android.OS.IBinder * string * bool -> unit
Parameters
the window manager for adding new windows.
- appToken
- IBinder
the application token used as a fallback for eligible windows added through the manager.
- appName
- String
the application name used to form default titles for windows added through the manager.
- hardwareAccelerated
- Boolean
indicate whether this window or its sub-windows should be hardware
accelerated, which is default to false.
- Attributes
Remarks
Set the window manager for use by this Window to, for example, display panels. This is not used for displaying the Window itself -- that must be done by the client.
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.