Smartpoint Cloud Connector Actions
The Smartpoint Cloud Connector exposes different actions that can be triggered by the third-party application.
The Actions do not trigger a response back to the third-party application (except on runCryptic operation).
Exposed Actions
-
addInterceptCommands: Register a collection of cryptic entries or regular expressions to be intercepted
-
cancelInterceptCommands: Unregister cryptic entries or regular expressions
-
cancelAllInterceptCommands: Unregister all the cryptic entries or regular expressions
-
createWindow: Create a new window
-
deleteWindow: Delete a window
-
clearTerminal: Clear the content of a terminal
-
focusTerminal: Focus a terminal
-
blurTerminal: Blur a terminal
-
deleteTerminalRange: Delete a range of characters in the terminal
-
moveTerminalCursor: Move the terminal cursor to a specific position
-
writeTerminalChars: Write characters in a terminal
-
sendTerminalEntry: Send a terminal entry
-
setTicketingAvailability: Set the availability to ticket a reservation
-
runCryptic: Send a terminal entry silently without any terminal interaction and returns the host response.
-
startPlugin: Starts the specified plugin
-
shutdownPlugin: Shutdowns the specified plugin
-
addLine: Adds an entire line above the current cursor position
-
deleteLine: Deletes the entire line where the cursor is located
-
deleteEndOfLine: Deletes line from the cursor position to the end of the line
-
populateFareShopSearchForm: Populates the Air Search form
Example
var message = new MessageRequest
{
id = Guid.NewGuid().ToString(),
type = "action",
operation = "clearTerminal",
windowNumber = "1",
};
webView.CoreWebView2.PostWebMessageAsJson(JsonConvert.SerializeObject(message));