Skip to main content

TextInputSystem.ReturnKeyType

Enum

The return key style of keyboard input.

  • Available on all platforms
Platform details: Snapchat, SPECS, Camera Kit Web, Camera Kit Mobile fully supported.

Platform details

  • Snapchat — Fully supported.

  • SPECS — Fully supported.

  • Camera Kit Web — Fully supported.

  • Camera Kit Mobile — Fully supported.

Since Lens Scripting v165

Index

Example

var options = new TextInputSystem.KeyboardOptions();
options.returnKeyType = TextInputSystem.ReturnKeyType.Done;

script.createEvent("TapEvent").bind(function(){
global.textInputSystem.requestKeyboard(options);
})

Enumeration Members

Done

Done: number

Return key label shows "Done"

Since

Lens Scripting Version 165


Go

Go: number

Return key label shows "Go"

Since

Lens Scripting Version 165


Next

Next: number

Return key label shows "Next"

Since

Lens Scripting Version 165


Return

Return: number

Return key label shows "return"

Since

Lens Scripting Version 165


Search: number

Return key label shows "Search"

Since

Lens Scripting Version 165


Send

Send: number

Return key label shows "Send"

Since

Lens Scripting Version 165