Table of Contents

Class LaunchQueue

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll
NOTE
Experimental
The LaunchQueue interface of the {{domxref("Launch Handler API", "Launch Handler API", "", "nocode")}} is available via the LaunchQueue property. When a progressive web app (PWA) is launched with a launch_handler client_mode value of focus-existing, navigate-new, or navigate-existing, LaunchQueue provides access to functionality that allows custom launch navigation handling to be implemented in the PWA. This functionality is controlled by the properties of the LaunchParams object passed into the SetConsumer(LaunchConsumer) callback function.
[Value("LaunchQueue")]
public class LaunchQueue
Inheritance
LaunchQueue
Inherited Members

Remarks

Constructors

LaunchQueue()

public LaunchQueue()

Methods

SetConsumer(LaunchConsumer)

NOTE
Experimental
The setConsumer() method of the LaunchQueue interface is used to declare the callback that will handle custom launch navigation handling in a progressive web app (PWA). Such custom navigation is initiated via LaunchQueue when a PWA has been launched with a launch_handler client_mode value of focus-existing, navigate-new, or navigate-existing.
[Value("setConsumer")]
public GlobalObject.Undefined SetConsumer(LaunchConsumer consumer)

Parameters

consumer LaunchConsumer

Returns

GlobalObject.Undefined

undefined.

Remarks