Add app_control operation for privacy setting and data types for it 78/180478/5
authorYunjin Lee <yunjin-.lee@samsung.com>
Tue, 29 May 2018 08:55:02 +0000 (17:55 +0900)
committerYunjin Lee <yunjin-.lee@samsung.com>
Wed, 30 May 2018 07:30:43 +0000 (07:30 +0000)
- Operation
    - APP_CONTROL_OPERATION_PRIVACY_SETTING_GUIDE
- Data type
    - APP_CONTROL_DATA_FEATURE
    - APP_CONTROL_DATA_PRIVILEGES

Change-Id: I421c7fbc4ed1a8e280ec925f3f8adad7a10e7003
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
include/app_control.h

index 0474553cc9aad7f8f2c2a23be87c51d3870afa24..7ea3f7d6b5c6054b0794c275dd4975b578102a72 100755 (executable)
@@ -364,6 +364,28 @@ typedef enum {
  */
 #define APP_CONTROL_OPERATION_MEDIA_CONTROLLER "http://tizen.org/appcontrol/operation/media_control"
 
+/**
+ * @brief Definition for the application control operation: Shows guide popup to privacy settings.
+ * @details Input: APP_CONTROL_DATA_TYPE in extra is the text of guide type("open" or "use"). This is a mandatory field.\n
+ *          Input: APP_CONTROL_DATA_NAME in extra is the text of the app name requesting privacy privileges. This is a mandatory field. \n
+ *          Input: APP_CONTROL_DATA_FEATURE in extra is the text of the feature or function name which requires privacy privileges. \n
+ *          Input: APP_CONTROL_DATA_PRIVILEGES in extra is the text array of the required privileges. This is a mandatory field. \n
+ *          Output: APP_CONTROL_DATA_SELECTED in extra. The value is "yes" or "no" according to the user response. \n
+ * @since_tizen @if WEARABLE 5.0 @endif
+ */
+#define APP_CONTROL_OPERATION_PRIVACY_SETTING_GUIDE "http://tizen.org/appcontrol/operation/guide_privacy_setting"
+
+/**
+ * @brief Definition for the app_control data: Feature of function name.
+ * @since_tizen @if WEARABLE 5.0 @endif
+ */
+#define APP_CONTROL_DATA_FEATURE "http://tizen.org/appcontrol/data/feature"
+
+/**
+ * @brief Definition for the app_control data: List of privileges.
+ * @since_tizen @if WEARABLE 5.0 @endif
+ */
+#define APP_CONTROL_DATA_PRIVILEGES "http://tizen.org/appcontrol/data/privileges"
 
 /**
  * @brief Definition for the app_control data: Subject.