Add app_control operation and data definitions for input delegator 16/145416/3
authorsungwook79.park <sungwook79.park@samsung.com>
Tue, 22 Aug 2017 08:23:21 +0000 (17:23 +0900)
committersungwook79.park <sungwook79.park@samsung.com>
Fri, 25 Aug 2017 02:02:02 +0000 (11:02 +0900)
Change-Id: I204fadb016553bb0e77a08fb10fdf7dc916b939d
Signed-off-by: sungwook79.park <sungwook79.park@samsung.com>
include/app_control.h

index 1ba1372..0de9d04 100644 (file)
@@ -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