TextInputSystem.KeyboardType
EnumThe different input style of keyboard input.
- Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.
Since Lens Scripting v165
Index
Example
var options = new TextInputSystem.KeyboardOptions();
options.keyboardType = TextInputSystem.KeyboardType.Text;
script.createEvent("TapEvent").bind(function(){
global.textInputSystem.requestKeyboard(options);
})
Enumeration Members
Email:
number
SPECS only
A keyboard type for entering emails.
Since
Lens Scripting Version 165
Num
Num:
number
A keyboard type for entering digits
Since
Lens Scripting Version 165
Password
Password:
number
SPECS only
A keyboard type for entering passwords.
Since
Lens Scripting Version 165
Phone
Phone:
number
A keyboard type for entering phone numbers
Since
Lens Scripting Version 165
Pin
Pin:
number
SPECS only
Since
Lens Scripting Version 165
Text
Text:
number
A keyboard type for entering normal text
Since
Lens Scripting Version 165
Url
Url:
number
A keyboard type for entering URLs
Since
Lens Scripting Version 165