PlainApp
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이 기기에서 선택을 확정한 폴더의 절대 경로를 최신순으로 최대 8개 저장합니다. 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)
}