LaunchHandlerClientMode
public final 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 |
|
|---|---|
static final int |
AUTO = 0The user agent's default launch routing behavior is used. |
static final 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. |
static final int |
If an existing web app client is open it is brought to focus and navigated to the launch's target URL. |
static final int |
NAVIGATE_NEW = 3A new web app client is created to load the launch's target URL. |
Constants
AUTO
public static final int AUTO = 0
The user agent's default launch routing behavior is used.
FOCUS_EXISTING
public static final int FOCUS_EXISTING = 2
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
public static final int NAVIGATE_EXISTING = 1
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
public static final int NAVIGATE_NEW = 3
A new web app client is created to load the launch's target URL.