initial commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
---@meta
|
||||
|
||||
-- Generated from native/src/bindings/core/settings.cpp. Do not edit.
|
||||
|
||||
---@class SettingsLib
|
||||
settings = {}
|
||||
|
||||
---Returns the saved rotation in degrees clockwise.
|
||||
---@return integer
|
||||
function settings.getRotation() end
|
||||
|
||||
---Applies and persists the screen rotation.
|
||||
---@param degrees integer 0, 90, 180, or 270 clockwise.
|
||||
---@return true? ok
|
||||
---@return string? error
|
||||
function settings.setRotation(degrees) end
|
||||
|
||||
---Returns the active POSIX timezone rule.
|
||||
---@return string
|
||||
function settings.getTimezone() end
|
||||
|
||||
---Applies and persists a POSIX timezone rule.
|
||||
---@param timezone string
|
||||
---@return true? ok
|
||||
---@return string? error
|
||||
function settings.setTimezone(timezone) end
|
||||
Reference in New Issue
Block a user