Swfdec Reference Manual | ||||
---|---|---|---|---|
"color-mode" gchar* : Read / Write / Construct "debugger" gboolean : Read / Write / Construct "dpi" guint : Read / Write / Construct "language" gchar* : Read / Write / Construct "manufacturer" gchar* : Read / Write / Construct "os" gchar* : Read / Write / Construct "os-type" gchar* : Read / Write / Construct "pixel-aspect-ratio" gdouble : Read / Write / Construct "player-type" gchar* : Read / Write / Construct "screen-height" guint : Read / Write / Construct "screen-width" guint : Read / Write / Construct "server-manufacturer" gchar* : Read / Write / Construct "utc-offset" gint : Read / Write / Construct "version" gchar* : Read / Write / Construct
This object is used to provide information about the system Swfdec currently runs on.
Almost all of this information can be categorized into three types: Information about the current playback engine like manufacturer or version, information about the current operating system and capabilities of the output capabilities of the System like screen size.
The information provided by this object is used by the Actionscript
System.capabilities.Query()
function that is usually only run once during
initialization of the Flash player. If you want to set custom properties and
have them affect a running SwfdecPlayer, you should change them before the
player gets initialized.
Note that the System.capabilites object in Flash provides more functionality than provided by this object. That information can be and is determined automatically by Swfdec.
typedef struct _SwfdecSystem SwfdecSystem;
This is the object used for holding information about the current system. See the introduction for details.
SwfdecSystem* swfdec_system_new (void);
Creates a new SwfdecSystem object using default settings. These settings are mirroring the most common settings used by a Flash player. Currently this is equivalent to a Flash player running on Windows XP.
Returns : |
a new SwfdecSystem object |
"color-mode"
property"color-mode" gchar* : Read / Write / Construct
"color", "gray" or "bw".
Default value: "color"
"debugger"
property"debugger" gboolean : Read / Write / Construct
TRUE if this player is supposed to be a debugger.
Default value: FALSE
"language"
property"language" gchar* : Read / Write / Construct
ISO 639-1 language code.
Default value: "en"
"manufacturer"
property"manufacturer" gchar* : Read / Write / Construct
string describing the manufacturer of this system.
Default value: "Macromedia Windows"
"os"
property"os" gchar* : Read / Write / Construct
description of the operating system.
Default value: "Windows XP"
"os-type"
property"os-type" gchar* : Read / Write / Construct
the operating system type: WIN, LIN or MAC.
Default value: "WIN"
"pixel-aspect-ratio"
property"pixel-aspect-ratio" gdouble : Read / Write / Construct
the screen's pixel aspect ratio.
Allowed values: >= G_MINDOUBLE
Default value: 1
"player-type"
property"player-type" gchar* : Read / Write / Construct
"StandAlone", "External", "PlugIn" or "ActiveX".
Default value: "StandAlone"
"screen-height"
property"screen-height" guint : Read / Write / Construct
height of the screen in pixels.
Default value: 768
"screen-width"
property"screen-width" guint : Read / Write / Construct
width of the screen in pixels.
Default value: 1024
"server-manufacturer"
property"server-manufacturer" gchar* : Read / Write / Construct
manufacturer of this system as used in serverString.
Default value: "Adobe Windows"
"utc-offset"
property"utc-offset" gint : Read / Write / Construct
Difference between UTC and local timezone in minutes.
Allowed values: [-720,720]
Default value: 0
"version"
property"version" gchar* : Read / Write / Construct
version string.
Default value: "WIN 9,0,999,0"