springroll.SavedDataHandler Class

Default user data handler for the Container to save data using the springroll.SavedData class.

Methods

read

(
  • name
  • callback
)
static

Defined in read:47

Read a custom setting

Parameters:

  • name String

    The name of the property

  • callback Function

    Callback when read is complete, returns the value

remove

(
  • name
  • [callback]
)
static

Defined in remove:20

Remove a data setting

Parameters:

  • name String

    The name of the property

  • [callback] Function optional

    Callback when remove is complete

write

(
  • name
  • value
  • [callback]
)
static

Defined in write:33

Write a custom setting

Parameters:

  • name String

    The name of the property

  • value

    The value to set the property to

  • [callback] Function optional

    Callback when write is complete