DeviceWindows
Wisej.Hybrid.DeviceWindows
Last updated
Wisej.Hybrid.DeviceWindows
Last updated
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Provides methods to interact with device windows.
Access this class through the singleton.
Initializes a new instance of .
Gets an array of open window ids.
Returns: . The ids.
Tries to close a window with the given id.
id
The window id.
Tries to open a new window with the given URL.
url
The URL to open.
The title of the window.
The location of the window.
The size of the window.
The minimum size of the window.
The maximum size of the window.
Tries to post a message to the given window id with the given payload.
id
The window id.
data
The data to post.
Tries to set the title for the given window.
id
The window id.
title
The new title of the window.
Returns: . True if the window was successfully closed.
title
location
size
minimumSize
maximumSize
Returns: . The ID of the new window or null if not created.
Returns: . True if the message was sent successfully.
Returns: . True if the action succeeded.
Fires when a window is closed.
Fires when a new window is created and shown.
Fires when the current window receives a message from another window.