DeviceLauncher
Wisej.Hybrid.DeviceLauncher
Last updated
Wisej.Hybrid.DeviceLauncher
Last updated
Namespace: Wisej.Hybrid
Assembly: Wisej.Hybrid (3.5.0.0)
Provides methods to interact with app launching and external file opening on the device.
Access this class through the Device singleton.
Initializes a new instance of DeviceLauncher.
Checks whether a given app link can be opened on the device.
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.
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.
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:
NotImplementedException Thrown if the file opening operation is not supported.