{
int ret;
- const char *contents[] = {"content_1", "content_2", "content_3"};
+ const char *contents[] = {"What's up?", "On my way", "Nice"};
int count = 3;
ret = noti_ex_item_input_selector_set_contents(selector_item, contents, count);
noti_ex_item_h item_handle = NULL;
noti_ex_action_h action = NULL;
- ret = noti_ex_action_visibility_create(&action, NULL);
+ ret = app_control_create(&app_control);
+ ret = app_control_set_app_id(app_control, "appid");
+ ret = noti_ex_action_app_control_create(&action, app_control, NULL);
+
ret = noti_ex_item_button_create(&item_handle, "button_id", "button_title");
ret = noti_ex_item_set_action(item_handle, action);
+
+ app_control_destroy(app_control);
}
* @endcode
*/