From 03fecd1620cf77d437f7fffbea6ae0702c4e3d5b Mon Sep 17 00:00:00 2001 From: hyunho kang Date: Fri, 4 Sep 2015 18:03:01 +0900 Subject: [PATCH] [guides][event] Update system event description. Change-Id: Ice27621b8fd2e777c91ea0812d5620f7a91c80e1 Signed-off-by: hyunho kang --- org.tizen.guides/html/native/app/event_n.htm | 310 ++++++++++++++++++++++++--- 1 file changed, 276 insertions(+), 34 deletions(-) diff --git a/org.tizen.guides/html/native/app/event_n.htm b/org.tizen.guides/html/native/app/event_n.htm index e39ddd7..87bf7bb 100644 --- a/org.tizen.guides/html/native/app/event_n.htm +++ b/org.tizen.guides/html/native/app/event_n.htm @@ -108,7 +108,17 @@

"connected"

"charging"

- + +
  • Condition +

    When the charger has been connected/disconnected, when the charging state has been changed (charging or not)

    +
  • +
  • value description +

    "disconnected" - Charger not connected

    +

    "connected" - Charger connected

    +

    "charging" - Charging is enabled

    +

    "discharging" - Charging is disabled (ex, 100% full state etc)

    +
  • + tizen.system.event.battery_level_status @@ -119,12 +129,21 @@

    "high"

    "full"

    - empty (0~1%) -

    critical (2~5%)

    -

    low (6~15%)

    -

    high (16~95%)

    -

    full (96~100%)

    - + + +
  • Condition +

    when the battery level has been changed

    +
  • +
  • value description +

    "empty" - level <= 1%

    +

    "critical" - level <= 5%

    +

    "low" - 5% < level <= 15%

    +

    "high" - 15% < level <= 95%

    +

    "full" - level > 95%

    + + +
  • + deviced @@ -135,7 +154,17 @@

    "connected"

    "available"

    - "connected" means that the cable is connected but USB communication is not available. + +
  • Condition +

    when usb cable has been connted/disconnected, when the usb service state has been changed

    +
  • +
  • value description +

    "disconnected" - usb cable is not connected

    +

    "connected" - usb cable is connected but service is not available

    +

    "available" - usb service is available (ex. mtp, sdb, ...)

    + +
  • + earjack @@ -144,7 +173,15 @@ "disconnected"

    "connected"

    - + +
  • Condition +

    when ear-jack connection state has been changed

    +
  • +
  • value description +

    "disconnected": ear-jack is not connected

    +

    "connected": ear-jack is connected

    +
  • + display @@ -154,7 +191,16 @@

    "dim"

    "off"

    - + +
  • Condition +

    when the display state has been changed

    +
  • +
  • value description +

    "normal" - display on, normal brightness

    +

    "dim" - display on, dim brightness

    +

    "off" - display off

    +
  • + systemd @@ -164,7 +210,14 @@ "true"

    => send "true" only

    - + +
  • Condition +

    when platform booting has been completed

    +
  • +
  • value description +

    "true" - boot completed

    +
  • + tizen.system.event.system_shutdown @@ -172,7 +225,14 @@ "true"

    => send "true" only

    - "true": go to shutdown + +
  • Condition +

    when the system power-off has been started

    +
  • +
  • value description +

    "true": system power-off start now or started

    +
  • + resourced @@ -183,7 +243,19 @@

    "soft_warning"

    "hard_warning"

    - + +
  • Condition +

    when the size of available memory has been changed

    +
  • +
  • value description (when total size is 1GB) +

    "normal" - available > 200MB

    +

    "soft_warning" - 100MB < available <= 200MB

    +

    "hard_warning": available <= 100MB

    +
  • +
  • Note +

    Above numbers can be different according to total ram size of target device

    +
  • + network @@ -194,7 +266,16 @@

    "disconnected"

    "connected"

    - + +
  • Condition +

    when the wi-fi state has been changed

    +
  • +
  • value description +

    "on" - wi-fi on

    +

    "off" - wi-fi off

    +

    "connected" - wi-fi connection established

    +
  • + tizen.system.event.bt_state @@ -202,21 +283,49 @@ "on"

    "off"

    - + +
  • Condition +

    when the bluetooth state has been changed

    +
  • +
  • value description +

    "off" - legacy bluetooth off

    +

    "on" - legacy bluetooth on

    + +
  • + bt_le_state "on"

    "off"

    - + +
  • Condition +

    when bluetooth le state has been changed

    +
  • +
  • value description +

    "off": LE function off

    +

    "on": LE function on

    + +
  • + bt_transfering_state "non_transfering"

    "transfering"

    - + +
  • Condition +

    when the file transfer state has been starts/ends

    +
  • +
  • value description + +

    "non_transfering" - idle state

    +

    "transfering" - state is on file transfering

    + +
  • + libslp-location @@ -226,21 +335,54 @@ "disabled"

    "enabled"

    - + +
  • Condition +

    when the location-enable state has been changed

    +

    ex) Setting > Location -> Use current location on/off toggle

    +

    ex) quick panel -> location

    +
  • +
  • value description + +

    "disabled" - location disabled

    +

    "enabled" - location enabled

    + +
  • + gps_enable_state "disabled"

    "enabled"

    - + +
  • Condition +

    when gps-enable state has been changed

    +
  • +
  • value description + +

    "disabled" - gbs disabled

    +

    "enabled" - gbs enabled

    + +
  • + nps_enable_state "disabled"

    "enabled"

    - + +
  • Condition +

    when nps setting changed

    +

    ex) Setting > Location - Wireles network on/off toggle

    +
  • +
  • value description + +

    "disabled" - nps disabled

    +

    "enabled" - nps enabled

    + +
  • + msg-service @@ -251,13 +393,32 @@

    "push"

    "cb"

    - + +
  • Condition +

    when SMS / push / CB message has been received.

    +
  • +
  • value description + +

    "sms" - sms-type message

    +

    "push" - push-type message

    +

    "cb" - cb-type message

    + + +
  • + msg_id String of the unsigned int type value. - + + +
  • value description + +

    msg_id - message id of the received message

    + +
  • + alarm-manager @@ -267,7 +428,12 @@ "true"

    => send "true" only

    - + +
  • Condition +

    when the system-time setting has been changed.

    +
  • + + setting @@ -276,7 +442,12 @@ time_zone The value of this key is the time zone value of the time zone database, for example, "Asia/Seoul", "America/New_York". For more information, see the IANA Time Zone Database. - + +
  • Condition +

    when the time-zone has been changed

    +
  • + + locale @@ -285,21 +456,53 @@ "12"

    "24"

    - + +
  • Condition +

    when hour_format has been changed

    +

    ex) Setting > Date time > 24-hour clock (if ON is 24 else OFF is 12)

    +
  • + + tizen.system.event.language_set language_set The value of this key is full name of locale, for example, ko_KR.UTF8 in case of Korean and en_US.UTF8 in case of American English. For more information, see the Linux locale information. - + +
  • Condition +

    when the language-set has been changed

    +
  • +
  • value description + +

    The value of this key is full name of locale, for example, + "ko_KR.UTF8" : in case of Korean language + "en_US.UTF8" : in case of USA language, + refer to linux locale info

    + + +
  • + tizen.system.event.region_format region_format The value of this key is the full name of the locale, for example, ko_KR.UTF8 in case of the Korean region format and en_US.UTF8 in case of the USA region format. For more information, see the Linux locale information. - + +
  • Condition +

    when the region format has been changed

    +
  • +
  • value description + +

    The value of this key is full name of locale, for example, + "ko_KR.UTF8" : in case of Korean region format + "en_US.UTF8" : in case of USA region format, + refer to linux locale info.

    + + +
  • + sound @@ -308,7 +511,13 @@ "on"

    "off"

    - + +
  • Condition +

    when the Ringtone has been changed to 0 or to others

    +

    ex) Setting > Sound > Call slider, if the call slider has been changed to 0 then silent_mode is "on", else silent_mode is "off"

    +
  • + + vibration @@ -317,7 +526,12 @@ "on"

    "off"

    - + +
  • Condition +

    when the vibration state has been changed

    +
  • + + screen @@ -326,7 +540,13 @@ "on"

    "off"

    - + +
  • Condition +

    when the screen-auto-rotate state has been changed

    +

    ex) Setting > Display > Auto rotation on/off toggle

    +
  • + + mobile @@ -335,7 +555,13 @@ "on"

    "off"

    - + +
  • Condition +

    when the mobile-data state has been changed

    +

    ex) Setting > network > mobile data on/off toggle

    +
  • + + tizen.system.event.data_roaming_state @@ -343,7 +569,13 @@ "on"

    "off"

    - + +
  • Condition +

    when the data-roaming state has been changed

    +

    ex) Setting > network > data roaming on/off toggle

    +
  • + + font @@ -351,7 +583,17 @@ font_set The value of this key is the font name of the string type by font-config. - + +
  • Condition +

    when the font has been changed

    + +
  • +
  • value description + +

    the value is font name of string type by font-config.

    + +
  • + @@ -381,4 +623,4 @@ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga - \ No newline at end of file + -- 2.7.4