From dda5b6246409757bcd757ea0e569e6bce67a50b0 Mon Sep 17 00:00:00 2001 From: jongmyeongko Date: Tue, 6 Oct 2015 11:34:07 +0900 Subject: [PATCH] modify wrong descriptions Change-Id: I74a665b5d69a6e32e39d4d6e266945c99ad39e20 Signed-off-by: jongmyeongko --- org.tizen.guides/html/native/app/event_n.htm | 179 ++++++++------------------- 1 file changed, 50 insertions(+), 129 deletions(-) diff --git a/org.tizen.guides/html/native/app/event_n.htm b/org.tizen.guides/html/native/app/event_n.htm index 1f217e5..e280906 100644 --- a/org.tizen.guides/html/native/app/event_n.htm +++ b/org.tizen.guides/html/native/app/event_n.htm @@ -82,12 +82,12 @@ -

Managing event handler with suspended state changes :

- The application'state can be changed to suspended state in the background. +

Managing event handler with suspended state changes :

+

The application'state can be changed to suspended state in the background. In the suspended state, the application can not receive the event anymore, and the application will be received all the events which is occurred in the suspended_state in series after exit from suspended state. If the application wants to handle the event in the background without suspended state, the application should declare background-category. (Refer to "Allowing Applications to Run on the Background" section of the application guide.) Or, If the application does not want to get the events in series after exit from suspended state, remove the event handler before the suspended state and re-add the event handler after exit from suspended state. - The application can do this with adding the callback which is called before/after suspended state. (Refer to APP_EVENT_SUSPENDED_STATE_CHANGED)

+ The application can do this with adding the callback which is called before/after suspended state. (Refer to APP_EVENT_SUSPENDED_STATE_CHANGED)

The following table lists the platform event types.

@@ -115,6 +115,7 @@ "disconnected"

"connected"

"charging"

+

"discharging"

  • Condition @@ -127,12 +128,7 @@

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

  • - If there is earlier occurrence regarding this event, - - you will receive the event as soon as you register event handler for this event. - - You can use this earlier event-data as initial value
    - + If there is earlier occurrence regarding this event, you will receive the event as soon as you register event handler for this event. You can use this earlier event-data as initial value
  • @@ -156,8 +152,6 @@

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

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

    "full" - level > 95%

    - -
  • Reference API

    device_battery_get_level_status()

    @@ -183,10 +177,8 @@

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

  • -
  • - RUNTIME_INFO_KEY_USB_CONNECTED -
    - +
  • Reference API +

    RUNTIME_INFO_KEY_USB_CONNECTED

  • @@ -205,8 +197,8 @@

    "disconnected": ear-jack is not connected

    "connected": ear-jack is connected

    -
  • RUNTIME_INFO_KEY_AUDIO_JACK_STATUS - +
  • Reference API +

    RUNTIME_INFO_KEY_AUDIO_JACK_STATUS

  • @@ -236,7 +228,7 @@ systemd system tizen.system.event.boot_completed - boot_completed + N/A N/A
  • Condition @@ -252,7 +244,7 @@ tizen.system.event.system_shutdown - system_shutdown + N/A N/A
  • Condition @@ -289,12 +281,8 @@

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

  • If there is earlier occurrence regarding this event, - you will receive the event as soon as you register event handler for this event. - - You can use this earlier event-data as initial value
    - - + You can use this earlier event-data as initial value
  • @@ -303,8 +291,8 @@ connectivity tizen.system.event.wifi_state wifi_state - "deactivated" -

    "disconnected"

    + "on" +

    "off"

    "connected"

    @@ -353,7 +341,6 @@
  • value description

    "off": LE function off

    "on": LE function on

    -
  • @@ -367,17 +354,15 @@

    when the file transfer state has been starts/ends

  • value description -

    "non_transfering" - idle state

    "transfering" - state is on file transfering

    -
  • libslp-location location - tizen.system.event.location_enable_state + tizen.system.event.location_enable_state location_enable_state "disabled"

    "enabled"

    @@ -385,14 +370,12 @@
  • Condition

    when the location-enable state has been changed

    -

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

    +

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

    ex) quick panel -> location

  • value description -

    "disabled" - location disabled

    "enabled" - location enabled

    -
  • Reference API

    location_manager_is_enabled_method()

    @@ -400,8 +383,9 @@ + tizen.system.event.gps_enable_state gps_enable_state - "disabled" + "disabled"

    "enabled"

    @@ -409,10 +393,8 @@

    when gps-enable state has been changed

  • value description -

    "disabled" - gbs disabled

    "enabled" - gbs enabled

    -
  • Reference API

    location_manager_is_enabled_method()

    @@ -420,6 +402,7 @@ + tizen.system.event.nps_enable_state nps_enable_state "disabled"

    "enabled"

    @@ -427,13 +410,11 @@
  • Condition

    when nps setting changed

    -

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

    +

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

  • value description -

    "disabled" - nps disabled

    "enabled" - nps enabled

    -
  • Reference API

    location_manager_is_enabled_method()

    @@ -454,12 +435,9 @@

    when SMS / push / CB message has been received.

  • value description -

    "sms" - sms-type message

    "push" - push-type message

    "cb" - cb-type message

    - -
  • @@ -468,11 +446,8 @@ String of the unsigned int type value. -
  • value description -

    msg_id - message id of the received message

    -
  • @@ -480,15 +455,16 @@ alarm-manager time tizen.system.event.time_changed - time_changed - "true" -

    => send "true" only

    - + N/A + N/A
  • Condition

    when the system-time setting has been changed.

  • - +
  • value description +

    There is no corresponding key/value. + You can use alarm_get_current_time() API for checking new time after receiving this event.

    +
  • @@ -502,8 +478,8 @@
  • Condition

    when the time-zone has been changed

  • -
  • SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE
    - +
  • Reference API +

    SYSTEM_SETTINGS_KEY_LOCALE_TIMEZONE

  • @@ -519,8 +495,8 @@
  • Condition

    When the hour_format has been changed, for example, by the user toggling the date and time settings. “ON” stands for 24-hour clock, and “OFF” stands for 12-hour clock.

  • -
  • SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR -
    +
  • Reference API +

    SYSTEM_SETTINGS_KEY_LOCALE_TIMEFORMAT_24HOUR

  • @@ -536,17 +512,13 @@

    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

    - -
  • -
  • SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE -
    - +
  • Reference API +

    SYSTEM_SETTINGS_KEY_LOCALE_LANGUAGE

  • @@ -560,19 +532,13 @@

    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.

    - -
  • -
  • SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY - - -
    - +
  • Reference API +

    SYSTEM_SETTINGS_KEY_LOCALE_COUNTRY

  • @@ -586,14 +552,10 @@
  • 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"

    +

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

  • -
  • SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE - - - -
    - +
  • Reference API +

    SYSTEM_SETTINGS_KEY_SOUND_SILENT_MODE

  • @@ -609,13 +571,8 @@
  • Condition

    when the vibration state has been changed

  • -
  • RUNTIME_INFO_KEY_VIBRATION_ENABLED - - - - -
    - +
  • Reference API +

    RUNTIME_INFO_KEY_VIBRATION_ENABLED

  • @@ -630,18 +587,11 @@
  • Condition

    when the screen-auto-rotate state has been changed

    -

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

    +

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

  • -
  • SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO - - - - - -
    - +
  • Reference API +

    SYSTEM_SETTINGS_KEY_DISPLAY_SCREEN_ROTATION_AUTO

  • - @@ -654,18 +604,11 @@
  • Condition

    when the mobile-data state has been changed

    -

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

    +

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

  • -
  • SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED - - - - - -
    - +
  • Reference API +

    SYSTEM_SETTINGS_KEY_3G_DATA_NETWORK_ENABLED

  • - @@ -677,19 +620,11 @@
  • Condition

    when the data-roaming state has been changed

    -

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

    +

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

  • -
  • RUNTIME_INFO_KEY_DATA_ROAMING_ENABLED - - - - - - -
    - +
  • Reference API +

    RUNTIME_INFO_KEY_DATA_ROAMING_ENABLED

  • - @@ -701,24 +636,12 @@
  • Condition

    when the font has been changed

    -
  • value description -

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

    -
  • -
  • SYSTEM_SETTINGS_KEY_FONT_TYPE - - - - - - - - -
    - +
  • Reference API +

    SYSTEM_SETTINGS_KEY_FONT_TYPE

  • @@ -726,8 +649,6 @@ - - -- 2.7.4