DeviceLauncher

Wisej.Hybrid.DeviceLauncher

Namespace: Wisej.Hybrid

Assembly: Wisej.Hybrid (3.5.0.0)

Provides methods to interact with app launching and external file opening on the device.

public class DeviceLauncher

Access this class through the Device singleton.

Constructors

Initializes a new instance of DeviceLauncher.

Methods

Checks whether a given app link can be opened on the device.

ParameterTypeDescription

url

The app link (e.g., "lyft://") to check for availability.

Returns: Boolean. true if the app link can be opened; otherwise, false.

Attempts to open the given application link on the device.

ParameterTypeDescription

url

The application link (e.g., "lyft://ridetype?id=lyft_line") to open.

Opens the given file using the default app associated with its file type.

ParameterTypeDescription

popoverTitle

The title for the file picker popover (iOS only).

fileName

The name of the file to open.

fileData

The byte array containing the file's data.

See: https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/appmodel/launcher. Throws:

Last updated