Top | ![]() |
![]() |
![]() |
![]() |
gchar * | color-mode | Read / Write / Construct |
gboolean | debugger | Read / Write / Construct |
guint | dpi | Read / Write / Construct |
gchar * | language | Read / Write / Construct |
gchar * | manufacturer | Read / Write / Construct |
gchar * | os | Read / Write / Construct |
gchar * | os-type | Read / Write / Construct |
gdouble | pixel-aspect-ratio | Read / Write / Construct |
gchar * | player-type | Read / Write / Construct |
guint | screen-height | Read / Write / Construct |
guint | screen-width | Read / Write / Construct |
gchar * | server-manufacturer | Read / Write / Construct |
gint | utc-offset | Read / Write / Construct |
gchar * | version | 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.
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.
“color-mode”
property “color-mode” gchar *
"color", "gray" or "bw".
Flags: Read / Write / Construct
Default value: "color"
“debugger”
property “debugger” gboolean
TRUE if this player is supposed to be a debugger.
Flags: Read / Write / Construct
Default value: FALSE
“dpi”
property “dpi” guint
DPI setting of screen.
Flags: Read / Write / Construct
Default value: 96
“language”
property “language” gchar *
ISO 639-1 language code.
Flags: Read / Write / Construct
Default value: "en"
“manufacturer”
property “manufacturer” gchar *
string describing the manufacturer of this system.
Flags: Read / Write / Construct
Default value: "Macromedia Windows"
“os”
property “os” gchar *
description of the operating system.
Flags: Read / Write / Construct
Default value: "Windows XP"
“os-type”
property “os-type” gchar *
the operating system type: WIN, LIN or MAC.
Flags: Read / Write / Construct
Default value: "WIN"
“pixel-aspect-ratio”
property “pixel-aspect-ratio” gdouble
the screen's pixel aspect ratio.
Flags: Read / Write / Construct
Allowed values: >= G_MINDOUBLE
Default value: 1
“player-type”
property “player-type” gchar *
"StandAlone", "External", "PlugIn" or "ActiveX".
Flags: Read / Write / Construct
Default value: "StandAlone"
“screen-height”
property “screen-height” guint
height of the screen in pixels.
Flags: Read / Write / Construct
Default value: 768
“screen-width”
property “screen-width” guint
width of the screen in pixels.
Flags: Read / Write / Construct
Default value: 1024
“server-manufacturer”
property “server-manufacturer” gchar *
manufacturer of this system as used in serverString.
Flags: Read / Write / Construct
Default value: "Adobe Windows"
“utc-offset”
property “utc-offset” gint
Difference between UTC and local timezone in minutes.
Flags: Read / Write / Construct
Allowed values: [-720,720]
Default value: 0