diff options
author | Hwankyu Jhun <h.jhun@samsung.com> | 2016-06-01 13:32:06 +0900 |
---|---|---|
committer | Hwankyu Jhun <h.jhun@samsung.com> | 2016-06-14 11:17:49 +0900 |
commit | f2504719b5ba196ea98cb51aae095f19696ff9ab (patch) | |
tree | b0a7734fa9c9dacd846ab9657e234efe8b21eb29 /include | |
parent | bf6ae7c2c9b06f381ad6f65950d2b0f54598cd9e (diff) | |
download | application-f2504719b5ba196ea98cb51aae095f19696ff9ab.tar.gz application-f2504719b5ba196ea98cb51aae095f19696ff9ab.tar.bz2 application-f2504719b5ba196ea98cb51aae095f19696ff9ab.zip |
Add app_control operation and data definitions for the text input delegatesubmit/tizen/20160614.023654accepted/tizen/wearable/20160614.103431accepted/tizen/tv/20160614.103442accepted/tizen/mobile/20160614.103409accepted/tizen/ivi/20160614.103512accepted/tizen/common/20160614.143935
Change-Id: Ib7b90b2e06628abba8ffbb2106147352960a82e7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/app_control.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/include/app_control.h b/include/app_control.h index d0fc5f6..42e0d92 100644 --- a/include/app_control.h +++ b/include/app_control.h @@ -331,6 +331,14 @@ typedef enum { #define APP_CONTROL_OPERATION_SETTING_VPN "http://tizen.org/appcontrol/operation/setting/vpn" /** + * @brief Definition for the app control operation: Select the type of input method to receive input from user. + * @details Input: It depends on application scenario/configuration.\n + * Output: APP_CONTROL_DATA_TEXT in Extra.\n + * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif + */ +#define APP_CONTROL_OPERATION_GET_INPUT "http://tizen.org/appcontrol/operation/get_input" + +/** * @brief Definition for app_control data: Subject * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif */ @@ -470,6 +478,36 @@ typedef enum { #define APP_CONTROL_DATA_NAME "http://tizen.org/appcontrol/data/name" /** + * @brief Definition for app_control data: Select the type of input method + * @details Type: "input_selector" Show multiple input types to be selected from user. + * "input_voice" Launch input method with voice type. + * "input_emoticon" Launch input method with emoticon type. + * "input_reply" Launch input method with smart reply type. + * "input_handwriting" Launch input method with handwriting type. + * "input_keyboard" Launch input method with keyboard type. + * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif + */ +#define APP_CONTROL_DATA_INPUT_TYPE "http://tizen.org/appcontrol/data/input_type" + +/** + * @brief Definition for app_control data: Send the pre inputted text such as "http://" in web + * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif + */ +#define APP_CONTROL_DATA_INPUT_DEFAULT_TEXT "http://tizen.org/appcontrol/data/input_default_text" + +/** + * @brief Definition for app_control data: Send guide text to show to user such as "Input user name" + * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif + */ +#define APP_CONTROL_DATA_INPUT_GUIDE_TEXT "http://tizen.org/appcontrol/data/input_guide_text" + +/** + * @brief Definition for app_control data: Send text to receive answer result from smart reply + * @since_tizen @if WEARABLE 2.3.2 @elseif MOBILE 3.0 @endif + */ +#define APP_CONTROL_DATA_INPUT_PREDICTION_HINT "http://tizen.org/appcontrol/data/input_prediction_hint" + +/** * @brief Called when the reply of the launch request is delivered. * * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif |