systeminfo api this specification defines interfaces and methods that provide web applications with access to various properties of a system this api also provides interfaces and methods that can retrieve statuses of hardware devices, get the value of selected properties, and subscribe to asynchronous notifications of changes for selected values web applications can use this api to access the following system properties battery build camera_flash since 2 4 cellular_network cpu device_orientation display ethernet_network since 2 4 locale since 2 1 memory since 2 3 network net_proxy_network since 3 0 peripheral since 2 1 sim storage videosource since 2 3 wifi_network ads since 3 0 panel since 5 5 source_info since 5 5 service_country since 5 5 not all above properties may be available on every tizen device for instance, a device may not support the telephony feature in that case, cellular_network and sim are not available to check the available systeminfopropertyid, getcapability method can be used battery - tizen systeminfo getcapability "http //tizen org/feature/battery" camera_flash - tizen systeminfo getcapability "http //tizen org/feature/camera back flash" cellular_network - tizen systeminfo getcapability "http //tizen org/feature/network telephony" display - tizen systeminfo getcapability "http //tizen org/feature/screen" ethernet_network - tizen systeminfo getcapability "http //tizen org/feature/network ethernet" net_proxy_network - tizen systeminfo getcapability "http //tizen org/feature/network net_proxy" sim - tizen systeminfo getcapability "http //tizen org/feature/network telephony" wifi_network - tizen systeminfo getcapability "http //tizen org/feature/network wifi" for more information on the systeminfo features, see system information guide since 1 0 summary of interfaces and methods interface method systeminfoobject systeminfo long long gettotalmemory long long getavailablememory any getcapability domstring key long getcount systeminfopropertyid property void getpropertyvalue systeminfopropertyid property, systeminfopropertysuccesscallback successcallback, optional errorcallback? errorcallback void getpropertyvaluearray systeminfopropertyid property, systeminfopropertyarraysuccesscallback successcallback, optional errorcallback? errorcallback unsigned long addpropertyvaluechangelistener systeminfopropertyid property, systeminfopropertysuccesscallback successcallback, optional systeminfooptions? options, optional errorcallback? errorcallback unsigned long addpropertyvaluearraychangelistener systeminfopropertyid property, systeminfopropertyarraysuccesscallback successcallback, optional systeminfooptions? options, optional errorcallback? errorcallback void removepropertyvaluechangelistener unsigned long listenerid systeminfooptions systeminfopropertysuccesscallback void onsuccess systeminfoproperty property systeminfopropertyarraysuccesscallback void onsuccess systeminfoproperty[] properties systeminfoproperty systeminfobattery systeminfocpu systeminfostorage systeminfostorageunit systeminfodisplay systeminfopanel systeminfodeviceorientation systeminfobuild systeminfolocale systeminfonetwork systeminfowifinetwork systeminfoethernetnetwork systeminfocellularnetwork systeminfonetproxynetwork systeminfosim systeminfoperipheral systeminfomemory systeminfovideosourceinfo systeminfovideosource systeminfocameraflash void setbrightness double brightness systeminfoads systeminfoservicecountry 1 type definitions 1 1 systeminfopropertyid the device property identifier 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" }; since 2 0 remark camera_flash is supported since tizen 2 4 remark ethernet_network is supported since tizen 2 4 remark locale and peripheral are supported since tizen 2 1 remark memory is supported since tizen 2 3 remark net_proxy_network is supported since tizen 3 0 remark videosource is supported since tizen 2 3 remark ads is supported since tizen 3 0 not supported on tv remark service_country, source_info and panel are supported since tizen 5 5 1 2 systeminfonetworktype data network type enum systeminfonetworktype { "none", "2g", "2 5g", "3g", "4g", "wifi", "ethernet", "net_proxy", "unknown" }; since 2 0 remark net_proxy is supported since tizen 3 0 1 3 systeminfowifisecuritymode wifi security mode enum systeminfowifisecuritymode { "none", "wep", "wpa_psk", "wpa2_psk", "eap" }; since 2 4 none - open security type wep - wired equivalent privacy wpa_psk - wi-fi protected access with pre-shared key psk wpa2_psk - wi-fi protected access version 2 with pre-shared key psk eap - extensible authentication protocol 1 4 systeminfowifiencryptiontype wifi encryption type enum systeminfowifiencryptiontype { "none", "wep", "tkip", "aes", "tkip_aes_mixed" }; since 2 4 none - no encryption wep - wired equivalent privacy encryption tkip - temporal key integrity protocol encryption aes - advanced encryption standard tkip_aes_mixed - tkip and aes are both supported 1 5 systeminfonetworkipmode ip configuration types enum systeminfonetworkipmode { "none", "static", "dynamic", "auto", "fixed" }; since 2 4 none - default value when network connection is not available static - manual ip configuration dynamic - configured ip using dhcp client auto - configured ip from auto ip pool 169 254/16 later with dhcp client, if available fixed - ip cannot be modified 1 6 systeminfodeviceorientationstatus device orientation status enum systeminfodeviceorientationstatus { "portrait_primary", "portrait_secondary", "landscape_primary", "landscape_secondary" }; since 2 0 systeminfo reports the orientation of the device depending on the type of the device and physical position of the device relative to vertical direction a "phone type device" is a device for which the portrait position is the natural orientation a "tab type device" is a device for which the landscape position is basic working orientation systeminfodeviceorientationstatus phone type device tablet type device portrait_primary natural position rotated 90 degrees right clockwise portrait_secondary upside down, in other words rotated 180 degrees rotated 90 degrees left anticlockwise landscape_primary rotated 90 degrees left anticlockwise natural position landscape_secondary rotated 90 degrees right clockwise upside down, in other words rotated 180 degrees 1 7 systeminfosimstate sim state enum systeminfosimstate { "absent", "initializing", "ready", "pin_required", "puk_required", "network_locked", "sim_locked", "unknown" }; since 2 1 1 8 systeminfoprofile deprecated "mobile_full" and "mobile_web" are deprecated since tizen 2 3 and will be removed in tizen 3 0 beginning with tizen 2 3, "mobile" is returned instead of "mobile_full" enum systeminfoprofile { "mobile_full", "mobile_web", "mobile", "wearable", "tv" }; since 2 2 remark "mobile" and "wearable" are supported since tizen 2 3 remark tv is supported since tizen 2 3 1 9 systeminfolowmemorystatus the low memory state of a device enum systeminfolowmemorystatus { "normal", "warning" }; since 2 3 normal - indicating the remaining memory is sufficient for an application to run warning - indicating the remaining memory is insufficient low memory warnings may happen differently according to the system 1 10 systeminfovideosourcetype an enumerator to indicate the type of video source enum systeminfovideosourcetype { "tv", "av", "svideo", "comp", "pc", "hdmi", "scart", "dvi", "media" }; since 2 3 tv - the input source from tv av - the input source from component video, three cables, each with rca plugs 3 or more channels svideo - s-video super-video and y/c 2 channels comp - the input source from composite video 1 channel pc - the input source from personal computer 15-pin vga connector hdmi - the input source from hdmi high-definition multimedia interface scart - the input source from scart 21-pin connector dvi - the input source from dvi digital visual interface media - the input source from media 2 interfaces 2 1 systeminfoobject defines what is instantiated by the tizen object from the tizen platform [nointerfaceobject] interface systeminfoobject { readonly attribute systeminfo systeminfo; }; tizen implements systeminfoobject; since 1 0 there will be a tizen systeminfo object that allows accessing the functionality of the systeminfo api attributes readonly systeminfo systeminfo object representing a system info module since 1 0 2 2 systeminfo this entry interface queries the information of a system [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 ; }; this api offers methods for retrieving system information and for subscribing notifications of system information changes methods gettotalmemory gets the total amount of system memory in bytes long long gettotalmemory ; since 2 3 return value long long total system memory exceptions webapiexception with error type unknownerror in any error case code example // to get total amount of system memory console log "the total memory size is " + tizen systeminfo gettotalmemory + " bytes " ; getavailablememory gets the amount of memory that is not in use in bytes long long getavailablememory ; since 2 3return value long long not used memory in bytes exceptions webapiexception with error type unknownerror in any error case code example // to get total amount of system memory console log "the available memory size is " + tizen systeminfo getavailablememory + " bytes " ; getcapabilities gets the capabilities of the device deprecated deprecated since 2 3 instead, use getcapability systeminfodevicecapability getcapabilities ; since 2 0 the function must synchronously acquire the capabilities of the device return value systeminfodevicecapability capabilities of the device exceptions webapiexception with error type unknownerror in any error case code example var devicecapabilities; devicecapabilities = tizen systeminfo getcapabilities ; if devicecapabilities bluetooth { console log "bluetooth is supported" ; } getcapability gets a device capability related to a given key any getcapability domstring key ; since 2 3 see the available device capability keys the additional keys for the custom device capability are specified by oem's and vendors parameters key the device capability key for the device or additional custom device capability key specifies by oem's return value any the value of the specified device capability exceptions webapiexception with error type unknownerror in any other error case code example try { /* checks if a device supports bluetooth api */ var bluetooth = tizen systeminfo getcapability "http //tizen org/feature/network bluetooth" ; console log " bluetooth = " + bluetooth ; } catch error { console log "error name " + error name + ", message " + error message ; } getcount gets the number of system property information provided for a particular system property long getcount systeminfopropertyid property ; since 2 3 that is the length of array retrieved by the getpropertyvaluearray method for the given property parameters property the name of the system property return value long the number of property values for the given property if the property is not supported, 0 is returned exceptions webapiexception with error type typemismatcherror, if the input parameter is not compatible with the expected type code example var count = tizen systeminfo getcount "sim" ; if count === 0 { console log "there is no available sim card " ; } else { console log "there is are " + count + " sim card s available " ; } getpropertyvalue gets the current value of a specified system property void getpropertyvalue systeminfopropertyid property, systeminfopropertysuccesscallback successcallback, optional errorcallback? errorcallback ; since 1 0 the function must asynchronously acquire the current value of the requested property if it is successful, the successcallback must be invoked with an object containing the information provided by the property the errorcallback function can be launched with these error types notsupportederror - if the given property is not supported since tizen 2 3 remark if the given property is not supported, notsupportederror would be passed through a errorcallback since tizen 2 3 remark if system provides more than one value for the system property, the primary first system property is returned through systeminfosuccesscallback parameters property the name of the property to retrieve **conditional privilege **for using cellular_network value, privilege http //tizen org/privilege/telephony public level is needed since tizen 2 4 successcallback callback function called when the properties are successfully retrieved errorcallback [optional] [nullable] callback function called when an error occurs while retrieving the properties exceptions webapiexception with error type securityerror, this error is only thrown for cellular_network property when an application does not declare http //tizen org/privilege/telephony privilege in config xml with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type unknownerror in any other error case code example function onsuccesscallback cpu { console log "the cpu load is " + cpu load ; } function onerrorcallback error { console log "an error occurred " + error message ; } tizen systeminfo getpropertyvalue "cpu", onsuccesscallback, onerrorcallback ; code example function onsuccesscallback cellular { console log "the status of the cellular network is " + cellular status ; } function onerrorcallback error { console log "an error occurred " + error message ; /* if telephony_capability is false but getpropertyvalue "cellular_network, is called, */ /* notsupportederror is passed */ } var telephony_capability = tizen systeminfo getcapability "http //tizen org/feature/network telephony" ; if telephony_capability === true { /* onsuccesscallback will be invoked */ tizen systeminfo getpropertyvalue "cellular_network", onsuccesscallback, onerrorcallback ; } else { console log "telephony feature is not supported cellular network related information cannot be retrieved " ; } getpropertyvaluearray gets the current values of a specified system property void getpropertyvaluearray systeminfopropertyid property, systeminfopropertyarraysuccesscallback successcallback, optional errorcallback? errorcallback ; since 2 3 it is recommended that you check if a device provides one or more than one value for a particular system property via getcount if one particular system property is provided on a device, it returns an array containing one systeminfoproperty object through systeminfopropertyarraysuccesscallback method if more than one particular system property is provided, multiple systeminfoproperty objects are returned the errorcallback function can be launched with these error types notsupportederror - if the given property is not supported remark see getcount parameters property the name of the property to retrieve **conditional privilege **for using cellular_network value, privilege http //tizen org/privilege/telephony public level is needed since tizen 2 4 successcallback callback function called when the properties are successfully retrieved errorcallback [optional] [nullable] callback function called when an error occurs while retrieving the properties exceptions webapiexception with error type securityerror, this error is only thrown for cellular_network property when an application does not declare http //tizen org/privilege/telephony privilege in config xml with error type typemismatcherror, if the input parameter is not compatible with the expected type code example function successcb property { console log "the sim's current state is " + property state ; } function successarraycb properties { console log "the number of the returned system properties is " + properties length ; for var i = 0; i < properties length; i++ { console log "[" + i + "] sim's state is " + properties[i] state ; } } var count = tizen systeminfo getcount "sim" ; if count === 0 { console log "this device does not provide sim card " ; } else if count > 1 { tizen systeminfo getpropertyvaluearray "sim", successarraycb ; } else { tizen systeminfo getpropertyvalue "sim", successcb ; } addpropertyvaluechangelistener adds a listener to allow tracking changes in one or more system properties unsigned long addpropertyvaluechangelistener systeminfopropertyid property, systeminfopropertysuccesscallback successcallback, optional systeminfooptions? options, optional errorcallback? errorcallback ; since 1 0 when called, it immediately returns and then asynchronously starts a watch process defined by the following steps register the successcallback to receive system events that the status of the requested properties may have changed when a system event is successfully received, invoke the associated successcallback with an object containing the property values repeat step 2 until removepropertyvaluechangelistener function is called there are device properties which are never changed e g "build" and properties which are not changed on some devices e g "device_orientation" in tizen tv device the addpropertyvaluechangelistener method accepts any identifier of these properties, but the listener added for them will not be invoked the errorcallback can be launched with any of these error types notsupportederror - if the given property is not supported since tizen 2 3 for example, monitoring cellular_network changes is not supported on a device which does not support the telephony feature remark the errorcallback is newly added as an optional parameter since tizen 2 3 parameters property the name of the property to retrieve **conditional privilege **for using cellular_network value, privilege http //tizen org/privilege/telephony public level is needed since tizen 2 4 successcallback callback function called when the properties are successfully retrieved options [optional] [nullable] an object containing the various options for fetching the properties requested see details errorcallback [optional] [nullable] callback function called when an error occurs return value unsigned long an identifier used to clear the watch subscription exceptions webapiexception with error type invalidvalueserror, if any of the input parameters contains an invalid value e g the invalid value for options with error type securityerror, this error is only thrown for cellular_network property when an application does not declare http //tizen org/privilege/telephony privilege in config xml with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type unknownerror in any other error case code example function onsuccesscallback cpu { console log "the cpu load " + cpu load ; } tizen systeminfo addpropertyvaluechangelistener "cpu", onsuccesscallback, {lowthreshold 0 2} ; addpropertyvaluearraychangelistener adds a listener to allow tracking of changes in one or more values of a system property unsigned long addpropertyvaluearraychangelistener systeminfopropertyid property, systeminfopropertyarraysuccesscallback successcallback, optional systeminfooptions? options, optional errorcallback? errorcallback ; since 2 3 the errorcallback function can be launched with these error types notsupportederror - if the given property is not supported since tizen 2 3 for example, monitoring cellular_network changes is not supported on a device which does not support the telephony feature there are device properties which never change for example "build" and properties which do not change on the current platform for example "device_orientation" for some platforms the addpropertyvaluechangelistener method accepts any identifier of these properties, but the listener added for them will not be invoked parameters property the name of the property to retrieve **conditional privilege **for using cellular_network value, privilege http //tizen org/privilege/telephony public level is needed since tizen 2 4 successcallback callback function called when the properties are successfully retrieved options [optional] [nullable] an object containing the various options for fetching the properties requested errorcallback [optional] [nullable] callback function called when an error occurs return value unsigned long an identifier used to clear the watch subscription exceptions webapiexception with error type invalidvalueserror, if any of the input parameters contains an invalid value e g the invalid value for options with error type securityerror, this error is only thrown for cellular_network property when an application does not declare http //tizen org/privilege/telephony privilege in config xml with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type unknownerror in any other error case removepropertyvaluechangelistener unsubscribes notifications for property changes void removepropertyvaluechangelistener unsigned long listenerid ; since 1 0 if a valid listenerid argument is passed that corresponds to an existing subscription, then the watch process must immediately terminate and no further callback is invoked parameters listenerid an identifier of the subscription returned by the addpropertyvaluechangelistener or addpropertyvaluearraychangelistener method exceptions webapiexception with error type invalidvalueserror, if any of the input parameters contains an invalid value with error type typemismatcherror, if the input parameter is not compatible with the expected type with error type unknownerror in any other error case code example var id = null; function onsuccesscallback cpu { console log "new value for cpu load is " + cpu load ; if id != null { // after receiving the first notification, clear it tizen systeminfo removepropertyvaluechangelistener id ; } } id = tizen systeminfo addpropertyvaluechangelistener "cpu", onsuccesscallback ; 2 3 systeminfodevicecapability systeminfodevicecapability object deprecated deprecated since 2 3 instead, use getcapability to query device capabilities [nointerfaceobject] interface systeminfodevicecapability { readonly attribute boolean bluetooth; readonly attribute boolean nfc; readonly attribute boolean nfcreservedpush ; readonly attribute unsigned short multitouchcount; readonly attribute boolean inputkeyboard; readonly attribute boolean inputkeyboardlayout; readonly attribute boolean wifi; readonly attribute boolean wifidirect; readonly attribute boolean opengles; readonly attribute domstring openglestextureformat; readonly attribute boolean openglesversion1_1; readonly attribute boolean openglesversion2_0; readonly attribute boolean fmradio; readonly attribute domstring platformversion raises webapiexception ; readonly attribute domstring webapiversion raises webapiexception ; readonly attribute domstring nativeapiversion raises webapiexception ; readonly attribute domstring platformname; readonly attribute boolean camera; readonly attribute boolean camerafront; readonly attribute boolean camerafrontflash; readonly attribute boolean cameraback; readonly attribute boolean camerabackflash; readonly attribute boolean location; readonly attribute boolean locationgps; readonly attribute boolean locationwps; readonly attribute boolean microphone; readonly attribute boolean usbhost; readonly attribute boolean usbaccessory; readonly attribute boolean screenoutputrca; readonly attribute boolean screenoutputhdmi; readonly attribute domstring platformcorecpuarch; readonly attribute domstring platformcorefpuarch; readonly attribute boolean sipvoip; readonly attribute domstring duid; readonly attribute boolean speechrecognition; readonly attribute boolean speechsynthesis; readonly attribute boolean accelerometer; readonly attribute boolean accelerometerwakeup; readonly attribute boolean barometer; readonly attribute boolean barometerwakeup; readonly attribute boolean gyroscope; readonly attribute boolean gyroscopewakeup; readonly attribute boolean magnetometer; readonly attribute boolean magnetometerwakeup; readonly attribute boolean photometer; readonly attribute boolean photometerwakeup; readonly attribute boolean proximity; readonly attribute boolean proximitywakeup; readonly attribute boolean tiltmeter; readonly attribute boolean tiltmeterwakeup; readonly attribute boolean dataencryption; readonly attribute boolean graphicsacceleration; readonly attribute boolean push; readonly attribute boolean telephony; readonly attribute boolean telephonymms; readonly attribute boolean telephonysms; readonly attribute boolean screensizenormal; readonly attribute boolean screensize480_800; readonly attribute boolean screensize720_1280; readonly attribute boolean autorotation; readonly attribute boolean shellappwidget; readonly attribute boolean visionimagerecognition; readonly attribute boolean visionqrcodegeneration; readonly attribute boolean visionqrcoderecognition; readonly attribute boolean visionfacerecognition; readonly attribute boolean secureelement; readonly attribute boolean nativeospcompatible; readonly attribute systeminfoprofile profile; }; since 2 0 attributes readonly boolean bluetooth indicates whether the device supports bluetooth since 2 0 readonly boolean nfc indicates whether the device supports nfc since 2 0 readonly boolean nfcreservedpush indicates whether the device supports nfc reserved push since 2 1 readonly unsigned short multitouchcount the number of point in multi-point touch since 2 0 readonly boolean inputkeyboard indicates whether the device supports the built-in keyboard since 2 0 readonly boolean inputkeyboardlayout indicates whether the device supports the built-in keyboard layout since 2 1 readonly boolean wifi indicates whether the device supports wi-fi since 2 0 readonly boolean wifidirect indicates whether the device supports wi-fi direct since 2 0 readonly boolean opengles indicates whether the device supports opengl-es since 2 1 readonly domstring openglestextureformat the device 3dc texture format for opengl-es one example of possible output is as follows "3dc/atc/etc/ptc/pvrtc/utc" since 2 1 readonly boolean openglesversion1_1 indicates whether the device supports opengl-es version 1 1 since 2 0 readonly boolean openglesversion2_0 indicates whether the device supports opengl-es version 2 0 since 2 0 readonly boolean fmradio indicates whether the device supports fm radio since 2 0 readonly domstring platformversion the version of the platform in the [major] [minor] [patch version] format for example, 1 0 0 represents a platform version where the major version is 1 and the minor and build versions are 0 [patch version] is optional the tizen platform strictly follows this versioning system and this format must be preserved manufacturers may add more parts dot followed by number or text after the preserved format if a version is not versioned as [major] [minor] [patch version], the unused digits must be taken as 0 so for example, version 2 3 is 2 3 0 and manufacturers must add parts after 2 3 0 such as 2 3 0 1 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 webapiversion the version of the web api in the [major] [minor] [patch version] format for example, 1 0 0 represents a web api version where the major version is 1 and the minor and build versions are 0 [patch version] is optional the tizen platform strictly follows this versioning system and this format must be preserved manufacturers may add more parts dot followed by number or text after the preserved format if a version is not versioned as [major] [minor] [patch version], the unused digits must be taken as 0 so for example, version 2 3 is 2 3 0 and manufacturers must add parts after 2 3 0 such as 2 3 0 1 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 nativeapiversion the version of the native api in the [major] [minor] [patch version] format for example, 1 0 0 represents a native api version where the major version is 1 and the minor and build versions are 0 [patch version] is optional the tizen platform strictly follows this versioning system and this format must be preserved manufacturers may add more parts dot followed by number or text after the preserved format if a version is not versioned as [major] [minor] [patch version], the unused digits must be taken as 0 so for example, version 2 3 is 2 3 0 and manufacturers must add parts after 2 3 0 such as 2 3 0 1 since 2 1 privilege level public exceptions webapiexception with error type securityerror, if this attribute is not allowed readonly domstring platformname the name of the platform since 2 0 readonly boolean camera indicates whether the device supports camera since 2 1 readonly boolean camerafront indicates whether the device supports front camera since 2 0 readonly boolean camerafrontflash indicates whether the device supports flash on the front camera since 2 0 readonly boolean cameraback indicates whether the device supports back-side camera since 2 0 readonly boolean camerabackflash indicates whether the device supports flash on the back-side camera since 2 0 readonly boolean location indicates whether the device supports gps or not since 2 0 readonly boolean locationgps indicates whether the device supports gps based location feature since 2 0 readonly boolean locationwps indicates whether the device supports wps based location feature since 2 0 readonly boolean microphone indicates whether the device supports microphone since 2 0 readonly boolean usbhost indicates whether the device supports usb host since 2 0 readonly boolean usbaccessory indicates whether the device supports usb accessory since 2 0 readonly boolean screenoutputrca indicates whether the device supports rca output since 2 0 readonly boolean screenoutputhdmi indicates whether the device supports hdmi output since 2 0 readonly domstring platformcorecpuarch the device cpu architecture the possible values for this attribute are armv6, armv7, x86 since 2 0 readonly domstring platformcorefpuarch the device fpu architecture the possible values for this attribute are vfpv3, sse2, sse3 and ssse3 since 2 0 readonly boolean sipvoip indicates whether the device supports voip since 2 0 readonly domstring duid indicates the tizen id, not device's unique id since tizen 2 3 since 2 0 remark tizen id is a randomly generated value based on the model name it is recommended to use tizen systeminfo getcapability "http //tizen org/system/tizenid" since tizen 2 3 instead readonly boolean speechrecognition indicates whether the device supports speech recognition since 2 0 readonly boolean speechsynthesis indicates whether the device supports speech synthesis since 2 1 readonly boolean accelerometer indicates whether the device supports accelerometer sensor since 2 0 readonly boolean accelerometerwakeup indicates whether the device supports accelerometer wake-up feature since 2 1 readonly boolean barometer indicates whether the device supports barometer since 2 0 readonly boolean barometerwakeup indicates whether the device supports barometer wake-up feature since 2 1 readonly boolean gyroscope indicates whether the device supports gyroscope since 2 0 readonly boolean gyroscopewakeup indicates whether the device supports gyroscope wake-up feature since 2 1 readonly boolean magnetometer indicates whether the device supports magnetometer since 2 0 readonly boolean magnetometerwakeup indicates whether the device supports magnetometer wake-up feature since 2 1 readonly boolean photometer indicates whether the device supports photometer since 2 1 readonly boolean photometerwakeup indicates whether the device supports photometer wake-up feature since 2 1 readonly boolean proximity indicates whether the device supports proximity since 2 0 readonly boolean proximitywakeup indicates whether the device supports proximity wake-up feature since 2 1 readonly boolean tiltmeter indicates whether the device supports tiltmeter since 2 1 readonly boolean tiltmeterwakeup indicates whether the device supports tiltmeter wake-up feature since 2 1 readonly boolean dataencryption indicates whether the device supports data encryption since 2 1 readonly boolean graphicsacceleration indicates whether the device supports hardware acceleration for 2d/3d graphics since 2 1 readonly boolean push indicates whether the device supports push service since 2 1 readonly boolean telephony indicates whether the device supports the telephony feature since 2 1 readonly boolean telephonymms indicates whether the device supports the mms feature since 2 1 readonly boolean telephonysms indicates whether the device supports the sms feature since 2 1 readonly boolean screensizenormal indicates whether the device supports the screen normal size since 2 1 readonly boolean screensize480_800 indicates whether the device supports the 480 * 800 screen size since 2 1 readonly boolean screensize720_1280 indicates whether the device supports the 720 * 1280 screen size since 2 1 readonly boolean autorotation indicates whether the device supports auto rotation since 2 1 readonly boolean shellappwidget indicates whether the device supports shell app widget dynamic box since 2 1 readonly boolean visionimagerecognition indicates whether the device supports vision image recognition since 2 1 readonly boolean visionqrcodegeneration indicates whether the device supports vision 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; };