Tercihler
Uygulama yapılandırması. Tercihlerin tümünü okumak Geliştirici Modu gerektirir; anahtar kapsamıyla sınırlı okuma ve yazmalar aşağıdaki kayıtlı anahtar politikalarına uyar.
Kayıtlı tercih anahtarları (63)
Erişim, her anahtarın politikasına göre belirlenir. Tüm ham değerleri okumak için geliştirici modu gerekir.
| Anahtar | Amaç | Erişim |
|---|---|---|
| dlna | Enable the DLNA service. | Yerel ve uzak okuma/yazma |
| device_name | Device display name. | Yerel ve uzak okuma/yazma |
| feed_auto_refresh | Enable automatic feed refresh. | Yerel ve uzak okuma/yazma |
| feed_auto_refresh_interval | Automatic feed refresh interval in seconds. | Yerel ve uzak okuma/yazma |
| feed_auto_refresh_only_wifi | Restrict automatic feed refresh to Wi-Fi. | Yerel ve uzak okuma/yazma |
| ai_image_search_enabled | Enable semantic image search. | Yerel ve uzak okuma/yazma |
| ai_image_search_model | Selected image-search model. | Yerel ve uzak okuma/yazma |
| dlna_allowed_senders | Allowed DLNA sender identities. | Yerel ve uzak okuma/yazma |
| dlna_denied_senders | Denied DLNA sender identities. | Yerel ve uzak okuma/yazma |
| dark_theme | Theme selection: USE_DEVICE_THEME, ON or OFF. | Yerel ve uzak okuma/yazma |
| amoled_dark_theme | Use the AMOLED dark-theme option. | Yerel ve uzak okuma/yazma |
| pdf_follow_dark_theme | Apply the current dark theme to PDF viewing. | Yerel ve uzak okuma/yazma |
| locale | Interface language. | Yerel ve uzak okuma/yazma |
| show_hidden_files | Show hidden files in file browsing. | Yerel ve uzak okuma/yazma |
| feed_font_scale | Feed-reader font scale. | Yerel ve uzak okuma/yazma |
| editor_wrap_content | Wrap long editor lines. | Yerel ve uzak okuma/yazma |
| editor_font_size | Editor font size. | Yerel ve uzak okuma/yazma |
| editor_status_bar | Show the editor status bar. | Yerel ve uzak okuma/yazma |
| desktop_home_features | Features displayed on the desktop home page. | Yerel ve uzak okuma/yazma |
| desktop_rail_features | Masaüstü gezinme çubuğunda gösterilen özellikler. | Yerel ve uzak okuma/yazma |
| media_excluded_dirs | Directories hidden from media pages; file indexing and file search remain available. | Yerel ve uzak okuma/yazma |
| desktop_upload_dirs | Her masaüstü medya kategorisi için kaydedilen yükleme dizini yolları. | Yerel ve uzak okuma/yazma |
| audio_sort_by | Audio-library sort order. | Yerel ve uzak okuma/yazma |
| video_sort_by | Video-library sort order. | Yerel ve uzak okuma/yazma |
| image_sort_by | Image-library sort order. | Yerel ve uzak okuma/yazma |
| doc_sort_by | Document-library sort order. | Yerel ve uzak okuma/yazma |
| file_sort_by | File-browser sort order. | Yerel ve uzak okuma/yazma |
| pkg_sort_by | Installed-package sort order. | Yerel ve uzak okuma/yazma |
| audio_play_mode | Audio playback repeat or shuffle mode. | Yerel ve uzak okuma/yazma |
| audio_playback_speed | Audio playback speed multiplier. | Yerel ve uzak okuma/yazma |
| pomodoro_settings | Pomodoro work, break and round configuration. | Yerel ve uzak okuma/yazma |
| screen_mirror_quality | Screen-mirror quality preset. | Yerel ve uzak okuma/yazma |
| clipboard_directions | Clipboard synchronization direction for each peer. | Yalnızca yerel okuma/yazma |
| http_port | HTTP listener port. | Yalnızca yerel okuma/yazma |
| https_port | HTTPS listener port. | Yalnızca yerel okuma/yazma |
| background_service_enabled | Enable the background service. | Yalnızca yerel okuma/yazma |
| remote_access | Enable remote access. | Yalnızca yerel okuma/yazma |
| developer_mode | Enable developer tools and full preference or database access. | Yalnızca yerel okuma/yazma |
| allow_any_host | Allow requests with arbitrary HTTP host names. | Yalnızca yerel okuma/yazma |
| nearby_discoverable | Allow nearby devices to discover this device. | Yalnızca yerel okuma/yazma |
| notification_filter | Notification synchronization filter configuration. | Yalnızca yerel okuma/yazma |
| launcher_shortcuts | Configured launcher shortcuts. | Yalnızca yerel okuma/yazma |
| image_grid_cells_per_row | Image-grid column count. | Yalnızca yerel okuma/yazma |
| video_grid_cells_per_row | Video-grid column count. | Yalnızca yerel okuma/yazma |
| https | Enable HTTPS. | Yalnızca yerel okuma/yazma |
| web_address_bar_expanded | Expand the remote-access address bar. | Yalnızca yerel okuma/yazma |
| password | Local password configuration. | Yalnızca yerel okuma/yazma |
| password_type | Selected password mode. | Yalnızca yerel okuma/yazma |
| login_require_approval | Require local approval for remote login. | Yalnızca yerel okuma/yazma |
| api_permissions | Features authorized for remote API clients. | Yalnızca yerel okuma/yazma |
| dev_token | Development access token configuration. | Yalnızca yerel okuma/yazma |
| log_level | Application logging level. | Yalnızca yerel okuma/yazma |
| auto_check_update | Automatically check for application updates. | Yalnızca yerel okuma/yazma |
| skip_version | Application update version to skip. | Yalnızca yerel okuma/yazma |
| mdns_hostname | mDNS hostname used for local discovery. | Yerel veya HTTP_SERVER destekli doğrulanmış uzak |
| recent_selected_dirs | Bu cihazda onaylanan en fazla sekiz mutlak klasör yolu, en yeni başta. Windows’ta / kullanılır; sürücü kökü D:/ biçimindedir, D: değil. ["D:/Projects/Photos", "E:/Backup/Photos"] | Yerel veya dosya erişimi olan oturum açmış uzak istemci |
| app_home_features | Features displayed by the native Tools page and its remote projection. | Yerel okuma/yazma; uzaktan salt okunur |
| opaque_server_setup | Internal OPAQUE password-authentication server setup. | Yalnızca Rust içinde kullanım |
| opaque_password_record | Internal OPAQUE password registration record. | Yalnızca Rust içinde kullanım |
| client_id | Internal persistent device identity. | Yalnızca Rust içinde kullanım |
| adb_token | Internal authorization token for local command access. | Yalnızca Rust içinde kullanım |
| master_secret | Internal master secret. | Yalnızca Rust içinde kullanım |
| signature_key_pair | Internal device signing key pair. | Yalnızca Rust içinde kullanım |
Tip Tanımları
type Subscription {
prefsChanged: Boolean!
}
type Mutation {
removePref(key: String!): Boolean!
setPref(key: String!, value: JSON!): Boolean!
}
type Query {
prefs(keys: [String!]): JSON!
}
scalar JSONİşlemler
prefsChanged
Tercihler değiştiğinde değişiklik sinyali alır; kullandığınız yapılandırma alanlarını yeniden getirin.
subscription prefsChanged {
prefsChanged
}removePref
Yazılabilir tercih geçersiz kılmasını kaldırır; auto_check_update ve skip_version varsayılanlarına döner. Anahtar izin listesine bakın.
mutation removePref($key: String!) {
removePref(key: $key)
}setPref
Kayıtlı yazılabilir tercihi ayarlar, değerini doğrular ve yan etkilerini uygular. İzinler için anahtar izin listesine bakın.
mutation setPref($key: String!, $value: JSON!) {
setPref(key: $key, value: $value)
}prefs
İç anahtarlar dahil tüm ham kayıtlı tercihleri okumak için keys'i atlayın veya null geçin; Geliştirici Modu gereklidir. Adlandırılmış anahtarlar izin listesine uyar; boş liste boş nesne döndürür.
query prefs($keys: [String!]) {
prefs(keys: $keys)
}