SystemThemeService
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
Memory category | Instances |
---|
Member index 4
Description
History 5
- 669 Add OnLuaThemeUpdated
- 669 Add setTheme
- 669 Add isSystemThemeAvailable
- 669 Add getSystemThemeAsync
- 669 Add SystemThemeService
Members 4
OnLuaThemeUpdated
Parameters (1) | |
---|---|
theme | SystemThemeValue |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
- 669 Add OnLuaThemeUpdated
getSystemThemeAsync
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
SystemThemeValue |
This function yields. It will block the calling thread until completion.
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
isSystemThemeAvailable
Parameters (0) | ||
---|---|---|
No parameters. | ||
Returns (1) | ||
bool |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |
History 1
setTheme
Parameters (1) | ||
---|---|---|
theme | SystemThemeValue | |
Returns (1) | ||
null |
Security | RobloxScriptSecurity |
---|---|
Thread safety | Unsafe |