透過集合功能整理內容
你可以依據偏好儲存及分類內容。
camera featurecombinationquery
TODO
最近更新時間 |
穩定版 |
候選版 |
Beta 版 |
Alpha 版 |
2025 年 8 月 13 日 |
- |
1.5.0-rc01 |
- |
- |
宣告依附元件
如要新增 camera-featurecombinationquery 的依附元件,必須將 Google Maven 存放區新增至專案。詳情請參閱 Google 的 Maven 存放區。
在應用程式或模組的 build.gradle
檔案中,新增所需構件的依附元件:
Groovy
dependencies {
// Use to implement camera featurecombinationquerys
//TODO: Confirm these dependencies
implementation "androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-rc01"
// Use to implement camera featurecombinationquery complications
//TODO: Confirm these dependencies
implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source:1.5.0-rc01"
// (Kotlin-specific extensions)
//TODO: Confirm these dependencies
implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source-ktx:1.5.0-rc01"
// Use to implement a featurecombinationquery style and complication editor
//TODO: Confirm these dependencies
implementation "androidx.camera.featurecombinationquery:featurecombinationquery-editor:1.5.0-rc01"
// Can use to render complications.
//TODO: Confirm these dependencies
// This library is optional and featurecombinationquerys may have custom implementation for rendering
// complications.
//TODO: Confirm these dependencies
implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-rendering:1.5.0-rc01"
}
Kotlin
dependencies {
// Use to implement camera featurecombinationquerys
//TODO: Confirm these dependencies
implementation("androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-rc01")
// Use to implement camera featurecombinationquery complications
//TODO: Confirm these dependencies
implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source:1.5.0-rc01"
// (Kotlin-specific extensions)
//TODO: Confirm these dependencies
implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source-ktx:1.5.0-rc01"
// Use to implement a featurecombinationquery style and complication editor
//TODO: Confirm these dependencies
implementation("androidx.camera.featurecombinationquery:featurecombinationquery-editor:1.5.0-rc01")
// Can use to render complications.
//TODO: Confirm these dependencies
// This library is optional and featurecombinationquerys may have custom implementation for rendering
// complications.
//TODO: Confirm these dependencies
implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-rendering:1.5.0-rc01"
}
如要進一步瞭解依附元件,請參閱「新增建構依附元件」一文。
意見回饋
您的意見可協助我們改善 Jetpack。如果您發現新問題,或是有改進這個程式庫的建議,請告訴我們。回報新問題前,請先查看這個程式庫的現有問題。只要按一下星號按鈕,即可投票給現有的問題。
建立新問題
詳情請參閱 Issue Tracker 說明文件。
1.5 版本
1.5.0-rc01 版
2025 年 8 月 13 日
發布 androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-rc01
和 androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.5.0-rc01
。1.5.0-rc01 版包含這些修訂項目。
1.5.0-beta02 版
2025 年 7 月 16 日
發布 androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta02
和 androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.5.0-beta02
。1.5.0-beta02 版包含這些修訂項目。
新功能
- 使用時,Play 服務實作項目會自動提取 Play 服務實作項目。
修正錯誤
- 說明透過 Play 商店實作延後途徑時的限制。
- 將部分初始化作業移至 Factory 建構函式,讓用戶端能更妥善地控管 Binder 呼叫的發生時間。說明文件已更新,反映上述變更。
1.5.0-beta01 版
2025 年 6 月 4 日
發布 androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta01
和 androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.5.0-beta01
。1.5.0-beta01 版包含這些修訂項目。
新功能
- 更新至 1.5.0-beta01 後,
FeatureCombinationQuery
構件已移至專屬程式庫群組。這項變更有助於提升 CameraX 程式庫的模組化程度和可維護性。
API 變更
SessionConfigurationCompat
和 SessionParametersCompat
已分別重新命名為 SessionConfigurationLegacy
和 SessionParametersLegacy
,更清楚地反映兩者僅支援舊版 API 的功能。
- 同樣地,
CameraDeviceSetupCompat.#isSessionConfigurationSupported(SessionConfigurationCompat)
的方法名稱/簽章已變更為 CameraDeviceSetupCompat.#isSessionConfigurationSupportedLegacy(SessionConfigurationLegacy)
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-08-13 (世界標準時間)。
[null,null,["上次更新時間:2025-08-13 (世界標準時間)。"],[],[],null,["# camera featurecombinationquery\n==============================\n\nAPI Reference \n[androidx.camera.featurecombinationquery](/reference/kotlin/androidx/camera/featurecombinationquery/package-summary) \nTODO \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|-----------------|----------------|------------------------------------------------------------------------------------|--------------|---------------|\n| August 13, 2025 | - | [1.5.0-rc01](/jetpack/androidx/releases/camera-featurecombinationquery#1.5.0-rc01) | - | - |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on camera featurecombinationquery, you must add the Google Maven repository to your\nproject. Read [Google's Maven repository](/studio/build/dependencies#google-maven)\nfor more information.\n\nAdd the dependencies for the artifacts you need in the `build.gradle` file for\nyour app or module: \n\n### Groovy\n\n```groovy\ndependencies {\n // Use to implement camera featurecombinationquerys\n //TODO: Confirm these dependencies\n implementation \"androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-rc01\"\n\n // Use to implement camera featurecombinationquery complications\n //TODO: Confirm these dependencies\n implementation \"androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source:1.5.0-rc01\"\n // (Kotlin-specific extensions)\n //TODO: Confirm these dependencies\n implementation \"androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source-ktx:1.5.0-rc01\"\n\n // Use to implement a featurecombinationquery style and complication editor\n //TODO: Confirm these dependencies\n implementation \"androidx.camera.featurecombinationquery:featurecombinationquery-editor:1.5.0-rc01\"\n\n // Can use to render complications.\n //TODO: Confirm these dependencies\n // This library is optional and featurecombinationquerys may have custom implementation for rendering\n // complications.\n //TODO: Confirm these dependencies\n implementation \"androidx.camera.featurecombinationquery:featurecombinationquery-complications-rendering:1.5.0-rc01\"\n}\n```\n\n### Kotlin\n\n```kotlin\ndependencies {\n // Use to implement camera featurecombinationquerys\n //TODO: Confirm these dependencies\n implementation(\"androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-rc01\")\n\n // Use to implement camera featurecombinationquery complications\n //TODO: Confirm these dependencies\n implementation \"androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source:1.5.0-rc01\"\n // (Kotlin-specific extensions)\n //TODO: Confirm these dependencies\n implementation \"androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source-ktx:1.5.0-rc01\"\n\n // Use to implement a featurecombinationquery style and complication editor\n //TODO: Confirm these dependencies\n implementation(\"androidx.camera.featurecombinationquery:featurecombinationquery-editor:1.5.0-rc01\")\n\n // Can use to render complications.\n //TODO: Confirm these dependencies\n // This library is optional and featurecombinationquerys may have custom implementation for rendering\n // complications.\n //TODO: Confirm these dependencies\n implementation \"androidx.camera.featurecombinationquery:featurecombinationquery-complications-rendering:1.5.0-rc01\"\n}\n```\n\nFor more information about dependencies, see [Add build dependencies](/studio/build/dependencies).\n\nFeedback\n--------\n\nYour feedback helps make Jetpack better. Let us know if you discover new issues or have\nideas for improving this library. Please take a look at the\n[existing issues](https://issuetracker.google.com/issues?q=componentid:618491%20status:open)\nin this library before you create a new one. You can add your vote to an existing issue by\nclicking the star button.\n\n[Create a new issue](https://issuetracker.google.com/issues/new?component=618491&template=1257717)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nVersion 1.5\n-----------\n\n### Version 1.5.0-rc01\n\nAugust 13, 2025\n\n`androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-rc01` and `androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.5.0-rc01` are released. Version 1.5.0-rc01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/f22a8ba695b5a3d975f57d279262d9d39444d990..3496263efa2133a8c8cd25f4ae6509b9d28a788f/camera/featurecombinationquery).\n\n### Version 1.5.0-beta02\n\nJuly 16, 2025\n\n`androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta02` and `androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.5.0-beta02` are released. Version 1.5.0-beta02 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/7442ed2cb3111f2187694f18723b4fbd1c9efa69..f22a8ba695b5a3d975f57d279262d9d39444d990/camera/featurecombinationquery).\n\n**New Features**\n\n- Play Service implementation will automatically pull in the Play Services Implementation when used.\n\n**Bug Fixes**\n\n- Clarified restrictions when using deferred surfaces with the play store implementation.\n- Moved some initialization to the Factory constructor to give clients better control over when they want the Binder calls to happen. Updated the docs to reflect the same.\n\n### Version 1.5.0-beta01\n\nJune 4, 2025\n\n`androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta01` and `androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.5.0-beta01` are released. Version 1.5.0-beta01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/7442ed2cb3111f2187694f18723b4fbd1c9efa69/camera/featurecombinationquery).\n\n**New Features**\n\n- With the update to 1.5.0-beta01, the `FeatureCombinationQuery` artifacts have been moved to their own library group. This change is necessary to improve the modularity and maintainability of the CameraX library.\n\n**API Changes**\n\n- `SessionConfigurationCompat` and `SessionParametersCompat` have been renamed to `SessionConfigurationLegacy` and `SessionParametersLegacy` respectively to better reflect their function in supporting older APIs only.\n- Similarly, the method name/signature of `CameraDeviceSetupCompat.#isSessionConfigurationSupported(SessionConfigurationCompat)` has been changed to `CameraDeviceSetupCompat.#isSessionConfigurationSupportedLegacy(SessionConfigurationLegacy)`"]]