Compartilhar via


taskInfo object

Task module to be launched when fetch task set to false.

Syntax

{
  "title": "{string}",
  "width": "{string}",
  "height": "{string}",
  "url": "{string}"
}
{
  "title": "{string}",
  "width": "{string}",
  "height": "{string}",
  "url": "{string}"
}

Properties

title

Initial dialog title.

Type
string

Required

Constraints
Maximum string length: 64.

Supported values

width

Dialog width.

Type
string

Required

Constraints
Maximum string length: 16.

Supported values
The string value must be a number or Large, Medium, Small.

height

Dialog height.

Type
string

Required

Constraints
Maximum string length: 16.

Supported values
The string value must be a number or Large, Medium, Small.

url

Initial webview URL.

Type
string

Required

Constraints
Maximum string length: 2048.

Supported values
The string must start with https://.

Examples

{
    "taskInfo": {
        "title": "Initial dialog title",
        "width": "Dialog width",
        "height": "Dialog height",
        "url": "Initial webview URL"
    }
}