Beside basic data types, FLX provides a set of object data types. New object types will be introduced in future when FLX evolves. For instance, new extensions and APIs that are added to FLX typically require new object types to be introduced.

- JSON object: FLX provide functions to convert FLX’s Map to JSON and vice versa.
- Regex object: based on Java’s regular expression patterns.
- Markup Text object: Markup text object is based on Markwon markup library for Android.
- RGBA Color object.
- Date object based on Java’s java.util.Date class.
- Built-in Icon objects based on material icons used in Android.
- Image Resource object is used to define images that can be displayed in applet UIs. See Resources.
- Audio Resource object that used to playback audio and sound effects. See Resources.
- Java’s Class object is used for integration with Java code and for Java objects reflection and inspection. See Using Reflection API.
Object data types are typically provided with specific bottom sheet based pickers for adding them to visual code, and bottom sheet based editors for modifying them. See Visual Code Editor.
Getter Functions
For some object data types there are property getter functions provided as convenience. Currently, FLX provides getter functions for the following object types:
Date
Getter Function | Description |
.year | The year of the Date. |
.month | The month of the year of the Date. |
.day | The year of the Date. |
.hour | The hour [0, 23] of the date represented by the Date. |
.minute | The number of minutes past the current hour represented by the Date. |
.second | The number of seconds past the current minute represented by the Date. |
.millisecond | The number of milliseconds past the current second represented by the Date. |
HttpResult
Getter Function | |
.value | Gets the value payload of HttpResult as a String. |
.valueAsJson | Gets the value payload of HttpResult as a JSONObject. |