Roblox API Reference

LocalStorageService On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (1)

Inherited by (2)

Member index (6)

Type Member History
null Flush () 573
string GetItem (string key)
null SetItem (string key, string value) 573
null WhenLoaded (Function callback) 573
ItemWasSet (string key, string value)
StoreWasCleared ()
57 members inherited from Instance

History

Members

Flush On DevHub

Name Type Default
No parameters.

History

GetItem On DevHub

Name Type Default
key string none

ItemWasSet On DevHub

Name Type Default
key string none
value string none

SetItem On DevHub

Name Type Default
key string none
value string none

History

StoreWasCleared On DevHub

Name Type Default
No parameters.

WhenLoaded On DevHub

Name Type Default
callback Function none

History