Interface adways.interactive.IContentR

IContentR interface description.

<Object> getCustomData( key ) public

Get a custom data entry

Parameters:

  • key <String>

    "String" key entry.

Return: <Object>:

Custom data entry (object that can be jsonified).

<Number> setCustomData( key, value ) public

Set a custom data entry

Parameters:

  • key <String>

    "String" key entry.

  • value <Object>

    Object that can be jsonified.

Return: <Number>:

1 if the value is changed, 2 if new value is set, 0 if error.

<Number> unsetCustomData( key ) public

Unset a custom data entry

Parameters:

  • key <String>

    "String" key entry.

Return: <Number>:

1 if value is unset, 0 if value was already undefined.