qr code generation since 2 1 readonly boolean visionqrcoderecognition indicates whether the device supports vision qr code recognition since 2 1 readonly boolean visionfacerecognition indicates whether the device supports vision face recognition since 2 1 readonly boolean secureelement indicates whether the device supports secure element since 2 1 readonly boolean nativeospcompatible indicates whether the device supports native osp api since 2 1 readonly systeminfoprofile profile represents the profile of the current device since 2 2 2 4 systeminfooptions an object containing the various options for fetching the properties requested dictionary systeminfooptions { unsigned long timeout; double highthreshold; double lowthreshold; }; since 1 0 the highthreshold and lowthreshold values are only applicable to the following systeminfopropertyid systeminfobattery - level from 0 to 1 systeminfocpu - load from 0 to 1 systeminfodisplay - brightness from 0 to 1 for other cases, it is ignored dictionary members unsigned long timeout the number of milliseconds beyond which the operation must be interrupted since 1 0 double highthreshold an attribute to indicate that the successcallback method in the watch operation will be triggered only if the device property is a number and its value is greater than or equal to this number this attribute has no effect on the get method since 1 0 **double ** an attribute to indicate that the successcallback method in the watch operation must be triggered only if the property is a number and its value is lower than or equal to this number if both *highthreshold *and *lowthreshold *parameters are specified, the successcallback is triggered if and only if the property value is either lower than the value of lowthreshold or higher than the value of highthreshold this attribute has no effect on the get method since 1 0 2 5 systeminfopropertysuccesscallback systeminfo specific success callback [callback=functiononly, nointerfaceobject] interface systeminfopropertysuccesscallback { void onsuccess systeminfoproperty property ; }; since 1 0 this callback interface specifies a success callback with systeminfoproperty as input argument it is used in asynchronous operations, such as getpropertyvalue or addpropertyvaluechangelistener methods onsuccess function invoked when the asynchronous call completes successfully void onsuccess systeminfoproperty property ; since 1 0 parameters property the property returned from a successful asynchronous operation 2 6 systeminfopropertyarraysuccesscallback systeminfo specific success callback [callback=functiononly, nointerfaceobject] interface systeminfopropertyarraysuccesscallback { void onsuccess systeminfoproperty[] properties ; }; since 2 3 this callback interface specifies a success callback with systeminfoproperty as input argument it is used in asynchronous operations, such as getpropertyvaluearray or addpropertyvaluearraychangelistener methods onsuccess function invoked when the asynchronous call completes successfully void onsuccess systeminfoproperty[] properties ; since 2 3 parameters properties the array of systeminfoproperty objects returned from a successful asynchronous operation 2 7 systeminfoproperty this is a common abstract interface used by different types of system information objects [nointerfaceobject] interface systeminfoproperty { }; since 1 0 2 8 systeminfobattery this property reflects the general state of the system's battery [nointerfaceobject] interface systeminfobattery systeminfoproperty { readonly attribute double level; readonly attribute boolean ischarging; readonly attribute long? timetodischarge; readonly attribute long? timetofullcharge; }; since 1 0 listener notice change listener registered on battery property is triggered on level and ischarging properties change attributes readonly double level an attribute to specify the remaining level of an internal battery, scaled from 0 to 1 0 indicates that the battery level is the lowest and the system is about to enter shutdown mode 1 indicates that the system's charge is maximum any threshold parameter used in a watch operation to monitor this property applies to this attribute since 1 0 readonly boolean ischarging indicates whether the battery source is currently charging since 1 0 readonly long timetodischarge [nullable] estimated time to discharge, in minutes this parameter is mutually exclusive with parameter timetofullcharge an attribute timetodischarge becomes null when device is plugged this attribute may equal to -1 indicating there is no enough collected data, which means that the device is still learning device's power usage characteristics and cannot predict the time yet this process may take up to few days since 4 0 readonly long timetofullcharge [nullable] estimated time to finish charging battery, in minutes this parameter is mutually exclusive with parameter timetodischarge an attribute timetofullcharge becomes null when device is unplugged this attribute may equal to -1 indicating there is no enough collected data, which means that the device is still learning device's power usage characteristics and cannot predict the time yet this process may take up to few days since 4 0 2 9 systeminfocpu this property reflects the state of the cpus available to this system [nointerfaceobject] interface systeminfocpu systeminfoproperty { readonly attribute double load; }; since 1 0 attributes readonly double load an attribute to indicate the current cpu load, as a number between 0 0 and 1 0, representing the minimum and maximum values allowed on this system any threshold parameter used in a watch function to monitor this property applies to this attribute since 1 0 2 10 systeminfostorage this property exposes the data storage devices connected to this system [nointerfaceobject] interface systeminfostorage systeminfoproperty { readonly attribute systeminfostorageunit[] units; }; since 1 0 attributes readonly systeminfostorageunit[] units the array of storage units connected to this device since 1 0 2 11 systeminfostorageunit this property exposes a single storage device connected to this system [nointerfaceobject] interface systeminfostorageunit systeminfoproperty { readonly attribute domstring type; readonly attribute unsigned long long capacity; readonly attribute unsigned long long availablecapacity; readonly attribute boolean isremovable; readonly attribute boolean isremoveable; }; attributes readonly domstring type the type of a storage device the value is one of the constants defined for this type the supported storage unit types are unknown internal usb_device usb_host mmc since 1 0 readonly unsigned long long capacity the total amount of space available on the user's storage excluding system-reserved , in bytes since 1 0 readonly unsigned long long availablecapacity the amount of space currently available on the user's storage, in bytes since 1 0 readonly boolean isremovable an attribute to indicate whether a device can be removed or not the following values are supported true - if this storage unit can be removed from the system such as an sdcard unplugged false - if this storage unit cannot be removed from the system since 2 1 readonly boolean isremoveable true if this unit can be removed from the system such as an sdcard unplugged , false otherwise deprecated deprecated since 2 1 instead, use isremovable since 1 0 2 12 systeminfodisplay this property reflects the information of the display [nointerfaceobject] interface systeminfodisplay systeminfoproperty { readonly attribute unsigned long resolutionwidth; readonly attribute unsigned long resolutionheight; readonly attribute unsigned long dotsperinchwidth; readonly attribute unsigned long dotsperinchheight; readonly attribute double physicalwidth; readonly attribute double physicalheight; readonly attribute double brightness; }; since 1 0 listener notice change listener registered on display property is triggered on brightness property change attributes readonly unsigned long resolutionwidth the total number of addressable pixels in the horizontal direction of a rectangular entity such as camera, display, image, video, when held in its default orientation since 1 0 readonly unsigned long resolutionheight the total number of addressable pixels in the vertical direction of a rectangular element such as camera, display, image, video, when held in its default orientation since 1 0 readonly unsigned long dotsperinchwidth resolution of this device, along its width, in dots per inch since 1 0 readonly unsigned long dotsperinchheight resolution of this device, along its height, in dots per inch since 1 0 readonly double physicalwidth the display's physical width in millimeters since 1 0 readonly double physicalheight the display's physical height in millimeters since 1 0 readonly double brightness the current brightness of a display ranging between 0 to 1 since 1 0 2 13 systeminfopanel this property reflects the resolution limits of the panel [nointerfaceobject] interface systeminfopanel systeminfoproperty { readonly attribute unsigned long panelwidth; readonly attribute unsigned long panelheight; }; since 5 5 remark methods addpropertyvaluechangelistener and addpropertyvaluearraychangelistener triggers errorcallback with error type notsupportederror in case of use the panel property attributes readonly unsigned long panelwidth the width of the panel in pixels since 5 5 readonly unsigned long panelheight the height of the panel in pixels since 5 5 2 14 systeminfodeviceorientation this property reflects the information of the device orientation in this system [nointerfaceobject] interface systeminfodeviceorientation systeminfoproperty { readonly attribute systeminfodeviceorientationstatus status; readonly attribute boolean isautorotation; }; since 2 0 attributes readonly systeminfodeviceorientationstatus status represents the status of the current device orientation since 2 0 readonly boolean isautorotation indicates whether the device is in autorotation since 2 0 2 15 systeminfobuild this property reflects the information of the current device [nointerfaceobject] interface systeminfobuild systeminfoproperty { readonly attribute domstring model; readonly attribute domstring manufacturer; readonly attribute domstring buildversion; }; since 2 0 attributes readonly domstring model represents the model name of the current device since 2 0 readonly domstring manufacturer represents the manufacturer of the device since 2 1 readonly domstring buildversion represents the build version information of the device since 2 2 2 16 systeminfolocale this property reflects the locale information of the current device [nointerfaceobject] interface systeminfolocale systeminfoproperty { readonly attribute domstring language; readonly attribute domstring country; }; since 2 1 attributes readonly domstring language indicates the current language setting in the language _ region syntax the language setting is in the iso 639-2 format and the region setting is in the iso 3166-1 alpha-2 format the language setting is case-sensitive since 2 1 readonly domstring country indicates the current country setting in the language _ region syntax the language setting is in the iso 639-2 format and the region setting is in the iso 3166-1 alpha-2 format the country setting is case-sensitive since 2 1 2 17 systeminfonetwork this property reflects the information of the data network in this system [nointerfaceobject] interface systeminfonetwork systeminfoproperty { readonly attribute systeminfonetworktype networktype; }; since 2 0 attributes readonly systeminfonetworktype networktype represents the network type of the current data network since 2 0networktype 2 18 systeminfowifinetwork this property reflects the information of the wi-fi network in this system [nointerfaceobject] interface systeminfowifinetwork systeminfoproperty { readonly attribute domstring status; readonly attribute domstring ssid; readonly attribute domstring ipaddress; readonly attribute domstring ipv6address; readonly attribute domstring macaddress; readonly attribute double signalstrength; readonly attribute systeminfowifisecuritymode securitymode; readonly attribute systeminfowifiencryptiontype encryptiontype; readonly attribute systeminfonetworkipmode ipmode; readonly attribute domstring subnetmask; readonly attribute domstring gateway; readonly attribute domstring dns; }; since 1 0 listener notice change listener registered on wifi_network property is triggered on ipaddress and ipv6address properties change the network layer those changes could be not consistent with physical layer status or signalstrength of physical adapter according to above constraints, in specific situation the listener could be triggered just before network adapter shutdown and the value of status returned by listener would be outdated attributes readonly domstring status represents the status on or off of the wi-fi interface since 1 0 readonly domstring ssid represents the ssid of the wi-fi network since 1 0 readonly domstring ipaddress represents the ipv4 address of the wi-fi network since 1 0 readonly domstring ipv6address represents the ipv6 address of the wi-fi network since 2 0 readonly domstring macaddress represents the mac address of the wi-fi interface it is written in mm mm mm ss ss ss format since 2 3 readonly double signalstrength this connection's signal strength, as a normalized value between 0 no signal detected and 1 the level is at its maximum value since 1 0 readonly systeminfowifisecuritymode securitymode represents this connection's security mode since 2 4 readonly systeminfowifiencryptiontype encryptiontype represents this connection's encryption type since 2 4 readonly systeminfonetworkipmode ipmode represents this connection's ip configuration type since 2 4 readonly domstring subnetmask represents the subnet mask of this connection it is written in 255 255 255 255 format since 2 4 readonly domstring gateway represents the gateway of this connection it is written in 255 255 255 255 format since 2 4 readonly domstring dns represents the dns address of this connection it is written in 255 255 255 255 format since 2 4 2 19 systeminfoethernetnetwork this property reflects the information of the ethernet network in this system [nointerfaceobject] interface systeminfoethernetnetwork systeminfoproperty { readonly attribute domstring cable; readonly attribute domstring status; readonly attribute domstring ipaddress; readonly attribute domstring ipv6address; readonly attribute domstring macaddress; readonly attribute systeminfonetworkipmode ipmode; readonly attribute domstring subnetmask; readonly attribute domstring gateway; readonly attribute domstring dns; }; since 2 4 listener notice change listener registered on ethernet_network property is triggered on ipaddress and ipv6address properties change the network layer those changes could be not consistent with physical layer status of physical adapter according to above constraints, in specific situation the listener could be triggered just before network adapter shutdown and the value of status returned by listener would be outdated attributes readonly domstring cable represents the cable status attached or detached of the ethernet interface since 2 4 readonly domstring status represents the status deactivated, disconnected or connected of the ethernet interface since 2 4 readonly domstring ipaddress represents the ipv4 address of the ethernet network since 2 4 readonly domstring ipv6address represents the ipv6 address of the ethernet network since 2 4 readonly domstring macaddress represents the mac address of the ethernet interface it is written in mm mm mm ss ss ss format since 2 4 readonly systeminfonetworkipmode ipmode represents this connection's ip configuration type since 2 4 readonly domstring subnetmask represents the subnet mask of this connection it is written in 255 255 255 255 format since 2 4 readonly domstring gateway represents the gateway of this connection it is written in 255 255 255 255 format since 2 4 readonly domstring dns represents the dns address of this connection it is written in 255 255 255 255 format since 2 4 2 20 systeminfocellularnetwork this property reflects the information of the cellular network in this system [nointerfaceobject] interface systeminfocellularnetwork systeminfoproperty { readonly attribute domstring status; readonly attribute domstring apn; readonly attribute domstring ipaddress; readonly attribute domstring ipv6address; readonly attribute unsigned short mcc; readonly attribute unsigned short mnc; readonly attribute unsigned short cellid; readonly attribute unsigned short lac; readonly attribute boolean isroaming; readonly attribute boolean isflightmode; readonly attribute domstring imei raises webapiexception ; readonly attribute systeminfonetworkipmode ipmode; readonly attribute domstring subnetmask; readonly attribute domstring gateway; readonly attribute domstring dns; }; since 1 0 listener notice change listener registered on cellular_network property is triggered on ipaddress, ipv6address the network layer , cellid, lac and isflightmode properties change those changes could be not consistent with physical layer status of physical adapter according to above constraints, in specific situation the listener could be triggered just before network adapter shutdown and the value of status returned by listener would be outdated attributes readonly domstring status represents the status on or off of the cellular network since 1 0 readonly domstring apn represents an access point name of the cellular network since 1 0 readonly domstring ipaddress represents the ipv4 address of the cellular network since 1 0 readonly domstring ipv6address represents the ipv6 address of the cellular network since 2 0 readonly unsigned short mcc represents mobile country code mcc of the cellular network since 1 0 readonly unsigned short mnc represents mobile network code mnc of the cellular network mnc is used in combination with mcc also known as a "mcc / mnc tuple" to uniquely identify a mobile phone operator/carrier using the gsm, cdma, iden, tetra and umts public land mobile networks and some satellite mobile networks since 1 0 readonly unsigned short cellid represents cell id since 1 0 readonly unsigned short lac represents location area code since 1 0 readonly boolean isroaming indicates whether the connection is set up while the device is roaming since 1 0 readonly boolean isflightmode indicates whether the device is in flight mode since 2 1 readonly domstring imei represents the international mobile equipment identity imei since 2 1 privilege level public privilege http //tizen org/privilege/telephony warning http //tizen org/privilege/systemmanager partner level has been deprecated since 2 3 1 instead, use http //tizen org/privilege/telephony exceptions webapiexception with error type securityerror, if this attribute is not allowed readonly systeminfonetworkipmode ipmode represents this connection's ip configuration type since 2 4 readonly domstring subnetmask represents the subnet mask of this connection it is written in 255 255 255 255 format since 2 4 readonly domstring gateway represents the gateway of this connection it is written in 255 255 255 255 format since 2 4 readonly domstring dns represents the dns address of this connection it is written in 255 255 255 255 format since 2 4 2 21 systeminfonetproxynetwork this property reflects the information of the net_proxy network in this system [nointerfaceobject] interface systeminfonetproxynetwork systeminfoproperty { readonly attribute domstring status; }; since 3 0 attributes readonly domstring status represents the status on or off of the net_proxy network since 3 0 2 22 systeminfosim this property reflects the information of the sim card information [nointerfaceobject] interface systeminfosim systeminfoproperty { readonly attribute systeminfosimstate state raises webapiexception ; readonly attribute domstring operatorname raises webapiexception ; readonly attribute domstring msisdn raises webapiexception ; readonly attribute domstring iccid raises webapiexception ; readonly attribute unsigned short mcc raises webapiexception ; readonly attribute unsigned short mnc raises webapiexception ; readonly attribute domstring msin raises webapiexception ; readonly attribute domstring spn raises webapiexception ; }; since 2 0 attributes readonly systeminfosimstate state represents the sim card state since 2 1 privilege level public privilege http //tizen org/privilege/system exceptions webapiexception with error type securityerror, if this attribute is not allowed readonly domstring operatorname represents the operator name string ons of common pcn handset specification cphs in sim card since 2 0 privilege level public privilege http //tizen org/privilege/system exceptions webapiexception with error type securityerror, if this attribute is not allowed readonly domstring msisdn represents the sim card subscriber number since 2 0 privilege level public privilege http //tizen org/privilege/telephony warning the partner level privilege, http //tizen org/privilege/systemmanager, has been deprecated from tizen 2 4, the public level privilege, http //tizen org/privilege/telephony, is required exceptions webapiexception with error type securityerror, if this attribute is not allowed readonly domstring iccid represents the integrated circuit card id since 2 0 privilege level public privilege http //tizen org/privilege/system exceptions webapiexception with error type securityerror, if this attribute is not allowed readonly unsigned short mcc represents the mobile country code mcc of sim provider since 2 0 privilege level public privilege http //tizen org/privilege/system exceptions webapiexception with error type securityerror, if this attribute is not allowed readonly unsigned short mnc represents the mobile network code mnc of sim provider since 2 0 privilege level public privilege http //tizen org/privilege/system exceptions webapiexception with error type securityerror, if this attribute is not allowed readonly domstring msin represents the mobile subscription identification number msin of sim provider since 2 0 privilege level public privilege http //tizen org/privilege/telephony warning the partner level privilege, http //tizen org/privilege/systemmanager, has been deprecated from tizen 2 4, the public level privilege, http //tizen org/privilege/telephony, is required exceptions webapiexception with error type securityerror, if this attribute is not allowed readonly domstring spn represents the service provider name spn of sim card since 2 0 privilege level public privilege http //tizen org/privilege/system exceptions webapiexception with error type securityerror, if this attribute is not allowed 2 23 systeminfoperipheral this property reflects the peripheral information of the current device [nointerfaceobject] interface systeminfoperipheral systeminfoproperty { readonly attribute boolean isvideooutputon; }; since 2 1 attributes readonly boolean isvideooutputon represents the video out status since 2 1 2 24 systeminfomemory this property represents information about the memory state on the device system [nointerfaceobject] interface systeminfomemory systeminfoproperty { readonly attribute systeminfolowmemorystatus status; }; since 2 3 attributes readonly systeminfolowmemorystatus status represents the low memory state since 2 3 2 25 systeminfovideosourceinfo this property reflects each input source the current device has [nointerfaceobject] interface systeminfovideosourceinfo { readonly attribute systeminfovideosourcetype type; readonly attribute long number; readonly attribute boolean? signal; }; since 2 3 if there are 2 hdmi inputs on a device, two systeminfovideosourceinfo objects must be retreived through systeminfovideosource{type=hdmi, number=1}, {type=hdmi, number=2} attributes readonly systeminfovideosourcetype type represents the type of the video input source since 2 3 readonly long number represents the input number of the input source if the source is "hdmi 2", the number is 2 since 2 3 readonly boolean signal [nullable] represents if there is a signal provided on the source the signal attribute can be null the null value means that information about signal could not be retrieved at the time of returning this object if the value is true, it means that there is signal provided the value set to false means, that there is no signal by default getpropertyvalue functions does not support this member, and will return object with signal value set to null, it is supported only by tvwindow module to get data about signal use tizen tvwindow getsource or tizen tvwindow setsource since 5 5 2 26 systeminfovideosource this property reflects the video sources the device has [nointerfaceobject] interface systeminfovideosource systeminfoproperty { readonly attribute systeminfovideosourceinfo[] connected; readonly attribute systeminfovideosourceinfo[] disconnected; }; since 2 3 attributes readonly systeminfovideosourceinfo[] connected represents a list of video sources that a device is connected with since 2 3 readonly systeminfovideosourceinfo[] disconnected represents a list of video sources that a device is not connected with since 2 3 2 27 systeminfocameraflash the systeminfocameraflash provides the way to control the attached the camera flash [nointerfaceobject] interface systeminfocameraflash systeminfoproperty { readonly attribute double brightness raises webapiexception ; readonly attribute domstring camera; readonly attribute long levels raises webapiexception ; void setbrightness double brightness raises webapiexception ; }; since 2 4 attributes readonly double brightness brightness level of the camera flash 0~1 since 2 4 privilege level public privilege http //tizen org/privilege/led exceptions webapiexception with error type securityerror, if this attribute is not allowed code example tizen systeminfo getpropertyvalue "camera_flash", function flash { console log "flash brightness is set to " + flash brightness * 100 tofixed 0 + "%" ; }, function error { console log "error, name " + error name + ", message " + error message ; } ; readonly domstring camera specifies camera to which this flash belongs back - back camera flash front - front camera flash external - external camera flash other - a flash attached to any other camera the getpropertyvalue method retrieves the systeminfocameraflash for back camera since 2 4 readonly long levels number of brightness levels supported by the flash other than 0 brightness since 2 4 privilege level public privilege http //tizen org/privilege/led exceptions webapiexception with error type securityerror, if this attribute is not allowed methods setbrightness sets the brightness value of the flash that is located next to the camera void setbrightness double brightness ; since 2 4 if the specified brightness value is not supported by the device, the brightness is rounded down to the nearest supported brightness value privilege level public privilege http //tizen org/privilege/led parameters brightness the brightness value of led 0~1 exceptions webapiexception with error type invalidvalueserror, if any of the input parameters contains an invalid value with error type securityerror, if the application does not have the privilege to call this method with error type unknownerror, if the method cannot be completed because of an unknown error code example tizen systeminfo getpropertyvalue "camera_flash", function flash { try { flash setbrightness 1 ; } catch error { console log "setting flash brightness failed " + error message ; } }, function error { console log "error, name " + error name + ", message " + error message ; } ; 2 28 systeminfoads this property represents information about advertisement service - ads [nointerfaceobject] interface systeminfoads systeminfoproperty { readonly attribute domstring id; }; since 3 0 attributes readonly domstring id represents the unique id of advertisement service it is used to distinguish each device since 3 0 2 29 systeminfoservicecountry this property represents a country of which basic policy of terms and conditions is set [nointerfaceobject] interface systeminfoservicecountry systeminfoproperty { readonly attribute domstring servicecountry; }; since 5 5 attributes readonly domstring servicecountry represents a country of which basic policy is set since 5 5 3 related feature method tizen systeminfo getcapability can be used in application runtime to check whether this api is supported to guarantee the running of the application e g track the battery usage on a device which has a battery, declare the following feature requirements in the config file http //tizen org/feature/battery to guarantee the running of the application on a device which has camera back flash and control it, declare the following feature requirements in the config file http //tizen org/feature/camera back flash to guarantee the running of the application on a device which supports ethernet network feature, declare the following feature requirements in the config file http //tizen org/feature/network ethernet to guarantee the running of the application on a device which supports network proxy for internet connection, declare the following feature requirements in the config file http //tizen org/feature/network net_proxy to guarantee the running of the application on a device which supports telephony feature, declare the following feature requirements in the config file http //tizen org/feature/network telephony to guarantee the running of the application on a device which supports wi-fi, declare the following feature requirements in the config file http //tizen org/feature/network wifi for more information, see application filtering 4 full webidl module systeminfo { enum systeminfopropertyid { "battery", "cpu", "storage", "display", "device_orientation", "build", "locale", "network", "wifi_network", "ethernet_network", "cellular_network", "net_proxy_network", "sim", "peripheral", "memory", "videosource", "camera_flash", "ads", "service_country", "source_info", "panel" }; enum systeminfonetworktype { "none", "2g", "2 5g", "3g", "4g", "wifi", "ethernet", "net_proxy", "unknown" }; enum systeminfowifisecuritymode { "none", "wep", "wpa_psk", "wpa2_psk", "eap" }; enum systeminfowifiencryptiontype { "none", "wep", "tkip", "aes", "tkip_aes_mixed" }; enum systeminfonetworkipmode { "none", "static", "dynamic", "auto", "fixed" }; enum systeminfodeviceorientationstatus { "portrait_primary", "portrait_secondary", "landscape_primary", "landscape_secondary" }; enum systeminfosimstate { "absent", "initializing", "ready", "pin_required", "puk_required", "network_locked", "sim_locked", "unknown" }; enum systeminfoprofile { "mobile", "wearable", "tv" }; enum systeminfolowmemorystatus { "normal", "warning" }; enum systeminfovideosourcetype { "tv", "av", "svideo", "comp", "pc", "hdmi", "scart", "dvi", "media" }; dictionary systeminfooptions { unsigned long timeout; double highthreshold; double lowthreshold; }; tizen implements systeminfoobject; [nointerfaceobject] interface systeminfoobject { readonly attribute systeminfo systeminfo; }; [nointerfaceobject] interface systeminfo { long long gettotalmemory raises webapiexception ; long long getavailablememory raises webapiexception ; systeminfodevicecapability getcapabilities raises webapiexception ; any getcapability domstring key raises webapiexception ; long getcount systeminfopropertyid property raises webapiexception ; void getpropertyvalue systeminfopropertyid property, systeminfopropertysuccesscallback successcallback, optional errorcallback? errorcallback raises webapiexception ; void getpropertyvaluearray systeminfopropertyid property, systeminfopropertyarraysuccesscallback successcallback, optional errorcallback? errorcallback raises webapiexception ; unsigned long addpropertyvaluechangelistener systeminfopropertyid property, systeminfopropertysuccesscallback successcallback, optional systeminfooptions? options, optional errorcallback? errorcallback raises webapiexception ; unsigned long addpropertyvaluearraychangelistener systeminfopropertyid property, systeminfopropertyarraysuccesscallback successcallback, optional systeminfooptions? options, optional errorcallback? errorcallback raises webapiexception ; void removepropertyvaluechangelistener unsigned long listenerid raises webapiexception ; }; }; [callback=functiononly, nointerfaceobject] interface systeminfopropertysuccesscallback { void onsuccess systeminfoproperty property ; }; [callback=functiononly, nointerfaceobject] interface systeminfopropertyarraysuccesscallback { void onsuccess systeminfoproperty[] properties ; }; [nointerfaceobject] interface systeminfoproperty { }; [nointerfaceobject] interface systeminfobattery systeminfoproperty { readonly attribute double level; readonly attribute boolean ischarging; readonly attribute long? timetodischarge; readonly attribute long? timetofullcharge; }; [nointerfaceobject] interface systeminfocpu systeminfoproperty { readonly attribute double load; }; [nointerfaceobject] interface systeminfostorage systeminfoproperty { readonly attribute systeminfostorageunit[] units; }; [nointerfaceobject] interface systeminfostorageunit systeminfoproperty { readonly attribute domstring type; readonly attribute unsigned long long capacity; readonly attribute unsigned long long availablecapacity; readonly attribute boolean isremovable; }; [nointerfaceobject] interface systeminfodisplay systeminfoproperty { readonly attribute unsigned long resolutionwidth; readonly attribute unsigned long resolutionheight; readonly attribute unsigned long dotsperinchwidth; readonly attribute unsigned long dotsperinchheight; readonly attribute double physicalwidth; readonly attribute double physicalheight; readonly attribute double brightness; }; [nointerfaceobject] interface systeminfopanel systeminfoproperty { readonly attribute unsigned long panelwidth; readonly attribute unsigned long panelheight; }; [nointerfaceobject] interface systeminfodeviceorientation systeminfoproperty { readonly attribute systeminfodeviceorientationstatus status; readonly attribute boolean isautorotation; }; [nointerfaceobject] interface systeminfobuild systeminfoproperty { readonly attribute domstring model; readonly attribute domstring manufacturer; readonly attribute domstring buildversion; }; [nointerfaceobject] interface systeminfolocale systeminfoproperty { readonly attribute domstring language; readonly attribute domstring country; }; [nointerfaceobject] interface systeminfonetwork systeminfoproperty { readonly attribute systeminfonetworktype networktype; }; [nointerfaceobject] interface systeminfowifinetwork systeminfoproperty { readonly attribute domstring status; readonly attribute domstring ssid; readonly attribute domstring ipaddress; readonly attribute domstring ipv6address; readonly attribute domstring macaddress; readonly attribute double signalstrength; readonly attribute systeminfowifisecuritymode securitymode; readonly attribute systeminfowifiencryptiontype encryptiontype; readonly attribute systeminfonetworkipmode ipmode; readonly attribute domstring subnetmask; readonly attribute domstring gateway; readonly attribute domstring dns; }; [nointerfaceobject] interface systeminfoethernetnetwork systeminfoproperty { readonly attribute domstring cable; readonly attribute domstring status; readonly attribute domstring ipaddress; readonly attribute domstring ipv6address; readonly attribute domstring macaddress; readonly attribute systeminfonetworkipmode ipmode; readonly attribute domstring subnetmask; readonly attribute domstring gateway; readonly attribute domstring dns; }; [nointerfaceobject] interface systeminfocellularnetwork systeminfoproperty { readonly attribute domstring status; readonly attribute domstring apn; readonly attribute domstring ipaddress; readonly attribute domstring ipv6address; readonly attribute unsigned short mcc; readonly attribute unsigned short mnc; readonly attribute unsigned short cellid; readonly attribute unsigned short lac; readonly attribute boolean isroaming; readonly attribute boolean isflightmode; readonly attribute domstring imei raises webapiexception ; readonly attribute systeminfonetworkipmode ipmode; readonly attribute domstring subnetmask; readonly attribute domstring gateway; readonly attribute domstring dns; }; [nointerfaceobject] interface systeminfonetproxynetwork systeminfoproperty { readonly attribute domstring status; }; [nointerfaceobject] interface systeminfosim systeminfoproperty { readonly attribute systeminfosimstate state raises webapiexception ; readonly attribute domstring operatorname raises webapiexception ; readonly attribute domstring msisdn raises webapiexception ; readonly attribute domstring iccid raises webapiexception ; readonly attribute unsigned short mcc raises webapiexception ; readonly attribute unsigned short mnc raises webapiexception ; readonly attribute domstring msin raises webapiexception ; readonly attribute domstring spn raises webapiexception ; }; [nointerfaceobject] interface systeminfoperipheral systeminfoproperty { readonly attribute boolean isvideooutputon; }; [nointerfaceobject] interface systeminfomemory systeminfoproperty { readonly attribute systeminfolowmemorystatus status; }; [nointerfaceobject] interface systeminfovideosourceinfo { readonly attribute systeminfovideosourcetype type; readonly attribute long number; readonly attribute boolean? signal; }; [nointerfaceobject] interface systeminfovideosource systeminfoproperty { readonly attribute systeminfovideosourceinfo[] connected; readonly attribute systeminfovideosourceinfo[] disconnected; }; [nointerfaceobject] interface systeminfocameraflash systeminfoproperty { readonly attribute double brightness raises webapiexception ; readonly attribute domstring camera; readonly attribute long levels raises webapiexception ; void setbrightness double brightness raises webapiexception ; }; [nointerfaceobject] interface systeminfoads systeminfoproperty { readonly attribute domstring id; }; [nointerfaceobject] interface systeminfoservicecountry systeminfoproperty { readonly attribute domstring servicecountry; };