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 Device singleton.
Initializes a new instance of DeviceWindows.
Gets an array of open window ids.
Returns: String[]. The ids.
Tries to close a window with the given id.
Returns: Boolean. True if the window was successfully closed.
Tries to open a new window with the given URL.
Returns: String. The ID of the new window or null if not created.
Tries to post a message to the given window id with the given payload.
Returns: Boolean. True if the message was sent successfully.
Tries to set the title for the given window.
Returns: Boolean. True if the action succeeded.
EventHandler<String> Fires when a window is closed.
EventHandler<String> Fires when a new window is created and shown.
EventHandler<String> Fires when the current window receives a message from another window.
title
location
size
minimumSize
maximumSize