From: sungwook79.park Date: Tue, 22 Aug 2017 08:23:21 +0000 (+0900) Subject: Add app_control operation and data definitions for input delegator X-Git-Tag: accepted/tizen/4.0/unified/20170904.234808~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd34c335a41a7a8a64e6c8768de3a250992ef011;p=platform%2Fcore%2Fapi%2Fapp-control.git Add app_control operation and data definitions for input delegator Change-Id: I204fadb016553bb0e77a08fb10fdf7dc916b939d Signed-off-by: sungwook79.park --- diff --git a/include/app_control.h b/include/app_control.h index 1ba1372..0de9d04 100644 --- a/include/app_control.h +++ b/include/app_control.h @@ -509,6 +509,10 @@ typedef enum { * @details Type: "input_voice" Launch input method with voice type. * "input_emoticon" Launch input method with emoticon type. * "input_keyboard" Launch input method with keyboard type. + * "input_reply" Launch input method with context based reply type. + * "input_drawing" Launch input method with drawing type. + * "input_recording" Launch input method with voice recording type. + * input_reply, input_drawing and input_recording types are valid since tizen 4.0. * @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" @@ -536,6 +540,41 @@ typedef enum { /** + * @brief Definition for app_control data: Send type to set return key type in keyboard input type. + * @details Type: "Done" Set type with Done label. + * "Send" Set type with Send label. + * "Join" Set type with Join label. + * "Login" Set type with Login label. + * "Next" Set type with Next label. + * "Sign-in" Set type with Sign-in label. + * "Search" Set type with Search label. + * "Go" Set type with Go label. + * @since_tizen 4.0 + */ +#define APP_CONTROL_DATA_INPUT_RETURNKEY_TYPE "http://tizen.org/appcontrol/data/input_returnkey_type" + + +/** + * @brief Definition for app_control data: Send length value to set max text length in keyboard input type. + * @since_tizen 4.0 + */ +#define APP_CONTROL_DATA_INPUT_MAX_TEXT_LENGTH "http://tizen.org/appcontrol/data/input_max_text_length" + + +/** + * @brief Definition for app_control data: Receive the reply type from input method. + * @details Type: "input_voice" Receive the result from voice input type. + * "input_emoticon" Receive the result from emoticon input type. + * "input_keyboard" Receive the result from keyboard input type. + * "input_reply" Receive the result from reply input type. + * "input_image" Receive the result from image input type. + * "input_audio" Receive the result from audio input type. + * @since_tizen 4.0 + */ +#define APP_CONTROL_DATA_INPUT_REPLY_TYPE "http://tizen.org/appcontrol/data/input_reply_type" + + +/** * @brief Definition for app_control data: Send widget instance id to widget setup app. * @details The value is the id of the widget instance. * @since_tizen 4.0