From 80844e22e7b1f7428d783e32d151dc34e6a3dc7f Mon Sep 17 00:00:00 2001 From: Tomasz Marciniak Date: Fri, 4 Nov 2016 11:26:13 +0100 Subject: [PATCH] [SystemInfo] Added information about ADS. PS2: [LB] Reviewed Change-Id: I4422afb54674c240f56e337bad253facabe023bc Signed-off-by: Tomasz Marciniak --- .../html/web/device/system_information_w.htm | 7 +- .../html/device_api/mobile/tizen/systeminfo.html | 452 +++++++++++---------- .../html/device_api/tv/tizen/systeminfo.html | 121 ++++-- .../html/device_api/wearable/tizen/systeminfo.html | 337 ++++++++------- 4 files changed, 509 insertions(+), 408 deletions(-) diff --git a/org.tizen.guides/html/web/device/system_information_w.htm b/org.tizen.guides/html/web/device/system_information_w.htm index ca83e63..d40a965 100644 --- a/org.tizen.guides/html/web/device/system_information_w.htm +++ b/org.tizen.guides/html/web/device/system_information_w.htm @@ -237,6 +237,11 @@ tr.images td { MEMORY Provides information about the memory state of the device. + + SystemInfoADS (in mobile, wearable, and TV applications) + ADS + Provides information about the advertisement service. + @@ -426,4 +431,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + diff --git a/org.tizen.web.apireference/html/device_api/mobile/tizen/systeminfo.html b/org.tizen.web.apireference/html/device_api/mobile/tizen/systeminfo.html index fd2f1a4..e7b061a 100644 --- a/org.tizen.web.apireference/html/device_api/mobile/tizen/systeminfo.html +++ b/org.tizen.web.apireference/html/device_api/mobile/tizen/systeminfo.html @@ -49,9 +49,11 @@ SIM
  • STORAGE
  • -NET_PROXY_NETWORK (Since: 3.0)
  • +NET_PROXY_NETWORK (Since: 3.0)
  • WIFI_NETWORK
  • +
  • +ADS (Since: 3.0)
  • 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, tizen.systeminfo.getCapability() can be used. @@ -70,9 +72,8 @@ Not all above properties may be available on every Tizen device. For instance, a

  • SIM - tizen.systeminfo.getCapability("http://tizen.org/feature/network.telephony")
  • -NET_PROXY_NETWORK - tizen.systeminfo.getCapability("http://tizen.org/feature/network.net_proxy" -)
  • -
  • + NET_PROXY_NETWORK - tizen.systeminfo.getCapability("http://tizen.org/feature/network.net_proxy")
  • +
  • WIFI_NETWORK - tizen.systeminfo.getCapability("http://tizen.org/feature/network.wifi")
  • @@ -86,17 +87,23 @@ For more information on the SystemInfo features, see

  • 1. Type Definitions
  • @@ -105,7 +112,7 @@ For more information on the SystemInfo features, see SystemInfo -
  • 2.3. SystemInfoDeviceCapability +
  • 2.3. SystemInfoDeviceCapability
  • 2.4. SystemInfoOptions
  • @@ -149,6 +156,8 @@ For more information on the SystemInfo features, see SystemInfoCameraFlash +
  • 2.25. SystemInfoADS +
  • 3. Related Feature @@ -170,19 +179,22 @@ For more information on the SystemInfo features, see SystemInfo -long long getTotalMemory ()
    - long long getAvailableMemory ()
    - SystemInfoDeviceCapability getCapabilities ()
    - 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) + +
    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)
    + -SystemInfoDeviceCapability +SystemInfoDeviceCapability @@ -191,11 +203,11 @@ For more information on the SystemInfo features, see SystemInfoPropertySuccessCallback -void onsuccess (SystemInfoProperty property) +
    void onsuccess (SystemInfoProperty property)
    SystemInfoPropertyArraySuccessCallback -void onsuccess (SystemInfoProperty[] properties) +
    void onsuccess (SystemInfoProperty[] properties)
    SystemInfoProperty @@ -250,11 +262,11 @@ For more information on the SystemInfo features, see SystemInfoSIM +SystemInfoNetProxyNetwork -SystemInfoNetProxyNetwork +SystemInfoSIM @@ -267,7 +279,11 @@ For more information on the SystemInfo features, see SystemInfoCameraFlash -void setBrightness (double brightness) +
    void setBrightness (double brightness)
    + + +SystemInfoADS + @@ -278,7 +294,8 @@ For more information on the SystemInfo features, see 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", "CAMERA_FLASH" };
    +
      enum SystemInfoPropertyId { "BATTERY", "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "BUILD", "LOCALE", "NETWORK", "WIFI_NETWORK",
    +                              "ETHERNET_NETWORK", "CELLULAR_NETWORK", "NET_PROXY_NETWORK", "SIM", "PERIPHERAL", "MEMORY", "CAMERA_FLASH", "ADS" };

    Since: 2.0 @@ -296,8 +313,11 @@ For more information on the SystemInfo features, see Remark : - NET_PROXY_NETWORK is supported since Tizen 3.0 -

    + NET_PROXY_NETWORK is supported since Tizen 3.0 +

    +

    Remark : + ADS is supported since Tizen 3.0 +

    1.2. SystemInfoNetworkType

    @@ -308,10 +328,10 @@ For more information on the SystemInfo features, see Since: 2.0 -

    +

    Remark : -NET_PROXY is supported since Tizen 3.0 -

    + NET_PROXY is supported since Tizen 3.0 +

    1.3. SystemInfoDeviceOrientationStatus

    @@ -384,7 +404,7 @@ upside down, in other words rotated 180 degrees 2.1

    -
    +

    1.5. SystemInfoProfile

    Device Profile. @@ -459,25 +479,25 @@ functionality of the SystemInfo API. long getCount(SystemInfoPropertyId property) raises(WebAPIException); - void getPropertyValue(SystemInfoPropertyId property, - SystemInfoPropertySuccessCallback successCallback, - optional ErrorCallback? errorCallback) raises(WebAPIException); + void getPropertyValue(SystemInfoPropertyId property, + SystemInfoPropertySuccessCallback successCallback, + optional ErrorCallback? errorCallback) raises(WebAPIException); - void getPropertyValueArray(SystemInfoPropertyId property, - SystemInfoPropertyArraySuccessCallback 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 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); + unsigned long addPropertyValueArrayChangeListener(SystemInfoPropertyId property, + SystemInfoPropertyArraySuccessCallback successCallback, + optional SystemInfoOptions? options, + optional ErrorCallback? errorCallback) raises(WebAPIException); - void removePropertyValueChangeListener(unsigned long listenerId) raises(WebAPIException); + void removePropertyValueChangeListener(unsigned long listenerId) raises(WebAPIException); };

    @@ -540,10 +560,10 @@ and for subscribing notifications of system information changes.

    -
    +
    getCapabilities
    -
    +
    Gets the capabilities of the device.
    @@ -600,7 +620,7 @@ The additional keys for the custom device capability are specified by OEM's and

    Parameters:

    • -key: +key: The device capability key for the device or additional custom device capability key specifies by OEM's
    @@ -649,7 +669,7 @@ That is the length of array retrieved by the getPropertyValueArray() method for

    Parameters:

    • -property: +property: The name of the system property
    @@ -701,36 +721,31 @@ The ErrorCallback method can be launched with these error types: NotSupportedError - If the given property is not supported. (since Tizen 2.3)
  • -

    - Privilege level: - public -

    -

    - Privilege: - http://tizen.org/privilege/telephony -

    +
    +

    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.

    -

    Remark : - http://tizen.org/privilege/telephony has been required only for CELLULAR_NETWORK property since Tizen 2.4. -

    Parameters:

    • -property: +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: +successCallback: Function called when the properties have been successfully retrieved.
    • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Function called when an error occurred while retrieving the properties.
    @@ -811,33 +826,28 @@ The ErrorCallback method can be launched with these error types: NotSupportedError - If the given property is not supported.
    -

    - Privilege level: - public -

    -

    - Privilege: - http://tizen.org/privilege/telephony -

    +
    +

    Remark : see getCount().

    -

    Remark : - http://tizen.org/privilege/telephony has been required only for CELLULAR_NETWORK property since Tizen 2.4. -

    Parameters:

    • -property: +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: +successCallback: Callback method that is invoked when the properties have been successfully retrieved.
    • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Callback method that is invoked when an error occurs while retrieving the properties.
    @@ -920,37 +930,32 @@ NotSupportedError - If the given property is not supported. (since Ti
    -

    - Privilege level: - public -

    -

    - Privilege: - http://tizen.org/privilege/telephony -

    +
    +

    Remark : The errorCallback() is newly added as an optional parameter since Tizen 2.3.

    -

    Remark : - http://tizen.org/privilege/telephony has been required only for CELLULAR_NETWORK property since Tizen 2.4. -

    Parameters:

    • -property: +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: +successCallback: Function called when the properties have been successfully retrieved.
    • -options [optional] [nullable]: +options [optional] [nullable]: An object containing the various options for fetching the properties requested. See details.
    • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Function called when an error occurred.
    @@ -1014,34 +1019,29 @@ There are device properties which never change (for example "BUILD") and propert any identifier of these properties, but the listener added for them will not be invoked.

    -

    - Privilege level: - public -

    -

    - Privilege: - http://tizen.org/privilege/telephony -

    -

    Remark : - http://tizen.org/privilege/telephony has been required only for CELLULAR_NETWORK property since Tizen 2.4. -

    +
    +

    Parameters:

    • -property: +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: +successCallback: Function called when the properties have been successfully retrieved.
    • -options [optional] [nullable]: +options [optional] [nullable]: An object containing the various options for fetching the properties requested.
    • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Function called when an error occurred.
    @@ -1094,7 +1094,7 @@ the method should return without any further action.

    Parameters:

    • -listenerId: +listenerId: An identifier of the subscription returned by the addPropertyValueChangeListener()/addPropertyValueArrayChangeListener() method.
    @@ -1131,7 +1131,7 @@ parameters contain an invalid value.
    -
    +

    2.3. SystemInfoDeviceCapability

    SystemInfoDeviceCapability object. @@ -2133,7 +2133,7 @@ operations, such as getPropertyValue() or addPropertyValueChangeListener()

    Parameters:

    • -property: +property: The property returned from a successful asynchronous operation.
    @@ -2180,7 +2180,7 @@ It is used in asynchronous operations, such as getPropertyValueArray() or addPro

    Parameters:

    • -properties: +properties: The array of SystemInfoProperty objects returned from a successful asynchronous operation.
    @@ -2215,7 +2215,7 @@ It is used in asynchronous operations, such as getPropertyValueArray() or addPro Since: 1.0

    - +

    Attributes

      @@ -2265,7 +2265,7 @@ Any threshold parameter used in a watch operation to monitor this property appli Since: 1.0

      - +

      Attributes

      • @@ -2293,7 +2293,7 @@ Any threshold parameter used in a watch function to monitor this property applie Since: 1.0

        - +

        Attributes

        • @@ -2325,7 +2325,7 @@ Any threshold parameter used in a watch function to monitor this property applie readonly attribute boolean isRemoveable; }; - +

          Attributes

            @@ -2397,7 +2397,7 @@ The following values are supported: 2.1

            -
          • +
          • readonly boolean isRemoveable
            true if this unit can be removed from the system (such as an sdcard unplugged), false otherwise. @@ -2437,7 +2437,7 @@ The following values are supported: Since: 1.0

            - +

            Attributes

              @@ -2530,7 +2530,7 @@ The following values are supported: Since: 2.0

              - +

              Attributes

                @@ -2573,7 +2573,7 @@ The following values are supported: Since: 2.0

                - +

                Attributes

                  @@ -2624,7 +2624,7 @@ The following values are supported: Since: 2.1

                  - +

                  Attributes

                    @@ -2667,7 +2667,7 @@ The country setting is case-sensitive. Since: 2.0

                    - +

                    Attributes

                    • @@ -2704,7 +2704,7 @@ The country setting is case-sensitive. Since: 1.0

                      - +

                      Attributes

                        @@ -2796,7 +2796,7 @@ It is written in MM:MM:MM:SS:SS:SS format. Since: 2.4

                        - +

                        Attributes

                          @@ -2891,7 +2891,7 @@ It is written in MM:MM:MM:SS:SS:SS format. Since: 1.0

                          - +

                          Attributes

                            @@ -3030,26 +3030,27 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM

                            2.20. SystemInfoNetProxyNetwork

                            -This property reflects the information of the net_proxy network in this system. -
                            -
                             [NoInterfaceObject] interface SystemInfoNetProxyNetwork : SystemInfoProperty {
                            -readonly attribute DOMString status;
                            -};
                            + This property reflects the information of the net_proxy network in this system. +
                            +
                              [NoInterfaceObject] interface SystemInfoNetProxyNetwork : SystemInfoProperty {
                            +    readonly attribute DOMString status;
                            +  };

                            -Since: -3.0 -

                            -
                            + Since: + 3.0 +

                            + +

                            Attributes

                            • - readonly + readonly DOMString status
                              -Represents the status (ON or OFF) of the net_proxy network. -
                              + Represents the status (ON or OFF) of the net_proxy network. +

                            -Since: -3.0 -

                            + Since: + 3.0 +

                        @@ -3079,7 +3080,7 @@ Since: Since: 2.0

                        - +

                        Attributes

                          @@ -3304,7 +3305,7 @@ Since: Since: 2.1

                          - +

                          Attributes

                          • @@ -3332,7 +3333,7 @@ Since: Since: 2.3

                            - +

                            Attributes

                            • @@ -3361,7 +3362,7 @@ Since: void setBrightness(double brightness) raises(WebAPIException); }; - +

                              Attributes

                                @@ -3488,7 +3489,7 @@ If the specified brightness value is not supported by the device, the brightness

                                Parameters:

                                • -brightness: +brightness: The brightness value of LED (0~1)
                                @@ -3527,6 +3528,33 @@ If the specified brightness value is not supported by the device, the brightness
                            +
                            +

                            2.25. 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 +

                              +
                            +
                            +

                          3. Related Feature

                          @@ -3557,10 +3585,10 @@ To guarantee the running of the application on a device which supports Wi-Fi, de

                          -

                          +

                          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

                        @@ -3569,7 +3597,8 @@ To guarantee the running of the application on a device which supports network p

                        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", "CAMERA_FLASH" };
                        +  enum SystemInfoPropertyId { "BATTERY", "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "BUILD", "LOCALE", "NETWORK", "WIFI_NETWORK",
                        +                              "ETHERNET_NETWORK", "CELLULAR_NETWORK", "NET_PROXY_NETWORK", "SIM", "PERIPHERAL", "MEMORY", "CAMERA_FLASH", "ADS" };
                         
                           enum SystemInfoNetworkType { "NONE", "2G", "2.5G", "3G", "4G", "WIFI", "ETHERNET", "NET_PROXY", "UNKNOWN" };
                         
                        @@ -3597,25 +3626,25 @@ To guarantee the running of the application on a device which supports network p
                         
                             long getCount(SystemInfoPropertyId property) raises(WebAPIException);
                         
                        -    void getPropertyValue(SystemInfoPropertyId property,
                        -                          SystemInfoPropertySuccessCallback successCallback,
                        -                          optional ErrorCallback? errorCallback) raises(WebAPIException);
                        +    void getPropertyValue(SystemInfoPropertyId property,
                        +                          SystemInfoPropertySuccessCallback successCallback,
                        +                          optional ErrorCallback? errorCallback) raises(WebAPIException);
                         
                        -    void getPropertyValueArray(SystemInfoPropertyId property,
                        -                          SystemInfoPropertyArraySuccessCallback 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 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);
                        +    unsigned long addPropertyValueArrayChangeListener(SystemInfoPropertyId property,
                        +                                        SystemInfoPropertyArraySuccessCallback successCallback,
                        +                                        optional SystemInfoOptions? options,
                        +                                        optional ErrorCallback? errorCallback) raises(WebAPIException);
                         
                        -    void removePropertyValueChangeListener(unsigned long listenerId) raises(WebAPIException);
                        +    void removePropertyValueChangeListener(unsigned long listenerId) raises(WebAPIException);
                           };
                         
                           [NoInterfaceObject] interface SystemInfoDeviceCapability {
                        @@ -3645,11 +3674,11 @@ To guarantee the running of the application on a device which supports network p
                         
                             readonly attribute boolean fmRadio;
                         
                        -    readonly attribute DOMString platformVersion raises(WebAPIException);
                        +    readonly attribute DOMString platformVersion raises(WebAPIException);
                         
                        -    readonly attribute DOMString webApiVersion raises(WebAPIException);
                        +    readonly attribute DOMString webApiVersion raises(WebAPIException);
                         
                        -    readonly attribute DOMString nativeApiVersion raises(WebAPIException);
                        +    readonly attribute DOMString nativeApiVersion raises(WebAPIException);
                         
                             readonly attribute DOMString platformName;
                         
                        @@ -3753,7 +3782,7 @@ To guarantee the running of the application on a device which supports network p
                         
                             readonly attribute boolean nativeOspCompatible;
                         
                        -    readonly attribute SystemInfoProfile profile;
                        +    readonly attribute SystemInfoProfile profile;
                           };
                         
                           dictionary SystemInfoOptions {
                        @@ -3765,31 +3794,31 @@ To guarantee the running of the application on a device which supports network p
                           };
                         
                           [Callback=FunctionOnly, NoInterfaceObject] interface SystemInfoPropertySuccessCallback {
                        -    void onsuccess(SystemInfoProperty property);
                        +    void onsuccess(SystemInfoProperty property);
                           };
                         
                           [Callback=FunctionOnly, NoInterfaceObject] interface SystemInfoPropertyArraySuccessCallback {
                        -    void onsuccess(SystemInfoProperty[] properties);
                        +    void onsuccess(SystemInfoProperty[] properties);
                           };
                         
                           [NoInterfaceObject] interface SystemInfoProperty {
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoBattery : SystemInfoProperty {
                        +  [NoInterfaceObject] interface SystemInfoBattery : SystemInfoProperty {
                             readonly attribute double level;
                         
                             readonly attribute boolean isCharging;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoCpu : SystemInfoProperty {
                        +  [NoInterfaceObject] interface SystemInfoCpu : SystemInfoProperty {
                             readonly attribute double load;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoStorage : SystemInfoProperty {
                        -    readonly attribute SystemInfoStorageUnit[] units;
                        +  [NoInterfaceObject] interface SystemInfoStorage : SystemInfoProperty {
                        +    readonly attribute SystemInfoStorageUnit[] units;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoStorageUnit : SystemInfoProperty {
                        +  [NoInterfaceObject] interface SystemInfoStorageUnit : SystemInfoProperty {
                             readonly attribute DOMString type;
                         
                             readonly attribute unsigned long long capacity;
                        @@ -3801,7 +3830,7 @@ To guarantee the running of the application on a device which supports network p
                             readonly attribute boolean isRemoveable;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoDisplay : SystemInfoProperty {
                        +  [NoInterfaceObject] interface SystemInfoDisplay : SystemInfoProperty {
                             readonly attribute unsigned long resolutionWidth;
                         
                             readonly attribute unsigned long resolutionHeight;
                        @@ -3817,13 +3846,13 @@ To guarantee the running of the application on a device which supports network p
                             readonly attribute double brightness;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoDeviceOrientation : SystemInfoProperty {
                        -    readonly attribute SystemInfoDeviceOrientationStatus status;
                        +  [NoInterfaceObject] interface SystemInfoDeviceOrientation : SystemInfoProperty {
                        +    readonly attribute SystemInfoDeviceOrientationStatus status;
                         
                             readonly attribute boolean isAutoRotation;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoBuild : SystemInfoProperty {
                        +  [NoInterfaceObject] interface SystemInfoBuild : SystemInfoProperty {
                             readonly attribute DOMString model;
                         
                             readonly attribute DOMString manufacturer;
                        @@ -3831,17 +3860,17 @@ To guarantee the running of the application on a device which supports network p
                             readonly attribute DOMString buildVersion;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoLocale : SystemInfoProperty {
                        +  [NoInterfaceObject] interface SystemInfoLocale : SystemInfoProperty {
                             readonly attribute DOMString language;
                         
                             readonly attribute DOMString country;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoNetwork : SystemInfoProperty {
                        -    readonly attribute SystemInfoNetworkType networkType;
                        +  [NoInterfaceObject] interface SystemInfoNetwork : SystemInfoProperty {
                        +    readonly attribute SystemInfoNetworkType networkType;
                           };
                         
                        -   [NoInterfaceObject] interface SystemInfoWifiNetwork : SystemInfoProperty {
                        +   [NoInterfaceObject] interface SystemInfoWifiNetwork : SystemInfoProperty {
                             readonly attribute DOMString status;
                         
                             readonly attribute DOMString ssid;
                        @@ -3855,7 +3884,7 @@ To guarantee the running of the application on a device which supports network p
                             readonly attribute double signalStrength;
                           };
                         
                        -   [NoInterfaceObject] interface SystemInfoEthernetNetwork : SystemInfoProperty {
                        +   [NoInterfaceObject] interface SystemInfoEthernetNetwork : SystemInfoProperty {
                             readonly attribute DOMString cable;
                         
                             readonly attribute DOMString status;
                        @@ -3867,7 +3896,7 @@ To guarantee the running of the application on a device which supports network p
                             readonly attribute DOMString macAddress;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoCellularNetwork : SystemInfoProperty {
                        +  [NoInterfaceObject] interface SystemInfoCellularNetwork : SystemInfoProperty {
                         
                             readonly attribute DOMString status;
                         
                        @@ -3889,50 +3918,53 @@ To guarantee the running of the application on a device which supports network p
                         
                             readonly attribute boolean isFlightMode;
                         
                        -    readonly attribute DOMString imei raises(WebAPIException);
                        +    readonly attribute DOMString imei raises(WebAPIException);
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoNetProxyNetwork : SystemInfoProperty {
                        +  [NoInterfaceObject] interface SystemInfoNetProxyNetwork : SystemInfoProperty {
                             readonly attribute DOMString status;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoSIM : SystemInfoProperty {
                        -    readonly attribute SystemInfoSimState state raises(WebAPIException);
                        +  [NoInterfaceObject] interface SystemInfoSIM : SystemInfoProperty {
                        +    readonly attribute SystemInfoSimState state raises(WebAPIException);
                         
                        -    readonly attribute DOMString operatorName raises(WebAPIException);
                        +    readonly attribute DOMString operatorName raises(WebAPIException);
                         
                        -    readonly attribute DOMString msisdn raises(WebAPIException);
                        +    readonly attribute DOMString msisdn raises(WebAPIException);
                         
                        -    readonly attribute DOMString iccid raises(WebAPIException);
                        +    readonly attribute DOMString iccid raises(WebAPIException);
                         
                        -    readonly attribute unsigned short mcc raises(WebAPIException);
                        +    readonly attribute unsigned short mcc raises(WebAPIException);
                         
                        -    readonly attribute unsigned short mnc raises(WebAPIException);
                        +    readonly attribute unsigned short mnc raises(WebAPIException);
                         
                        -    readonly attribute DOMString msin raises(WebAPIException);
                        +    readonly attribute DOMString msin raises(WebAPIException);
                         
                        -    readonly attribute DOMString spn raises(WebAPIException);
                        +    readonly attribute DOMString spn raises(WebAPIException);
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoPeripheral : SystemInfoProperty {
                        +  [NoInterfaceObject] interface SystemInfoPeripheral : SystemInfoProperty {
                             readonly attribute boolean isVideoOutputOn;
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoMemory : SystemInfoProperty {
                        -    readonly attribute SystemInfoLowMemoryStatus status;
                        +  [NoInterfaceObject] interface SystemInfoMemory : SystemInfoProperty {
                        +    readonly attribute SystemInfoLowMemoryStatus status;
                         
                           };
                         
                        -  [NoInterfaceObject] interface SystemInfoCameraFlash : SystemInfoProperty {
                        -    readonly attribute double brightness raises(WebAPIException);
                        +  [NoInterfaceObject] interface SystemInfoCameraFlash : SystemInfoProperty {
                        +    readonly attribute double brightness raises(WebAPIException);
                         
                             readonly attribute DOMString camera;
                         
                        -    readonly attribute long levels raises(WebAPIException);
                        +    readonly attribute long levels raises(WebAPIException);
                         
                        -    void setBrightness(double brightness) raises(WebAPIException);
                        +    void setBrightness(double brightness) raises(WebAPIException);
                           };
                         
                        +  [NoInterfaceObject] interface SystemInfoADS : SystemInfoProperty {
                        +    readonly attribute DOMString id;
                        +  };
                         };
                    • +
                    • 2.27. SystemInfoADS +
                  • 3. Related Feature @@ -302,6 +304,10 @@ For more information on the SystemInfo features, see SystemInfoCameraFlash
                    void setBrightness (double brightness)
                    + +SystemInfoADS + +
                    @@ -311,7 +317,8 @@ For more information on the SystemInfo features, see 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" };
                    +
                      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" };

                    Since: 2.0 @@ -334,6 +341,9 @@ For more information on the SystemInfo features, see Remark : VIDEOSOURCE is supported since Tizen 2.3

                    +

                    Remark : + ADS is supported since Tizen 3.0 +

                  • 1.2. SystemInfoNetworkType

                    @@ -757,7 +767,7 @@ The additional keys for the custom device capability are specified by OEM's and

                    Parameters:

                    • -key: +key: The device capability key for the device or additional custom device capability key specifies by OEM's
                    @@ -806,7 +816,7 @@ That is the length of array retrieved by the getPropertyValueArray() method for

                    Parameters:

                    • -property: +property: The name of the system property
                    @@ -870,7 +880,7 @@ NotSupportedError - If the given property is not supported. (since Ti

                    Parameters:

                    • -property: +property: The name of the property to retrieve.
                        Conditional privilege: For using CELLULAR_NETWORK value, privilege @@ -878,11 +888,11 @@ NotSupportedError - If the given property is not supported. (since Ti (public level) is needed since Tizen 2.4.
                    • -successCallback: +successCallback: Function called when the properties have been successfully retrieved.
                    • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Function called when an error occurred while retrieving the properties.
                    @@ -972,7 +982,7 @@ NotSupportedError - If the given property is not supported.

                    Parameters:

                    • -property: +property: The name of the property to retrieve.
                        Conditional privilege: For using CELLULAR_NETWORK value, privilege @@ -980,11 +990,11 @@ NotSupportedError - If the given property is not supported. (public level) is needed since Tizen 2.4.
                    • -successCallback: +successCallback: Callback method that is invoked when the properties have been successfully retrieved.
                    • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Callback method that is invoked when an error occurs while retrieving the properties.
                    @@ -1076,7 +1086,7 @@ NotSupportedError - If the given property is not supported. (since Ti

                    Parameters:

                    • -property: +property: The name of the property to retrieve.
                        Conditional privilege: For using CELLULAR_NETWORK value, privilege @@ -1084,15 +1094,15 @@ NotSupportedError - If the given property is not supported. (since Ti (public level) is needed since Tizen 2.4.
                    • -successCallback: +successCallback: Function called when the properties have been successfully retrieved.
                    • -options [optional] [nullable]: +options [optional] [nullable]: An object containing the various options for fetching the properties requested. See details.
                    • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Function called when an error occurred.
                    @@ -1162,7 +1172,7 @@ any identifier of these properties, but the listener added for them will not be

                    Parameters:

                    • -property: +property: The name of the property to retrieve.
                        Conditional privilege: For using CELLULAR_NETWORK value, privilege @@ -1170,15 +1180,15 @@ any identifier of these properties, but the listener added for them will not be (public level) is needed since Tizen 2.4.
                    • -successCallback: +successCallback: Function called when the properties have been successfully retrieved.
                    • -options [optional] [nullable]: +options [optional] [nullable]: An object containing the various options for fetching the properties requested.
                    • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Function called when an error occurred.
                    @@ -1231,7 +1241,7 @@ the method should return without any further action.

                    Parameters:

                    • -listenerId: +listenerId: An identifier of the subscription returned by the addPropertyValueChangeListener()/addPropertyValueArrayChangeListener() method.
                    @@ -2271,7 +2281,7 @@ operations, such as getPropertyValue() or addPropertyValueChangeListener()

                    Parameters:

                    • -property: +property: The property returned from a successful asynchronous operation.
                    @@ -2318,7 +2328,7 @@ It is used in asynchronous operations, such as getPropertyValueArray() or addPro

                    Parameters:

                    • -properties: +properties: The array of SystemInfoProperty objects returned from a successful asynchronous operation.
                    @@ -2353,7 +2363,7 @@ It is used in asynchronous operations, such as getPropertyValueArray() or addPro Since: 1.0

                    - +

                    Attributes

                      @@ -2403,7 +2413,7 @@ Any threshold parameter used in a watch operation to monitor this property appli Since: 1.0

                      - +

                      Attributes

                      • @@ -2431,7 +2441,7 @@ Any threshold parameter used in a watch function to monitor this property applie Since: 1.0

                        - +

                        Attributes

                        • @@ -2463,7 +2473,7 @@ Any threshold parameter used in a watch function to monitor this property applie readonly attribute boolean isRemoveable; }; - +

                          Attributes

                            @@ -2575,7 +2585,7 @@ The following values are supported: Since: 1.0

                            - +

                            Attributes

                              @@ -2668,7 +2678,7 @@ The following values are supported: Since: 2.0

                              - +

                              Attributes

                                @@ -2711,7 +2721,7 @@ The following values are supported: Since: 2.0

                                - +

                                Attributes

                                  @@ -2762,7 +2772,7 @@ The following values are supported: Since: 2.1

                                  - +

                                  Attributes

                                    @@ -2805,7 +2815,7 @@ The country setting is case-sensitive. Since: 2.0

                                    - +

                                    Attributes

                                    • @@ -2854,7 +2864,7 @@ The country setting is case-sensitive. Since: 1.0

                                      - +

                                      Attributes

                                        @@ -3029,7 +3039,7 @@ It is written in 255.255.255.255 format. Since: 2.4

                                        - +

                                        Attributes

                                          @@ -3187,7 +3197,7 @@ It is written in 255.255.255.255 format. Since: 1.0

                                          - +

                                          Attributes

                                            @@ -3390,7 +3400,7 @@ It is written in 255.255.255.255 format. Since: 3.0

                                            - +

                                            Attributes

                                            1.2. SystemInfoNetworkType

                                            @@ -467,25 +479,25 @@ functionality of the SystemInfo API. long getCount(SystemInfoPropertyId property) raises(WebAPIException); - void getPropertyValue(SystemInfoPropertyId property, - SystemInfoPropertySuccessCallback successCallback, - optional ErrorCallback? errorCallback) raises(WebAPIException); + void getPropertyValue(SystemInfoPropertyId property, + SystemInfoPropertySuccessCallback successCallback, + optional ErrorCallback? errorCallback) raises(WebAPIException); - void getPropertyValueArray(SystemInfoPropertyId property, - SystemInfoPropertyArraySuccessCallback 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 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); + unsigned long addPropertyValueArrayChangeListener(SystemInfoPropertyId property, + SystemInfoPropertyArraySuccessCallback successCallback, + optional SystemInfoOptions? options, + optional ErrorCallback? errorCallback) raises(WebAPIException); - void removePropertyValueChangeListener(unsigned long listenerId) raises(WebAPIException); + void removePropertyValueChangeListener(unsigned long listenerId) raises(WebAPIException); };

                                            @@ -556,7 +568,7 @@ and for subscribing notifications of system information changes. Gets the capabilities of the device.

                                            Deprecated. - Deprecated since 2.3. Instead, use getCapability(). + Deprecated since 2.3. Instead, use getCapability().

                                            SystemInfoDeviceCapability getCapabilities();
                                                          
                                            @@ -608,7 +620,7 @@ The additional keys for the custom device capability are specified by OEM's and

                                            Parameters:

                                            • -key: +key: The device capability key for the device or additional custom device capability key specifies by OEM's
                                            @@ -657,7 +669,7 @@ That is the length of array retrieved by the getPropertyValueArray() method for

                                            Parameters:

                                            • -property: +property: The name of the system property
                                            @@ -709,36 +721,31 @@ The ErrorCallback method can be launched with these error types: NotSupportedError - If the given property is not supported. (since Tizen 2.3)
                                          -

                                          - Privilege level: - public -

                                          -

                                          - Privilege: - http://tizen.org/privilege/telephony -

                                          +
                                          +

                                          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.

                                          -

                                          Remark : - http://tizen.org/privilege/telephony has been required only for CELLULAR_NETWORK property since Tizen 3.0. -

                                          Parameters:

                                          • -property: +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 3.0.
                                            +
                                          • -successCallback: +successCallback: Function called when the properties have been successfully retrieved.
                                          • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Function called when an error occurred while retrieving the properties.
                                          @@ -819,33 +826,28 @@ The ErrorCallback method can be launched with these error types: NotSupportedError - If the given property is not supported.
                                        -

                                        - Privilege level: - public -

                                        -

                                        - Privilege: - http://tizen.org/privilege/telephony -

                                        +
                                        +

                                        Remark : see getCount().

                                        -

                                        Remark : - http://tizen.org/privilege/telephony has been required only for CELLULAR_NETWORK property since Tizen 3.0. -

                                        Parameters:

                                        • -property: +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 3.0.
                                          +
                                        • -successCallback: +successCallback: Callback method that is invoked when the properties have been successfully retrieved.
                                        • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Callback method that is invoked when an error occurs while retrieving the properties.
                                        @@ -928,37 +930,32 @@ NotSupportedError - If the given property is not supported. (since Ti
                                      -

                                      - Privilege level: - public -

                                      -

                                      - Privilege: - http://tizen.org/privilege/telephony -

                                      +
                                      +

                                      Remark : The errorCallback() is newly added as an optional parameter since Tizen 2.3.

                                      -

                                      Remark : - http://tizen.org/privilege/telephony has been required only for CELLULAR_NETWORK property since Tizen 3.0. -

                                      Parameters:

                                      • -property: +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 3.0.
                                        +
                                      • -successCallback: +successCallback: Function called when the properties have been successfully retrieved.
                                      • -options [optional] [nullable]: +options [optional] [nullable]: An object containing the various options for fetching the properties requested. See details.
                                      • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Function called when an error occurred.
                                      @@ -1022,34 +1019,29 @@ There are device properties which never change (for example "BUILD") and propert any identifier of these properties, but the listener added for them will not be invoked.

                                      -

                                      - Privilege level: - public -

                                      -

                                      - Privilege: - http://tizen.org/privilege/telephony -

                                      -

                                      Remark : - http://tizen.org/privilege/telephony has been required only for CELLULAR_NETWORK property since Tizen 3.0. -

                                      +
                                      +

                                      Parameters:

                                      • -property: +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 3.0.
                                        +
                                      • -successCallback: +successCallback: Function called when the properties have been successfully retrieved.
                                      • -options [optional] [nullable]: +options [optional] [nullable]: An object containing the various options for fetching the properties requested.
                                      • -errorCallback [optional] [nullable]: +errorCallback [optional] [nullable]: Function called when an error occurred.
                                      @@ -1102,7 +1094,7 @@ the method should return without any further action.

                                      Parameters:

                                      • -listenerId: +listenerId: An identifier of the subscription returned by the addPropertyValueChangeListener()/addPropertyValueArrayChangeListener() method.
                                      @@ -2141,7 +2133,7 @@ operations, such as getPropertyValue() or addPropertyValueChangeListener()

                                      Parameters:

                                      • -property: +property: The property returned from a successful asynchronous operation.
                                      @@ -2188,7 +2180,7 @@ It is used in asynchronous operations, such as getPropertyValueArray() or addPro

                                      Parameters:

                                      • -properties: +properties: The array of SystemInfoProperty objects returned from a successful asynchronous operation.
                                      @@ -2223,7 +2215,7 @@ It is used in asynchronous operations, such as getPropertyValueArray() or addPro Since: 1.0

                                      - +

                                      Attributes

                                        @@ -2273,7 +2265,7 @@ Any threshold parameter used in a watch operation to monitor this property appli Since: 1.0

                                        - +

                                        Attributes

                                        • @@ -2301,7 +2293,7 @@ Any threshold parameter used in a watch function to monitor this property applie Since: 1.0

                                          - +

                                          Attributes

                                          • @@ -2333,7 +2325,7 @@ Any threshold parameter used in a watch function to monitor this property applie readonly attribute boolean isRemoveable; }; - +

                                            Attributes

                                              @@ -2445,7 +2437,7 @@ The following values are supported: Since: 1.0

                                              - +

                                              Attributes

                                                @@ -2538,7 +2530,7 @@ The following values are supported: Since: 2.0

                                                - +

                                                Attributes

                                                  @@ -2581,7 +2573,7 @@ The following values are supported: Since: 2.0

                                                  - +

                                                  Attributes

                                                    @@ -2632,7 +2624,7 @@ The following values are supported: Since: 2.1

                                                    - +

                                                    Attributes

                                                      @@ -2675,7 +2667,7 @@ The country setting is case-sensitive. Since: 2.0

                                                      - +

                                                      Attributes

                                                      • @@ -2712,7 +2704,7 @@ The country setting is case-sensitive. Since: 1.0

                                                        - +

                                                        Attributes

                                                          @@ -2804,7 +2796,7 @@ It is written in MM:MM:MM:SS:SS:SS format. Since: 3.0

                                                          - +

                                                          Attributes

                                                            @@ -2899,7 +2891,7 @@ It is written in MM:MM:MM:SS:SS:SS format. Since: 1.0

                                                            - +

                                                            Attributes

                                                              @@ -3047,7 +3039,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM Since: 3.0

                                                              - +

                                                              Attributes

                                                              • @@ -3088,7 +3080,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM Since: 2.0

                                                                - +

                                                                Attributes

                                                                  @@ -3313,7 +3305,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM Since: 2.1

                                                                  - +

                                                                  Attributes

                                                                  • @@ -3341,7 +3333,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM Since: 2.3

                                                                    - +

                                                                    Attributes

                                                                    • @@ -3370,7 +3362,7 @@ identify a mobile phone operator/carrier using the GSM, CDMA, iDEN, TETRA and UM void setBrightness(double brightness) raises(WebAPIException); }; - +

                                                                      Attributes

                                                                        @@ -3497,7 +3489,7 @@ If the specified brightness value is not supported by the device, the brightness

                                                                        Parameters:

                                                                        • -brightness: +brightness: The brightness value of LED (0~1)
                                                                        @@ -3536,6 +3528,33 @@ If the specified brightness value is not supported by the device, the brightness
                                                                    +
                                                                    +

                                                                    2.25. 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 +

                                                                      +
                                                                    +
                                                                    +

                                                                  3. Related Feature

                                                                  @@ -3578,7 +3597,8 @@ To guarantee the running of the application on a device which supports network p

                                                                  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", "CAMERA_FLASH" };
                                                                  +  enum SystemInfoPropertyId { "BATTERY", "CPU", "STORAGE", "DISPLAY", "DEVICE_ORIENTATION", "BUILD", "LOCALE", "NETWORK", "WIFI_NETWORK",
                                                                  +                              "ETHERNET_NETWORK", "CELLULAR_NETWORK", "NET_PROXY_NETWORK", "SIM", "PERIPHERAL", "MEMORY", "CAMERA_FLASH", "ADS" };
                                                                   
                                                                     enum SystemInfoNetworkType { "NONE", "2G", "2.5G", "3G", "4G", "WIFI", "ETHERNET", "NET_PROXY", "UNKNOWN" };
                                                                   
                                                                  @@ -3606,25 +3626,25 @@ To guarantee the running of the application on a device which supports network p
                                                                   
                                                                       long getCount(SystemInfoPropertyId property) raises(WebAPIException);
                                                                   
                                                                  -    void getPropertyValue(SystemInfoPropertyId property,
                                                                  -                          SystemInfoPropertySuccessCallback successCallback,
                                                                  -                          optional ErrorCallback? errorCallback) raises(WebAPIException);
                                                                  +    void getPropertyValue(SystemInfoPropertyId property,
                                                                  +                          SystemInfoPropertySuccessCallback successCallback,
                                                                  +                          optional ErrorCallback? errorCallback) raises(WebAPIException);
                                                                   
                                                                  -    void getPropertyValueArray(SystemInfoPropertyId property,
                                                                  -                          SystemInfoPropertyArraySuccessCallback 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 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);
                                                                  +    unsigned long addPropertyValueArrayChangeListener(SystemInfoPropertyId property,
                                                                  +                                        SystemInfoPropertyArraySuccessCallback successCallback,
                                                                  +                                        optional SystemInfoOptions? options,
                                                                  +                                        optional ErrorCallback? errorCallback) raises(WebAPIException);
                                                                   
                                                                  -    void removePropertyValueChangeListener(unsigned long listenerId) raises(WebAPIException);
                                                                  +    void removePropertyValueChangeListener(unsigned long listenerId) raises(WebAPIException);
                                                                     };
                                                                   
                                                                     [NoInterfaceObject] interface SystemInfoDeviceCapability {
                                                                  @@ -3654,11 +3674,11 @@ To guarantee the running of the application on a device which supports network p
                                                                   
                                                                       readonly attribute boolean fmRadio;
                                                                   
                                                                  -    readonly attribute DOMString platformVersion raises(WebAPIException);
                                                                  +    readonly attribute DOMString platformVersion raises(WebAPIException);
                                                                   
                                                                  -    readonly attribute DOMString webApiVersion raises(WebAPIException);
                                                                  +    readonly attribute DOMString webApiVersion raises(WebAPIException);
                                                                   
                                                                  -    readonly attribute DOMString nativeApiVersion raises(WebAPIException);
                                                                  +    readonly attribute DOMString nativeApiVersion raises(WebAPIException);
                                                                   
                                                                       readonly attribute DOMString platformName;
                                                                   
                                                                  @@ -3762,7 +3782,7 @@ To guarantee the running of the application on a device which supports network p
                                                                   
                                                                       readonly attribute boolean nativeOspCompatible;
                                                                   
                                                                  -    readonly attribute SystemInfoProfile profile;
                                                                  +    readonly attribute SystemInfoProfile profile;
                                                                     };
                                                                   
                                                                     dictionary SystemInfoOptions {
                                                                  @@ -3774,31 +3794,31 @@ To guarantee the running of the application on a device which supports network p
                                                                     };
                                                                   
                                                                     [Callback=FunctionOnly, NoInterfaceObject] interface SystemInfoPropertySuccessCallback {
                                                                  -    void onsuccess(SystemInfoProperty property);
                                                                  +    void onsuccess(SystemInfoProperty property);
                                                                     };
                                                                   
                                                                     [Callback=FunctionOnly, NoInterfaceObject] interface SystemInfoPropertyArraySuccessCallback {
                                                                  -    void onsuccess(SystemInfoProperty[] properties);
                                                                  +    void onsuccess(SystemInfoProperty[] properties);
                                                                     };
                                                                   
                                                                     [NoInterfaceObject] interface SystemInfoProperty {
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoBattery : SystemInfoProperty {
                                                                  +  [NoInterfaceObject] interface SystemInfoBattery : SystemInfoProperty {
                                                                       readonly attribute double level;
                                                                   
                                                                       readonly attribute boolean isCharging;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoCpu : SystemInfoProperty {
                                                                  +  [NoInterfaceObject] interface SystemInfoCpu : SystemInfoProperty {
                                                                       readonly attribute double load;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoStorage : SystemInfoProperty {
                                                                  -    readonly attribute SystemInfoStorageUnit[] units;
                                                                  +  [NoInterfaceObject] interface SystemInfoStorage : SystemInfoProperty {
                                                                  +    readonly attribute SystemInfoStorageUnit[] units;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoStorageUnit : SystemInfoProperty {
                                                                  +  [NoInterfaceObject] interface SystemInfoStorageUnit : SystemInfoProperty {
                                                                       readonly attribute DOMString type;
                                                                   
                                                                       readonly attribute unsigned long long capacity;
                                                                  @@ -3810,7 +3830,7 @@ To guarantee the running of the application on a device which supports network p
                                                                       readonly attribute boolean isRemoveable;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoDisplay : SystemInfoProperty {
                                                                  +  [NoInterfaceObject] interface SystemInfoDisplay : SystemInfoProperty {
                                                                       readonly attribute unsigned long resolutionWidth;
                                                                   
                                                                       readonly attribute unsigned long resolutionHeight;
                                                                  @@ -3826,13 +3846,13 @@ To guarantee the running of the application on a device which supports network p
                                                                       readonly attribute double brightness;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoDeviceOrientation : SystemInfoProperty {
                                                                  -    readonly attribute SystemInfoDeviceOrientationStatus status;
                                                                  +  [NoInterfaceObject] interface SystemInfoDeviceOrientation : SystemInfoProperty {
                                                                  +    readonly attribute SystemInfoDeviceOrientationStatus status;
                                                                   
                                                                       readonly attribute boolean isAutoRotation;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoBuild : SystemInfoProperty {
                                                                  +  [NoInterfaceObject] interface SystemInfoBuild : SystemInfoProperty {
                                                                       readonly attribute DOMString model;
                                                                   
                                                                       readonly attribute DOMString manufacturer;
                                                                  @@ -3840,17 +3860,17 @@ To guarantee the running of the application on a device which supports network p
                                                                       readonly attribute DOMString buildVersion;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoLocale : SystemInfoProperty {
                                                                  +  [NoInterfaceObject] interface SystemInfoLocale : SystemInfoProperty {
                                                                       readonly attribute DOMString language;
                                                                   
                                                                       readonly attribute DOMString country;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoNetwork : SystemInfoProperty {
                                                                  -    readonly attribute SystemInfoNetworkType networkType;
                                                                  +  [NoInterfaceObject] interface SystemInfoNetwork : SystemInfoProperty {
                                                                  +    readonly attribute SystemInfoNetworkType networkType;
                                                                     };
                                                                   
                                                                  -   [NoInterfaceObject] interface SystemInfoWifiNetwork : SystemInfoProperty {
                                                                  +   [NoInterfaceObject] interface SystemInfoWifiNetwork : SystemInfoProperty {
                                                                       readonly attribute DOMString status;
                                                                   
                                                                       readonly attribute DOMString ssid;
                                                                  @@ -3864,7 +3884,7 @@ To guarantee the running of the application on a device which supports network p
                                                                       readonly attribute double signalStrength;
                                                                     };
                                                                   
                                                                  -   [NoInterfaceObject] interface SystemInfoEthernetNetwork : SystemInfoProperty {
                                                                  +   [NoInterfaceObject] interface SystemInfoEthernetNetwork : SystemInfoProperty {
                                                                       readonly attribute DOMString cable;
                                                                   
                                                                       readonly attribute DOMString status;
                                                                  @@ -3876,7 +3896,7 @@ To guarantee the running of the application on a device which supports network p
                                                                       readonly attribute DOMString macAddress;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoCellularNetwork : SystemInfoProperty {
                                                                  +  [NoInterfaceObject] interface SystemInfoCellularNetwork : SystemInfoProperty {
                                                                   
                                                                       readonly attribute DOMString status;
                                                                   
                                                                  @@ -3898,50 +3918,53 @@ To guarantee the running of the application on a device which supports network p
                                                                   
                                                                       readonly attribute boolean isFlightMode;
                                                                   
                                                                  -    readonly attribute DOMString imei raises(WebAPIException);
                                                                  +    readonly attribute DOMString imei raises(WebAPIException);
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoNetProxyNetwork : SystemInfoProperty {
                                                                  +  [NoInterfaceObject] interface SystemInfoNetProxyNetwork : SystemInfoProperty {
                                                                       readonly attribute DOMString status;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoSIM : SystemInfoProperty {
                                                                  -    readonly attribute SystemInfoSimState state raises(WebAPIException);
                                                                  +  [NoInterfaceObject] interface SystemInfoSIM : SystemInfoProperty {
                                                                  +    readonly attribute SystemInfoSimState state raises(WebAPIException);
                                                                   
                                                                  -    readonly attribute DOMString operatorName raises(WebAPIException);
                                                                  +    readonly attribute DOMString operatorName raises(WebAPIException);
                                                                   
                                                                  -    readonly attribute DOMString msisdn raises(WebAPIException);
                                                                  +    readonly attribute DOMString msisdn raises(WebAPIException);
                                                                   
                                                                  -    readonly attribute DOMString iccid raises(WebAPIException);
                                                                  +    readonly attribute DOMString iccid raises(WebAPIException);
                                                                   
                                                                  -    readonly attribute unsigned short mcc raises(WebAPIException);
                                                                  +    readonly attribute unsigned short mcc raises(WebAPIException);
                                                                   
                                                                  -    readonly attribute unsigned short mnc raises(WebAPIException);
                                                                  +    readonly attribute unsigned short mnc raises(WebAPIException);
                                                                   
                                                                  -    readonly attribute DOMString msin raises(WebAPIException);
                                                                  +    readonly attribute DOMString msin raises(WebAPIException);
                                                                   
                                                                  -    readonly attribute DOMString spn raises(WebAPIException);
                                                                  +    readonly attribute DOMString spn raises(WebAPIException);
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoPeripheral : SystemInfoProperty {
                                                                  +  [NoInterfaceObject] interface SystemInfoPeripheral : SystemInfoProperty {
                                                                       readonly attribute boolean isVideoOutputOn;
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoMemory : SystemInfoProperty {
                                                                  -    readonly attribute SystemInfoLowMemoryStatus status;
                                                                  +  [NoInterfaceObject] interface SystemInfoMemory : SystemInfoProperty {
                                                                  +    readonly attribute SystemInfoLowMemoryStatus status;
                                                                   
                                                                     };
                                                                   
                                                                  -  [NoInterfaceObject] interface SystemInfoCameraFlash : SystemInfoProperty {
                                                                  -    readonly attribute double brightness raises(WebAPIException);
                                                                  +  [NoInterfaceObject] interface SystemInfoCameraFlash : SystemInfoProperty {
                                                                  +    readonly attribute double brightness raises(WebAPIException);
                                                                   
                                                                       readonly attribute DOMString camera;
                                                                   
                                                                  -    readonly attribute long levels raises(WebAPIException);
                                                                  +    readonly attribute long levels raises(WebAPIException);
                                                                   
                                                                  -    void setBrightness(double brightness) raises(WebAPIException);
                                                                  +    void setBrightness(double brightness) raises(WebAPIException);
                                                                     };
                                                                   
                                                                  +  [NoInterfaceObject] interface SystemInfoADS : SystemInfoProperty {
                                                                  +    readonly attribute DOMString id;
                                                                  +  };
                                                                   };