Application:setKeyboardVisibility: Difference between revisions

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

Latest revision as of 19: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