API संदर्भ

प्राथमिकताएँ

ऐप कॉन्फ़िगरेशन। सभी सेटिंग पढ़ने के लिए डेवलपर मोड आवश्यक है; सीमित दायरे का पढ़ना और लिखना नीचे पंजीकृत कुंजी नीतियाँ मानता है।

पंजीकृत प्राथमिकता कुंजियाँ (63)

पहुँच हर कुंजी की पंजीकृत नीति के अनुसार है। सभी मूल मान पढ़ने के लिए डेवलपर मोड आवश्यक है।

कुंजीउद्देश्यपहुँच
dlnaEnable the DLNA service. स्थानीय और दूरस्थ पढ़ना/लिखना
device_nameDevice display name. स्थानीय और दूरस्थ पढ़ना/लिखना
feed_auto_refreshEnable automatic feed refresh. स्थानीय और दूरस्थ पढ़ना/लिखना
feed_auto_refresh_intervalAutomatic feed refresh interval in seconds. स्थानीय और दूरस्थ पढ़ना/लिखना
feed_auto_refresh_only_wifiRestrict automatic feed refresh to Wi-Fi. स्थानीय और दूरस्थ पढ़ना/लिखना
ai_image_search_enabledEnable semantic image search. स्थानीय और दूरस्थ पढ़ना/लिखना
ai_image_search_modelSelected image-search model. स्थानीय और दूरस्थ पढ़ना/लिखना
dlna_allowed_sendersAllowed DLNA sender identities. स्थानीय और दूरस्थ पढ़ना/लिखना
dlna_denied_sendersDenied DLNA sender identities. स्थानीय और दूरस्थ पढ़ना/लिखना
dark_themeTheme selection: USE_DEVICE_THEME, ON or OFF. स्थानीय और दूरस्थ पढ़ना/लिखना
amoled_dark_themeUse the AMOLED dark-theme option. स्थानीय और दूरस्थ पढ़ना/लिखना
pdf_follow_dark_themeApply the current dark theme to PDF viewing. स्थानीय और दूरस्थ पढ़ना/लिखना
localeInterface language. स्थानीय और दूरस्थ पढ़ना/लिखना
show_hidden_filesShow hidden files in file browsing. स्थानीय और दूरस्थ पढ़ना/लिखना
feed_font_scaleFeed-reader font scale. स्थानीय और दूरस्थ पढ़ना/लिखना
editor_wrap_contentWrap long editor lines. स्थानीय और दूरस्थ पढ़ना/लिखना
editor_font_sizeEditor font size. स्थानीय और दूरस्थ पढ़ना/लिखना
editor_status_barShow the editor status bar. स्थानीय और दूरस्थ पढ़ना/लिखना
desktop_home_featuresFeatures displayed on the desktop home page. स्थानीय और दूरस्थ पढ़ना/लिखना
desktop_rail_featuresडेस्कटॉप नेविगेशन पट्टी में दिखाई देने वाली सुविधाएँ। स्थानीय और दूरस्थ पढ़ना/लिखना
media_excluded_dirsDirectories hidden from media pages; file indexing and file search remain available. स्थानीय और दूरस्थ पढ़ना/लिखना
desktop_upload_dirsहर डेस्कटॉप मीडिया श्रेणी के लिए सहेजे गए अपलोड फ़ोल्डर पथ। स्थानीय और दूरस्थ पढ़ना/लिखना
audio_sort_byAudio-library sort order. स्थानीय और दूरस्थ पढ़ना/लिखना
video_sort_byVideo-library sort order. स्थानीय और दूरस्थ पढ़ना/लिखना
image_sort_byImage-library sort order. स्थानीय और दूरस्थ पढ़ना/लिखना
doc_sort_byDocument-library sort order. स्थानीय और दूरस्थ पढ़ना/लिखना
file_sort_byFile-browser sort order. स्थानीय और दूरस्थ पढ़ना/लिखना
pkg_sort_byInstalled-package sort order. स्थानीय और दूरस्थ पढ़ना/लिखना
audio_play_modeAudio playback repeat or shuffle mode. स्थानीय और दूरस्थ पढ़ना/लिखना
audio_playback_speedAudio playback speed multiplier. स्थानीय और दूरस्थ पढ़ना/लिखना
pomodoro_settingsPomodoro work, break and round configuration. स्थानीय और दूरस्थ पढ़ना/लिखना
screen_mirror_qualityScreen-mirror quality preset. स्थानीय और दूरस्थ पढ़ना/लिखना
clipboard_directionsClipboard synchronization direction for each peer. केवल स्थानीय पढ़ना/लिखना
http_portHTTP listener port. केवल स्थानीय पढ़ना/लिखना
https_portHTTPS listener port. केवल स्थानीय पढ़ना/लिखना
background_service_enabledEnable the background service. केवल स्थानीय पढ़ना/लिखना
remote_accessEnable remote access. केवल स्थानीय पढ़ना/लिखना
developer_modeEnable developer tools and full preference or database access. केवल स्थानीय पढ़ना/लिखना
allow_any_hostAllow requests with arbitrary HTTP host names. केवल स्थानीय पढ़ना/लिखना
nearby_discoverableAllow nearby devices to discover this device. केवल स्थानीय पढ़ना/लिखना
notification_filterNotification synchronization filter configuration. केवल स्थानीय पढ़ना/लिखना
launcher_shortcutsConfigured launcher shortcuts. केवल स्थानीय पढ़ना/लिखना
image_grid_cells_per_rowImage-grid column count. केवल स्थानीय पढ़ना/लिखना
video_grid_cells_per_rowVideo-grid column count. केवल स्थानीय पढ़ना/लिखना
httpsEnable HTTPS. केवल स्थानीय पढ़ना/लिखना
web_address_bar_expandedExpand the remote-access address bar. केवल स्थानीय पढ़ना/लिखना
passwordLocal password configuration. केवल स्थानीय पढ़ना/लिखना
password_typeSelected password mode. केवल स्थानीय पढ़ना/लिखना
login_require_approvalRequire local approval for remote login. केवल स्थानीय पढ़ना/लिखना
api_permissionsFeatures authorized for remote API clients. केवल स्थानीय पढ़ना/लिखना
dev_tokenDevelopment access token configuration. केवल स्थानीय पढ़ना/लिखना
log_levelApplication logging level. केवल स्थानीय पढ़ना/लिखना
auto_check_updateAutomatically check for application updates. केवल स्थानीय पढ़ना/लिखना
skip_versionApplication update version to skip. केवल स्थानीय पढ़ना/लिखना
mdns_hostnamemDNS hostname used for local discovery. स्थानीय या HTTP_SERVER वाला प्रमाणित रिमोट
recent_selected_dirsइस डिवाइस पर पुष्टि किए गए अधिकतम आठ पूर्ण फ़ोल्डर पथ, सबसे नया पहले। Windows में / इस्तेमाल करें; ड्राइव रूट D:/ है, D: नहीं। ["D:/Projects/Photos", "E:/Backup/Photos"]स्थानीय या फ़ाइल पहुँच वाले साइन-इन किए गए रिमोट क्लाइंट
app_home_featuresFeatures displayed by the native Tools page and its remote projection. स्थानीय पढ़ना/लिखना; दूरस्थ केवल पढ़ना
opaque_server_setupInternal OPAQUE password-authentication server setup. केवल Rust का आंतरिक उपयोग
opaque_password_recordInternal OPAQUE password registration record. केवल Rust का आंतरिक उपयोग
client_idInternal persistent device identity. केवल Rust का आंतरिक उपयोग
adb_tokenInternal authorization token for local command access. केवल Rust का आंतरिक उपयोग
master_secretInternal master secret. केवल Rust का आंतरिक उपयोग
signature_key_pairInternal device signing key pair. केवल Rust का आंतरिक उपयोग

प्रकार परिभाषाएँ

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

ऑपरेशन

subscription

prefsChanged

सेटिंग बदलने पर परिवर्तन संकेत लें; जिन कॉन्फ़िगरेशन फ़ील्ड का उपयोग करते हैं उन्हें फिर लें।

graphql
subscription prefsChanged {
  prefsChanged
}
mutation

removePref

लिखने योग्य सेटिंग का ओवरराइड हटाएँ; auto_check_update और skip_version डिफ़ॉल्ट पर लौटते हैं। कुंजी अनुमति-सूची देखें।

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

setPref

पंजीकृत लिखने योग्य सेटिंग सेट करें, उसका मान जाँचें और उसके अतिरिक्त प्रभाव लागू करें। अनुमतियों के लिए कुंजी अनुमति-सूची देखें।

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

prefs

आंतरिक कुंजियों सहित हर मूल सहेजी सेटिंग पढ़ने के लिए keys छोड़ें या null दें; डेवलपर मोड आवश्यक है। नाम दी गई कुंजियाँ अनुमति-सूची मानती हैं; खाली सूची खाली ऑब्जेक्ट लौटाती है।

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