GetMaxVolumeLevel fscommand2 Command

GetMaxVolumeLevel

Personalized wallpapers and screensavers for mobile phones

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

Command
GetMaxVolumeLevel

Parameters
None

Value Returned
-1: Not supported. Other values: The maximum volume level.

Availability: ActionScript 1.0; Flash Lite 1.1

Example

The following example sets the maxvolume variable to the maximum volume level of the device:
maxvolume = fscommand2("GetMaxVolumeLevel");
trace (maxvolume); // output: 80

Back to home