roblox
Missing API Documentation
This API Class does not have any or complete API documentation. Please add API documentation if possible.

The LocalStorageService class is a service. All its non-inherited members are protected. It inherits from Instance.

Methods

Flush(): null

This class member is missing documentation. Create or add to its subpage at Class:LocalStorageService/Flush.
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

GetItem(key: string): string

Parameters
NameType
keystring
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

SetItem(key: string, value: string): null

Parameters
NameType
keystring
valuestring
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

WhenLoaded(callback: Function): null

Parameters
NameType
callbackFunction
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

Events

ItemWasSet(key: string, value: string)

Parameters
NameType
keystring
valuestring
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

StoreWasCleared()

This class member is missing documentation. Create or add to its subpage at Class:LocalStorageService/StoreWasCleared.
  • Security: RobloxScriptSecurity.
  • Thread safety: unsafe

External links