A2uiOpenUrlFunction


class A2uiOpenUrlFunction : A2uiFunction


Opens a URL in a browser or handler.

Use this A2uiFunction to direct the user to an external link.

Summary

Public constructors

Public functions

open Any?
execute(args: Map<StringAny>, executionContext: A2uiExecutionContext)

Hands over the URL to open in args to the platform-specific URL opener.

Public properties

open A2uiFunctionDefinition

The definition of the function.

Public constructors

A2uiOpenUrlFunction

Added in 1.0.0-alpha01
A2uiOpenUrlFunction(urlOpener: A2uiUrlOpener)

Public functions

execute

open fun execute(args: Map<StringAny>, executionContext: A2uiExecutionContext): Any?

Hands over the URL to open in args to the platform-specific URL opener.

Parameters
args: Map<StringAny>

arguments containing the "url" string to open

executionContext: A2uiExecutionContext

context allowing to execute other functions, evaluate dynamic payloads and resolving data bindings

Returns
Any?

null as this operation does not produce a return value

Public properties

definition

open val definitionA2uiFunctionDefinition

The definition of the function.