package com.ttstd.dialer.config; public class CommonConfig { public static final String MMKV_ID = "InterProcessKV"; /** * WebRTC 信令服务器 WebSocket 地址(被控端/控制端连接)。 * 协议:ws:// 或 wss://,指向后端 youlai-boot-ttstd 新增的 /ws/signal 端点。 * TODO: 按实际部署环境替换主机与端口。 */ public static final String SIGNAL_SERVER_URL = "ws://192.168.100.244:8000/ws/signal"; /** 允许远程控制的全局开关键(设备端设置,默认允许)。 */ public static final String WERBTC_REMOTE_CONTROL_ENABLED = "webrtc_remote_control_enabled_key"; public static final String CONTACT_HOME_PAGE = "contact_home_page_key"; public static final String FLOAT_WINDOW_X = "float_window_x_key"; public static final String FLOAT_WINDOW_Y = "float_window_y_key"; public static final String FLOAT_WINDOW_ENABLE = "float_window_enable_key"; public static final String FLOAT_WINDOW_KILL_APP = "float_window_kill_app_key"; public static final String HOURLY_CHIME_ENABLE = "hourly_chime_enable_key"; public static final String FRAGMENT_APP_ROW_KEY = "fragment_app_row_key"; public static final int FRAGMENT_APP_ROW_DEFAULT_VALUE = 2; public static final String FRAGMENT_APP_COLUMN_KEY = "fragment_app_column_key"; public static final int FRAGMENT_APP_COLUMN_DEFAULT_VALUE = 3; public static final String WECHAT_AUTO_ACCEPT_CALL= "wechat_auto_accept_call_key"; public static final String WECHAT_AUTO_HNADS_FREE= "wechat_auto_hands_free_key"; /** * 远程协助总开关(1=开启后台信令连接,0=关闭)。 */ public static final String KEY_REMOTE_ASSISTANCE_ENABLE = "remote_assistance_key"; /** * 自动接收协助开关(1=收到请求自动接受并采集,0=需用户确认)。 */ public static final String KEY_AUTO_REMOTE_ASSISTANCE_ENABLE = "accept_remote_assistance_key"; /*是否手动选择地址*/ public static final String MANUALLY_SELECT_LOCATION = "manually_select_location_key"; public static final boolean MANUALLY_SELECT_LOCATION_DEFAULT_VALUE = false; /*是否手动选择地址*/ public static final String MANUALLY_LOCATION_ID = "manually_location_id_key"; /*地址改变时发送*/ public static final String LOCATION_CHANGED_KEY = "map_location_changed"; public static final String LOCATION_ID_CHANGED_KEY = "map_Location_ID_changed"; /*当前定位地址*/ public static final String CURRENT_LOCATION_MAP_ADDRESS_KEY = "current_map_location_map_address"; public static final String CURRENT_LOCATION_MAP_LOCATION_DESCRIBE_KEY = "current_map_location_map_location_describe"; /*省*/ public static final String CURRENT_LOCATION_PROVINCE_KEY = "current_map_location_province"; /*市*/ public static final String CURRENT_LOCATION_CITY_KEY = "current_map_location_city"; /*区*/ public static final String CURRENT_LOCATION_DISTRICT_KEY = "current_map_location_district"; public static final String CURRENT_LOCATION_TOWN_KEY = "current_map_location_town"; public static final String CURRENT_LOCATION_STREET_KEY = "current_map_location_street"; /*当前定位经度*/ public static final String CURRENT_LOCATION_LONGITUDE_KEY = "current_map_location_longitude"; /*当前定位纬度*/ public static final String CURRENT_LOCATION_LATITUDE_KEY = "current_map_location_latitude"; /*当前ad_code*/ public static final String CURRENT_LOCATION_AD_CODE_KEY = "current_map_location_ad_code"; /*当前LocationID*/ @Deprecated public static final String CURRENT_LOCATION_ID_KEY = "current_map_location_ID"; /** * 设备解绑标记(1=已解除手机号绑定,0=未解绑)。 *

* 由服务端下发「解除绑定」推送(contentType = 18)置为 1。 * 置为 1 后,设备上报 {@code otherInfo} 时不再携带手机号, * 从而避免服务端把 SIM 卡手机号重新写回 {@code sys_sn.snMobile}。 */ public static final String KEY_DEVICE_UNBIND_MOBILE = "device_unbind_mobile_key"; // ===================== 设备策略开关(由服务端策略推送 contentType=19 下发) ===================== /** USB偏好设置(1开 0关) */ public static final String KEY_POLICY_USB_DATA = "policy_usb_data_key"; /** 时间设置管控(1开 0关) */ public static final String KEY_POLICY_TIME_SETTING = "policy_time_setting_key"; /** 存储卡(1开 0关) */ public static final String KEY_POLICY_STORAGE_CARD = "policy_storage_card_key"; /** 恢复出厂(1开 0关) */ public static final String KEY_POLICY_FACTORY_RESET = "policy_factory_reset_key"; /** WiFi热点开关(1开 0关) */ public static final String KEY_POLICY_WIFI_HOTSPOT = "policy_wifi_hotspot_key"; /** 蓝牙开关(1开 0关) */ public static final String KEY_POLICY_BLUETOOTH_SWITCH = "policy_bluetooth_switch_key"; /** 壁纸功能(1开 0关) */ public static final String KEY_POLICY_WALLPAPER = "policy_wallpaper_key"; /** 通知栏显示(1开 0关) */ public static final String KEY_POLICY_NOTIFICATION_BAR = "policy_notification_bar_key"; /** 状态栏下拉开关(1开 0关) */ public static final String KEY_POLICY_STATUS_BAR_PULL_DOWN = "policy_status_bar_pull_down_key"; /** 系统导航条显示(1开 0关) */ public static final String KEY_POLICY_SYSTEM_NAV_BAR_SHOW = "policy_system_nav_bar_show_key"; /** 系统导航栏设置(1开 0关) */ public static final String KEY_POLICY_SYSTEM_NAV_BAR_SETTING = "policy_system_nav_bar_setting_key"; /** 导航条选项(1开 0关) */ public static final String KEY_POLICY_NAV_BAR_OPTIONS = "policy_nav_bar_options_key"; /** 蓝牙功能开关(1开 0关) */ public static final String KEY_POLICY_BLUETOOTH_FUNCTION = "policy_bluetooth_function_key"; /** OTA升级管控(1开 0关) */ public static final String KEY_POLICY_OTA_UPGRADE = "policy_ota_upgrade_key"; /** 应用安装开关(1开 0关) */ public static final String KEY_POLICY_APP_INSTALL = "policy_app_install_key"; /** 自动旋转(1开 0关) */ public static final String KEY_POLICY_AUTO_ROTATE = "policy_auto_rotate_key"; /** 自动亮度(1开 0关) */ public static final String KEY_POLICY_AUTO_BRIGHTNESS = "policy_auto_brightness_key"; /** 护眼模式(1开 0关) */ public static final String KEY_POLICY_EYE_PROTECTION = "policy_eye_protection_key"; /** 深色模式(1开 0关) */ public static final String KEY_POLICY_DARK_MODE = "policy_dark_mode_key"; }