We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 715c3aa commit 6204aecCopy full SHA for 6204aec
Screen.lua
@@ -53,6 +53,8 @@ function Screen.new()
53
54
function self:keyreleased(key) end
55
56
+ function self:lowmemory() end
57
+
58
function self:textinput(input) end
59
60
function self:mousereleased(x, y, button) end
ScreenManager.lua
@@ -198,6 +198,13 @@ function ScreenManager.keyreleased(key)
198
ScreenManager.peek():keyreleased(key);
199
end
200
201
+---
202
+-- Callback function triggered when the system is running out of memory on mobile devices.
203
+--
204
+function ScreenManager.lowmemory()
205
+ ScreenManager.peek():lowmemory();
206
+end
207
208
---
209
-- Reroute the textinput callback to the currently active screen.
210
-- @param input
0 commit comments