Table of Contents
Enumerations #
Name | Values |
---|---|
LoadStates | LoadingAppConfig UpdatingApp CopyingApp LaunchingApp BuildingView Ready |
Constants #
This class exposes no constants.
Events #
Name | Parameters | Return Type | Description |
---|---|---|---|
HashtagChanged | hashtag as String | None | Raised when the hashtag has changed in the web application. |
HeartbeatFailed | secondsElapsed as Integer | Boolean | Raised when communication has been lost with the web application. Return False to quit. In local apps, this indicates an issue with the child and the application should quit. |
LinkPressed | url as String | None | The web app has attempted to navigate to an external URL. |
LoadStatusChanged | None | None | Raised as the application loads to indicate the various stages of preparedness. |
MessageReceived | method as String parameters as JSONItem | None | Raised when a custom message has been received from the child web app. |
PositionViewer | viewer as DesktopHTMLViewer | None | The viewer’s default positioning has been set, and may be overridden in this event. |
Ready | None | None | The application has finished loading, the child application’s page is now displayed in the viewer, and the window has been displayed. |
Methods #
Name | Parameters | Return Value | Description |
---|---|---|---|
Quit | None | None | Signals the child web application to quit, then quits this application. |
SendMessage | name as String data as JSONItem | None | Sends a message to the child web application. |
SettingRead | name as String defaultValue as Variant | Variant | Reads a setting value from the user’s local database. |
SettingWrite | name as String value a Variant | None | Writes a setting value to the user’s local database. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
HeartbeatEnabled | Boolean | True | When True, the application will send a message to the child web application every 10 seconds to ensure that it’s still alive and responsive. |
LastHashtag | String | “” | The last hashtag value received from the child application. |
LoadingState | LoadStates | LoadStates.LoadingAppConfig | The current loading phase. |
LoadingStateValue | Double | 0.0 | The current percentage of completeness for the current LoadingState, when applicable. |
Project | GraffitiBundle.Project | Auto-Generated | The Project class instance that determines the behavior of the application. |