love.system (Français)

Disponible depuis LÖVE 0.9.0
Ce-tte module n'est pas supporté-e par des versions plus anciennes.

Fournit des accès aux informations sur le système de l'utilisateur.

Fonctions

love.system.getClipboardText Gets text from the clipboard. Added since 0.9.0
love.system.getOS Gets the current operating system. Added since 0.9.0
love.system.getPowerInfo Gets information about the system's power supply. Added since 0.9.0
love.system.getProcessorCount Gets the amount of logical processor in the system. Added since 0.9.0
love.system.hasBackgroundMusic Gets whether another application on the system is playing music in the background. Added since 11.0
love.system.openURL Opens a URL with the user's web or file browser. Added since 0.9.1
love.system.setClipboardText Puts text in the clipboard. Added since 0.9.0
love.system.vibrate Causes the device to vibrate, if possible. Added since 0.10.0

Enums

PowerState The basic state of the system's power supply. Added since 0.9.0

Voir également

Autres langues