From f2504719b5ba196ea98cb51aae095f19696ff9ab Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Wed, 1 Jun 2016 13:32:06 +0900 Subject: [PATCH] Add app_control operation and data definitions for the text input delegate Change-Id: Ib7b90b2e06628abba8ffbb2106147352960a82e7 Signed-off-by: Hwankyu Jhun --- include/app_control.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) 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 @@ -330,6 +330,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 @@ -469,6 +477,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. * -- 2.34.1