Difference between revisions of "love.system"
(Created page) |
m (Added deprecation support) |
||
Line 12: | Line 12: | ||
| ?PrettySince | | ?PrettySince | ||
| ?PrettyRemoved | | ?PrettyRemoved | ||
+ | | ?PrettyDeprecated | ||
}} | }} | ||
== Enums == | == Enums == | ||
Line 23: | Line 24: | ||
| ?PrettySince | | ?PrettySince | ||
| ?PrettyRemoved | | ?PrettyRemoved | ||
+ | | ?PrettyDeprecated | ||
}} | }} | ||
== See Also == | == See Also == |
Revision as of 12:07, 6 January 2019
Available since LÖVE 0.9.0 |
This module is not supported in earlier versions. |
Provides access to information about the user's system.
Contents
Functions
love.system.getClipboardText | Gets text from the clipboard. | 0.9.0 | |
love.system.getOS | Gets the current operating system. | 0.9.0 | |
love.system.getPowerInfo | Gets information about the system's power supply. | 0.9.0 | |
love.system.getPreferredLocales | Gets user's preferred locales. | 12.0 | |
love.system.getProcessorCount | Gets the amount of logical processors in the system. | 0.9.0 | |
love.system.hasBackgroundMusic | Gets whether another application on the system is playing music in the background. | 11.0 | |
love.system.openURL | Opens a URL with the user's web or file browser. | 0.9.1 | |
love.system.setClipboardText | Puts text in the clipboard. | 0.9.0 | |
love.system.vibrate | Causes the device to vibrate, if possible. | 0.10.0 |
Enums
PowerState | The basic state of the system's power supply. | 0.9.0 |
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info