API Referansı

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.

AnahtarAmaçErişim
dlnaEnable the DLNA service. Yerel ve uzak okuma/yazma
device_nameDevice display name. Yerel ve uzak okuma/yazma
feed_auto_refreshEnable automatic feed refresh. Yerel ve uzak okuma/yazma
feed_auto_refresh_intervalAutomatic feed refresh interval in seconds. Yerel ve uzak okuma/yazma
feed_auto_refresh_only_wifiRestrict automatic feed refresh to Wi-Fi. Yerel ve uzak okuma/yazma
ai_image_search_enabledEnable semantic image search. Yerel ve uzak okuma/yazma
ai_image_search_modelSelected image-search model. Yerel ve uzak okuma/yazma
dlna_allowed_sendersAllowed DLNA sender identities. Yerel ve uzak okuma/yazma
dlna_denied_sendersDenied DLNA sender identities. Yerel ve uzak okuma/yazma
dark_themeTheme selection: USE_DEVICE_THEME, ON or OFF. Yerel ve uzak okuma/yazma
amoled_dark_themeUse the AMOLED dark-theme option. Yerel ve uzak okuma/yazma
pdf_follow_dark_themeApply the current dark theme to PDF viewing. Yerel ve uzak okuma/yazma
localeInterface language. Yerel ve uzak okuma/yazma
show_hidden_filesShow hidden files in file browsing. Yerel ve uzak okuma/yazma
feed_font_scaleFeed-reader font scale. Yerel ve uzak okuma/yazma
editor_wrap_contentWrap long editor lines. Yerel ve uzak okuma/yazma
editor_font_sizeEditor font size. Yerel ve uzak okuma/yazma
editor_status_barShow the editor status bar. Yerel ve uzak okuma/yazma
desktop_home_featuresFeatures displayed on the desktop home page. Yerel ve uzak okuma/yazma
desktop_rail_featuresMasaüstü gezinme çubuğunda gösterilen özellikler. Yerel ve uzak okuma/yazma
media_excluded_dirsDirectories hidden from media pages; file indexing and file search remain available. Yerel ve uzak okuma/yazma
desktop_upload_dirsHer masaüstü medya kategorisi için kaydedilen yükleme dizini yolları. Yerel ve uzak okuma/yazma
audio_sort_byAudio-library sort order. Yerel ve uzak okuma/yazma
video_sort_byVideo-library sort order. Yerel ve uzak okuma/yazma
image_sort_byImage-library sort order. Yerel ve uzak okuma/yazma
doc_sort_byDocument-library sort order. Yerel ve uzak okuma/yazma
file_sort_byFile-browser sort order. Yerel ve uzak okuma/yazma
pkg_sort_byInstalled-package sort order. Yerel ve uzak okuma/yazma
audio_play_modeAudio playback repeat or shuffle mode. Yerel ve uzak okuma/yazma
audio_playback_speedAudio playback speed multiplier. Yerel ve uzak okuma/yazma
pomodoro_settingsPomodoro work, break and round configuration. Yerel ve uzak okuma/yazma
screen_mirror_qualityScreen-mirror quality preset. Yerel ve uzak okuma/yazma
clipboard_directionsClipboard synchronization direction for each peer. Yalnızca yerel okuma/yazma
http_portHTTP listener port. Yalnızca yerel okuma/yazma
https_portHTTPS listener port. Yalnızca yerel okuma/yazma
background_service_enabledEnable the background service. Yalnızca yerel okuma/yazma
remote_accessEnable remote access. Yalnızca yerel okuma/yazma
developer_modeEnable developer tools and full preference or database access. Yalnızca yerel okuma/yazma
allow_any_hostAllow requests with arbitrary HTTP host names. Yalnızca yerel okuma/yazma
nearby_discoverableAllow nearby devices to discover this device. Yalnızca yerel okuma/yazma
notification_filterNotification synchronization filter configuration. Yalnızca yerel okuma/yazma
launcher_shortcutsConfigured launcher shortcuts. Yalnızca yerel okuma/yazma
image_grid_cells_per_rowImage-grid column count. Yalnızca yerel okuma/yazma
video_grid_cells_per_rowVideo-grid column count. Yalnızca yerel okuma/yazma
httpsEnable HTTPS. Yalnızca yerel okuma/yazma
web_address_bar_expandedExpand the remote-access address bar. Yalnızca yerel okuma/yazma
passwordLocal password configuration. Yalnızca yerel okuma/yazma
password_typeSelected password mode. Yalnızca yerel okuma/yazma
login_require_approvalRequire local approval for remote login. Yalnızca yerel okuma/yazma
api_permissionsFeatures authorized for remote API clients. Yalnızca yerel okuma/yazma
dev_tokenDevelopment access token configuration. Yalnızca yerel okuma/yazma
log_levelApplication logging level. Yalnızca yerel okuma/yazma
auto_check_updateAutomatically check for application updates. Yalnızca yerel okuma/yazma
skip_versionApplication update version to skip. Yalnızca yerel okuma/yazma
mdns_hostnamemDNS hostname used for local discovery. Yerel veya HTTP_SERVER destekli doğrulanmış uzak
recent_selected_dirsBu 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_featuresFeatures displayed by the native Tools page and its remote projection. Yerel okuma/yazma; uzaktan salt okunur
opaque_server_setupInternal OPAQUE password-authentication server setup. Yalnızca Rust içinde kullanım
opaque_password_recordInternal OPAQUE password registration record. Yalnızca Rust içinde kullanım
client_idInternal persistent device identity. Yalnızca Rust içinde kullanım
adb_tokenInternal authorization token for local command access. Yalnızca Rust içinde kullanım
master_secretInternal master secret. Yalnızca Rust içinde kullanım
signature_key_pairInternal device signing key pair. Yalnızca Rust içinde kullanım

Tip Tanımları

graphql
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

subscription

prefsChanged

Tercihler değiştiğinde değişiklik sinyali alır; kullandığınız yapılandırma alanlarını yeniden getirin.

graphql
subscription prefsChanged {
  prefsChanged
}
mutation

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.

graphql
mutation removePref($key: String!) {
  removePref(key: $key)
}
mutation

setPref

Kayıtlı yazılabilir tercihi ayarlar, değerini doğrular ve yan etkilerini uygular. İzinler için anahtar izin listesine bakın.

graphql
mutation setPref($key: String!, $value: JSON!) {
  setPref(key: $key, value: $value)
}
query

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.

graphql
query prefs($keys: [String!]) {
  prefs(keys: $keys)
}