FAXL3: Actions
From fringDocumentation
Actions
Actions are predefined functions you can run on the device.
Action elements may have the following sub elements:
- Input: These arguments are used to manipulate the action and can be supplied by <value> or <ref> (FAXL variables).
- Output: These arguments are the results passed from the action. Values are stored inside FAXL variables.
Element Actions
One of the following is used as an element or building block comprising an Actions element:
| Required | Name | Type | FAXL compatibility | Description |
| - | ActionGetListSelectedID | - | FAXL 3.0 | Returns the ID of the selected item in a TextListControl or TextIconListControl. |
| - | ActionSendToServer | - | FAXL 3.0 | Sends an outgoing request from the device to the add-on server with simple data and FAXL variables. |
| - | ActionChangeAddonIcon | - | FAXL 3.0 | Changes one of the add-on's icons. |
| - | ActionGetSelectedContact | - | FAXL 3.0 | Returns the User Info of the currently selected user inside the Contacts list. |
| - | ActionGetText | - | FAXL 3.0 | Returns the text value of the given TextEditControl. |
| - | ActionCreateControl | - | FAXL 3.0 | Dynamically adds a new Control. |
| - | ActionDeleteControl | - | FAXL 3.0 | Deletes a single Control. |
| - | ActionSetDisposition | - | FAXL 3.0 | Changes the Disposition of a given Control. |
| - | ActionClientOpenUrl | - | FAXL 2.5 | Opens a new browser window on the client with the given URL. |
| - | ActionPlayMedia | - | FAXL 3.0 | Starts playing an audio media type. |
| - | ActionStartGPS | - | FAXL 2.5 | Start sampling the GPS. |
| - | ActionStopGPS | - | FAXL 2.5 | Stop sampling the GPS. |
| - | ActionRunScript | - | FAXL 3.0 | Runs a Java Script code. See FAXL3: Java Script for more information about fring client and JS. |
| - | ActionOpenChat | - | FAXL 3.0 | Opens a new Chat tab with the given User Info. |
| - | ActionRegisterOnChatTabOpen | - | FAXL 3.0 | On opening of a new Chat tab, executes the actions defined. |
| - | ActionGetChatTabFreeSpace | - | FAXL 3.0 | Returns the current free space of the given Chat tab. |
| - | ActionRegisterChatTabFreeSpace | - | FAXL 3.0 | When the Chat tab reaches the lower threshold, executes the actions defined. |
| - | ActionPlaceVoiceCall | - | FAXL 3.0 | Starts a Voice/VoIP call with a specific User. |
| - | ActionChangeBrowserData | - | FAXL 3.0 | Updates data in browser control. |
FAXL Syntax
<Actions> <ActionXXX> </ActionXXX> <ActionYYY> </ActionYYY> </Actions>