FAXL3: Actions

From fringDocumentation

Jump to: navigation, search

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:

RequiredNameTypeFAXL compatibilityDescription
-ActionGetListSelectedID-FAXL 3.0Returns the ID of the selected item in a TextListControl or TextIconListControl.
-ActionSendToServer-FAXL 3.0Sends an outgoing request from the device to the add-on server with simple data and FAXL variables.
-ActionChangeAddonIcon-FAXL 3.0Changes one of the add-on's icons.
-ActionGetSelectedContact-FAXL 3.0Returns the User Info of the currently selected user inside the Contacts list.
-ActionGetText-FAXL 3.0Returns the text value of the given TextEditControl.
-ActionCreateControl-FAXL 3.0Dynamically adds a new Control.
-ActionDeleteControl-FAXL 3.0Deletes a single Control.
-ActionSetDisposition-FAXL 3.0Changes the Disposition of a given Control.
-ActionClientOpenUrl-FAXL 2.5Opens a new browser window on the client with the given URL.
-ActionPlayMedia-FAXL 3.0Starts playing an audio media type.
-ActionStartGPS-FAXL 2.5Start sampling the GPS.
-ActionStopGPS-FAXL 2.5Stop sampling the GPS.
-ActionRunScript-FAXL 3.0Runs a Java Script code. See FAXL3: Java Script for more information about fring client and JS.
-ActionOpenChat-FAXL 3.0Opens a new Chat tab with the given User Info.
-ActionRegisterOnChatTabOpen-FAXL 3.0On opening of a new Chat tab, executes the actions defined.
-ActionGetChatTabFreeSpace-FAXL 3.0Returns the current free space of the given Chat tab.
-ActionRegisterChatTabFreeSpace-FAXL 3.0When the Chat tab reaches the lower threshold, executes the actions defined.
-ActionPlaceVoiceCall-FAXL 3.0Starts a Voice/VoIP call with a specific User.
-ActionChangeBrowserData-FAXL 3.0Updates data in browser control.

FAXL Syntax

<Actions>
	<ActionXXX>
	</ActionXXX>
	<ActionYYY>
	</ActionYYY>
</Actions>
Personal tools