summaryrefslogtreecommitdiff
path: root/meta/3rd/lovr/library/lovr.system.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-02-23 17:56:26 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-02-23 17:56:26 +0800
commit3de3402c82c4ea46f69d0a96bea7faf1ad68ea06 (patch)
tree32827d7d1e7c0b1ecd5386cd638498176d9aa866 /meta/3rd/lovr/library/lovr.system.lua
parentf8e2955268708728a1f83743d0b2000d2e089539 (diff)
parentb37ebceffe695defd7e7976e653ce127618614c0 (diff)
downloadlua-language-server-3de3402c82c4ea46f69d0a96bea7faf1ad68ea06.zip
Merge commit 'b37ebceffe695defd7e7976e653ce127618614c0' into 3.0
Diffstat (limited to 'meta/3rd/lovr/library/lovr.system.lua')
-rw-r--r--meta/3rd/lovr/library/lovr.system.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/3rd/lovr/library/lovr.system.lua b/meta/3rd/lovr/library/lovr.system.lua
index d3255f75..35161332 100644
--- a/meta/3rd/lovr/library/lovr.system.lua
+++ b/meta/3rd/lovr/library/lovr.system.lua
@@ -19,7 +19,13 @@ function lovr.system.getCoreCount() end
function lovr.system.getOS() end
---
----Requests permission to use a feature. Usually this will pop up a dialog box that the user needs to confirm. Once the permission request has been acknowledged, the `lovr.permission` callback will be called with the result. Currently, this is only used for requesting microphone access on Android devices.
+---Requests permission to use a feature.
+---
+---Usually this will pop up a dialog box that the user needs to confirm.
+---
+---Once the permission request has been acknowledged, the `lovr.permission` callback will be called with the result.
+---
+---Currently, this is only used for requesting microphone access on Android devices.
---
---@param permission lovr.Permission # The permission to request.
function lovr.system.requestPermission(permission) end