Launch the default browser for an URL or open files with its corresponding default application

You'll find this trigger action in the Fuse.Launcher package, which have to be referenced from your uno project. For example:

{
    "Packages": [
        "Fuse",
        "FuseJS",
        "Fuse.Launcher"
    ]
}

Example

<StackPanel Margin="20">
    <Button Margin="10" Text="Go to Fusetools">
        <Clicked>
            <LaunchUri Uri="https://www.fusetools.com/" />
        </Clicked>
    </Button>
</StackPanel>

Note: you can pass any URI string to LaunchUri, but how it is handled will depend on the target platform and particular device settings.

There are several common URI schemes that you can use on both Android and iOS: http:// https:// tel: sms:

Other platform-specific URI schemes are known to be working fine, for example geo:<parameters> launches Maps application on Android and facetime:<parameters> launches a Facetime video call on iOS. More information on supported URI schemes: on Android and on iOS.

Location

Namespace
Fuse.Triggers.Actions
Package
Fuse.Launcher.InterApp 1.11.2

Interface of LaunchUri

Inherited from TriggerAction

AtProgress : float ux

A value between 0 and 1 for when the action should be performed. Alternative to Delay.

Delay : float ux

The number of seconds after the start of the trigger that the action should be performed.

TargetNode : Node ux

The node that the action targets. If not specified then the enclsoing Trigger will be used. Several triggers can look for a target starting from this point. Some triggers require a Target to be specified.

Unroot uno

Called when the owner of this object is unrooted. This gives an action to cleanup resources or cancel pending actions.

Inherited from PropertyObject

Inherited from object

Attached UX Attributes

GlobalKey (attached by Resource) : string ux

The ux:Global attribute creates a global resource that is accessible everywhere in UX markup.

Implemented Interfaces