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 = 0

The user agent's default launch routing behavior is used.

const 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.

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

A new web app client is created to load the launch's target URL.

Constants

AUTO

Added in 1.9.0-alpha02
const val AUTO = 0: Int

The user agent's default launch routing behavior is used.

FOCUS_EXISTING

Added in 1.9.0-alpha02
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.

Added in 1.9.0-alpha02
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.

Added in 1.9.0-alpha02
const val NAVIGATE_NEW = 3: Int

A new web app client is created to load the launch's target URL.