Difference between revisions of "Application:setKeyboardVisibility"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
Show or hide the native on-screen keyboard if available.
 
Show or hide 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 ===

Latest revision as of 17:58, 12 July 2023

Available since: Gideros 2018.6
Class: Application

Description

Show or hide 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