Class: DialRequest

  • chrome.cast.DialRequest is a class used to initiate a request for launching a DIAL app.

  • It requires the appName and optionally accepts a launchParameter to be passed to the DIAL receiver.

  • The appName property represents the name of the DIAL application to be launched.

  • launchParameter, if provided, is sent as POST data to the DIAL receiver application URL.

Constructor

DialRequest

new DialRequest(appName, launchParameter)

Parameter

appName

string

The DIAL app name.

launchParameter

Optional

string

The DIAL app launch parameter.

Properties

appName

string

DIAL app name.

launchParameter

nullable string

Launch parameter to be passed to the DIAL receiver application URL as POST data.