Knox Tizen Wearable SDK
knox_custom_settings_manager.h
1 /*
2  * libknoxcustom
3  * Copyright ⓒ Samsung Electronics, Co., Ltd. All rights reserved.
4  *
5  * This software contains confidential and proprietary information
6  * of Samsung Electronics Co., Ltd.
7  * The user of this software agrees not to disclose, disseminate or copy such
8  * Confidential Information and shall use the software only in accordance with
9  * the terms of the license agreement the user entered into with Samsung.
10  */
11 
12 #ifndef __KNOX_CUSTOM_SETTINGS_MANAGER_H__
13 #define __KNOX_CUSTOM_SETTINGS_MANAGER_H__
14 
15 #include "knox_custom_client_type.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
32 typedef enum {
36 
43 typedef enum {
47 
54 typedef enum {
58 
65 typedef enum {
69 
70 
77 typedef enum {
81 
88 typedef enum {
95 
102 typedef enum {
106 
113 typedef enum {
117 
124 typedef enum {
128 
135 typedef enum {
139 
182 knox_result_t knox_custom_set_bluetooth_state(knox_custom_bt_state_t value);
183 
226 knox_result_t knox_custom_set_mobile_data_state(knox_custom_mobile_data_state_t value);
227 
269 knox_result_t knox_custom_set_wifi_state(knox_custom_wifi_state_t value);
270 
312 knox_result_t knox_custom_set_data_roaming_state(knox_custom_data_roaming_state_t value);
313 
362 knox_result_t knox_custom_set_settings_hidden_items(knox_custom_settings_hide_state_t state,
364 
405 
448 knox_result_t knox_custom_set_airplane_mode_state(knox_custom_data_airplane_mode_state_t value);
449 
492 knox_result_t knox_custom_set_watch_face(const char *clockpackagename_main, const char *clockpackagename_sub);
493 
525 
569 knox_result_t knox_custom_set_powersaving_mode_state(knox_custom_powersaving_mode_state_t value);
570 
609 knox_result_t knox_custom_get_powersaving_mode_state(int *powersaving_mode_state);
610 
654 knox_result_t knox_custom_set_debuginfo_state(knox_custom_data_debuginfo_state_t value);
655 
694 knox_result_t knox_custom_get_debuginfo_state(int *debuginfo_state);
695 
740 knox_result_t knox_custom_set_always_on_display_state(knox_custom_always_on_display_state_t value);
741 
780 knox_result_t knox_custom_get_always_on_display_state(int *always_on_display_state);
781 
827 
865 
908 
913 #ifdef __cplusplus
914 }
915 #endif
916 #endif
knox_result_t knox_custom_set_airplane_mode_state(knox_custom_data_airplane_mode_state_t value)
API to turn airplane on/off.
knox_custom_mobile_data_state_t
Mobile data state type.
knox_custom_data_roaming_state_t
Mobile data roaming state type.
knox_custom_bt_state_t
Bluetooth state type.
knox_result_t knox_custom_set_wifi_state(knox_custom_wifi_state_t value)
API to turn Wi-Fi on/off.
knox_result_t knox_custom_get_settings_hidden_items(int *hidden_items)
API to retrieve a list specifying which settings items are hidden on a wearable device.
knox_result_t knox_custom_set_debuginfo_state(knox_custom_data_debuginfo_state_t value)
API to turn ON or OFF the DebugInfo setting on the device.
knox_result_t knox_custom_get_always_on_display_state(int *always_on_display_state)
API to retrieve the state of Always On Display.
This structure is used to store GList.
knox_custom_powersaving_mode_state_t
PowerSaving mode state type.
knox_result_t knox_custom_widget_board_remove_widgets(void)
API to clear the favorites list of Home application widget board.
knox_result_t knox_custom_get_powersaving_mode_state(int *powersaving_mode_state)
API to retrieve the state of Power saving mode.
knox_custom_data_t * knox_custom_widget_board_get_widgets(void)
API to get current list of Home application widget board favorites.
knox_result_t knox_custom_set_mobile_data_state(knox_custom_mobile_data_state_t value)
API to turn mobile data on/off.
knox_result_t knox_custom_set_data_roaming_state(knox_custom_data_roaming_state_t value)
API to turn data roaming on/off.
knox_result_t knox_custom_set_settings_hidden_items(knox_custom_settings_hide_state_t state, knox_custom_setting_hidden_items_t elements)
API to hide specific settings items on a Samsung Galaxy Watch device.
knox_result_t knox_custom_set_powersaving_mode_state(knox_custom_powersaving_mode_state_t value)
API to turn Power saving mode on/off on a device.
knox_custom_always_on_display_state_t
AlwaysOnDisplay state type.
knox_result_t knox_custom_set_always_on_display_state(knox_custom_always_on_display_state_t value)
API to turn Always On Display (AOD) ON or OFF on a device.
knox_result_t knox_custom_set_watch_face(const char *clockpackagename_main, const char *clockpackagename_sub)
API to set a specific package as a watch face.
knox_custom_data_airplane_mode_state_t
Airplane mode state type.
knox_custom_data_t * knox_custom_get_watch_face(void)
API to get watchface package name.
knox_custom_setting_hidden_items_t
Settings hidden Item type.
knox_result_t
KNOX_CUSTOM API result.
knox_custom_wifi_state_t
Wi-Fi state type.
knox_custom_settings_hide_state_t
Hide or unhide the given settings elements.
knox_result_t knox_custom_set_bluetooth_state(knox_custom_bt_state_t value)
API to turn Bluetooth on/off.
knox_result_t knox_custom_get_debuginfo_state(int *debuginfo_state)
Get the DebugInfo state.
knox_result_t knox_custom_widget_board_add_widget(const char *widget_id)
API to add a widget into the Home application widget board favorites list. For more about widgets...
knox_custom_data_debuginfo_state_t
DebugInfo state type.