使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
相机功能组合查询
待办事项
最近更新时间 |
稳定版 |
候选版 |
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"
}
如需详细了解依赖项,请参阅添加 build 依赖项。
反馈
您的反馈将帮助我们改进 Jetpack。如果您发现了新问题,或对此库有任何改进建议,请告诉我们。创建新问题前,请先查看此库中的现有问题。您可以点击星标按钮,为现有问题投票。
创建新问题
如需了解详情,请参阅问题跟踪器文档。
版本 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 服务实现。
bug 修复
- 明确了在 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 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-13。
[null,null,["最后更新时间 (UTC):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)`"]]