dataDetectorTypes

Typeproperty
Dictionaryandroid.field
LibraryAndroid Native Field
Syntax
set the dataDetectorTypes of <widget> to <pType>
get the dataDetectorTypes of <widget>
Associationscom.livecode.widget.native.android.field
Summary

What types of data should be clickable in the field.

OSandroid
Example
set the dataDetectorTypes of widget "Android Field" to "email,link"
set the dataDetectorTypes of widget "Android Field" to empty
Values
NameTypeDescription
Value
  • "phone number": Phone numbers should be clickable
  • "link": Links should be clickable
  • "email": Email addresses should be clickable
  • "address": Addresses should be clickable
Description

Use the dataDetectorTypes property to determine what kind of data should be detected and automatically converted to clikckable URLs.