Application:setKeyboardVisibility: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 3: Line 3:


=== Description ===
=== Description ===
Show or hide the native on-screen keyboard if available.
Mostly used on mobile devices. Shows or hides the native on-screen keyboard if available.
 
<syntaxhighlight lang="lua">
<source lang="lua">
(boolean) = application:setKeyboardVisibility(visible)
(boolean) = application:setKeyboardVisibility(visible)
</source>
</syntaxhighlight>


=== Parameters ===
=== Parameters ===

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