div-action-set-stored-value

Temporarily saves variable to the persistent storage.

Parameters

Parameters Description
lifetime

int

Required parameter.

Storing time in seconds.

Available platforms: Android.

name

string

Required parameter.

Nave of stored variable.

Available platforms: Android.

type

string

Required parameter.

The value must always be set_stored_value.

Available platforms: Android.

value

object

Required parameter.

Value to be stored.

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
    }