Difference between revisions of "Application:setKeyboardVisibility"

From GiderosMobile
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
'''Available since:''' Gideros 2018.6<br/>
<languages />
+
'''Class:''' [[Application]]<br/>
'''<translate>Available since</translate>:''' in development
+
 
<br/>
+
=== Description ===
'''<translate>Class</translate>:''' [[Special:MyLanguage/Application|Application]]
+
Mostly used on mobile devices. Shows or hides the native on-screen keyboard if available.
<br/>
+
<syntaxhighlight lang="lua">
=== <translate>Description</translate> ===
 
<translate>Show or hide the native on-screen keyboard if available.</translate>
 
<source lang="lua">
 
 
(boolean) = application:setKeyboardVisibility(visible)
 
(boolean) = application:setKeyboardVisibility(visible)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''visible''': (boolean) <translate>if the keyboard should be shown</translate>
+
=== Parameters ===
<br/>
+
'''visible''': (boolean) if the keyboard should be shown
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (boolean) <translate>true if the device support a native on screen keyboard</translate>
+
=== Return values ===
<br/>
+
'''Returns''' (boolean) true if the device support a native on screen keyboard<br/>
<br/>
+
 
 +
{{Application}}

Latest revision as of 20:44, 4 November 2024

Available since: Gideros 2018.6
Class: Application

Description

Mostly used on mobile devices. Shows or hides the native on-screen keyboard if available.

(boolean) = application:setKeyboardVisibility(visible)

Parameters

visible: (boolean) if the keyboard should be shown

Return values

Returns (boolean) true if the device support a native on screen keyboard