div-action-set-stored-value

Temporarily saves the variable in storage.

Parameters

Parameters Description
lifetime

int

Required parameter.

Duration of storage in seconds.

Available platforms: Android.

name

string

Required parameter.

Name of the saved variable.

Available platforms: Android.

type

string

Required parameter.

The value must always be set_stored_value.

Available platforms: Android.

value

object

Required parameter.

Saved value.

The value has the type div-typed-value.

Available platforms: Android.

List of possible values:

  • string_value
  • integer_value
  • number_value
  • color_value
  • boolean_value
  • url_value
  • dict_value
  • array_value
  • JSON
    {
      type*: "set_stored_value",
      lifetime*: "int",
      name*: "string",
      value*: div-typed-value
    }