fscommand2 commands

The following commands are available for the fscommand2() function. For a description of the fscommand2() function, see fscommand2 Function under "Global functions."

fscommand2 fommands

Command

Description

ExtendBacklightDuration

Extends the duration of a backlight for a specified period of time.

FullScreen

Sets the size of the display area to be used for rendering.

GetBatteryLevel

Returns the current battery level.

GetDevice

Sets a parameter that identifies the device on which Flash Lite is running.

GetDeviceID

Sets a parameter that represents the unique identifier of the device (for example, the serial number).

GetFreePlayerMemory

Returns the amount of heap memory, in kilobytes, currently available to Flash Lite.

GetMaxBatteryLevel

Returns the maximum battery level of the device.

GetMaxSignalLevel

Returns the maximum signal strength level as a numeric value.

GetMaxVolumeLevel

Returns the maximum volume level of the device as a numeric value.

GetNetworkConnectionName

Returns the name of the active or default network connection.

GetNetworkConnectStatus

Returns a value that indicates the current network connection status.

GetNetworkGeneration

Returns the generation of the current mobile wireless network (such as 2G or second generation of mobile wireless).

GetNetworkName

Sets a parameter to the name of the current network.

GetNetworkRequestStatus

Returns a value indicating the status of the most recent HTTP request.

GetNetworkStatus

Returns a value indicating the network status of the phone (that is, whether there is a network registered and whether the phone is currently roaming).

GetPlatform

Sets a parameter that identifies the current platform, which broadly describes the class of device.

GetPowerSource

Returns a value that indicates whether the power source is currently supplied from a battery or from an external power source.

GetSignalLevel

Returns the current signal strength as a numeric value.

GetSoftKeyLocation

Returns a value that indicates the location of soft keys on the device.

GetTotalPlayerMemory

Returns the total amount of heap memory, in kilobytes, allocated to Flash Lite.

GetVolumeLevel

Returns the current volume level of the device as a numeric value.

Quit

Causes the Flash Lite Player to stop playback and exit.

ResetSoftKeys

Resets the soft keys to their original settings.

SetFocusRectColor

Sets the color of the focus rectangle to any color.

SetInputTextType

Specifies the mode in which the input text field should be opened.

SetSoftKeys

Remaps the softkeys of a mobile device.

StartVibrate

Starts the phone's vibration feature.

StopVibrate

Stops the current vibration, if any.