Click or drag to resize

Application Methods

The Application type exposes the following members.

Methods
  NameDescription
Public methodaddEventListener Obsolete.
Registers an event listener on the specified event.
Public methodclose
Closes the application
Public methodcreateChildWindow
Create a child window
Public methodDispose
Dispose the current application instance.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodgetChildWindows
Passes a list of wrapped child windows for the current application to childHandler.
Public methodGetChildWindowsAsync
Passes a list of wrapped child windows for the current application to childHandler.
Public methodgetGroups
Passes a list of groups and their wrapped child windows for the current application to groupHandler.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodgetInfo
Retrieves information about the application
Public methodgetManifest
Retrieves the JSON manifest that was used to create the application. Invokes the error callback if the application was not created from a manifest.
Public methodgetOptions
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodgetUuid
Public methodgetWindow
Public methodisRunning
Determines if the application is currently running/active.
Public methodpingChildWindow
Pings a child window
Public methodremoveEventListener Obsolete.
Removes a previously registered event listener from the specified event.

The listener is passed an event object containing information related to the event.

Public methodrestart
Restart the application.
Public methodrun Obsolete.
Runs the application on the AppDesktop.
Public methodRun Obsolete.
Run the application if it is not already running and perform the specified action after the application is connected. This action is invoked in two conditions: 1) The application was not previously running and now is. 2) The application was previously launched by the.NET Adapter.
Public methodStart
Starts running the application on the AppDesktop. It is advised to check if the application is already running by calling isRunning before invoking this method.
Public methodterminate
Terminates the application.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodwaitFor
Wait for the application if it is unresponsive.
Public methodStatic memberwrap Obsolete.
Attaches an Application object to an application that already exists.
Public methodWrapView
Wraps an existing platform view using the specified name.
Public methodWrapWindow
Wraps an existing window using the specified name.
Top
See Also