LaunchHandlerClientMode
class LaunchHandlerClientMode
Represents launch handler client mode type value of a Launch Handler API https://developer.mozilla.org/en-US/docs/Web/API/Launch_Handler_API
Summary
Constants |
|
|---|---|
const Int |
AUTO = 0The user agent's default launch routing behavior is used. |
const Int |
FOCUS_EXISTING = 2If an existing web app client is open it is brought to focus but not navigated to the launch's target URL, instead the target URL is communicated via LaunchParams. |
const Int |
If an existing web app client is open it is brought to focus and navigated to the launch's target URL. |
const Int |
NAVIGATE_NEW = 3A new web app client is created to load the launch's target URL. |
Constants
AUTO
const val AUTO = 0: Int
The user agent's default launch routing behavior is used.
FOCUS_EXISTING
const val FOCUS_EXISTING = 2: Int
If an existing web app client is open it is brought to focus but not navigated to the launch's target URL, instead the target URL is communicated via LaunchParams. If there are no existing web app clients the navigate-new behavior is used instead.
NAVIGATE_EXISTING
const val NAVIGATE_EXISTING = 1: Int
If an existing web app client is open it is brought to focus and navigated to the launch's target URL. If there are no existing web app clients the navigate-new behavior is used instead.
NAVIGATE_NEW
const val NAVIGATE_NEW = 3: Int
A new web app client is created to load the launch's target URL.