camera featurecombinationquery
Bản cập nhật mới nhất | Bản phát hành ổn định | Bản phát hành dùng thử | Bản phát hành beta | Bản phát hành alpha |
---|---|---|---|---|
Ngày 16 tháng 7 năm 2025 | - | - | 1.5.0-beta02 | - |
Khai báo phần phụ thuộc
Để thêm một phần phụ thuộc vào camera featurecombinationquery, bạn phải thêm kho lưu trữ Google Maven vào dự án. Đọc nội dung Kho lưu trữ Maven của Google để biết thêm thông tin.
Thêm các phần phụ thuộc cho cấu phần phần mềm bạn cần trong tệp build.gradle
cho ứng dụng hoặc mô-đun:
Groovy
dependencies { // Use to implement camera featurecombinationquerys //TODO: Confirm these dependencies implementation "androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta02" // Use to implement camera featurecombinationquery complications //TODO: Confirm these dependencies implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source:1.5.0-beta02" // (Kotlin-specific extensions) //TODO: Confirm these dependencies implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source-ktx:1.5.0-beta02" // Use to implement a featurecombinationquery style and complication editor //TODO: Confirm these dependencies implementation "androidx.camera.featurecombinationquery:featurecombinationquery-editor:1.5.0-beta02" // 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-beta02" }
Kotlin
dependencies { // Use to implement camera featurecombinationquerys //TODO: Confirm these dependencies implementation("androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta02") // Use to implement camera featurecombinationquery complications //TODO: Confirm these dependencies implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source:1.5.0-beta02" // (Kotlin-specific extensions) //TODO: Confirm these dependencies implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source-ktx:1.5.0-beta02" // Use to implement a featurecombinationquery style and complication editor //TODO: Confirm these dependencies implementation("androidx.camera.featurecombinationquery:featurecombinationquery-editor:1.5.0-beta02") // 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-beta02" }
Để biết thêm thông tin về các phần phụ thuộc, hãy xem bài viết Thêm phần phụ thuộc vào bản dựng.
Ý kiến phản hồi
Ý kiến phản hồi của bạn có thể giúp chúng tôi cải thiện Jetpack. Hãy cho chúng tôi biết nếu bạn phát hiện lỗi mới hoặc có ý tưởng cải thiện thư viện này. Vui lòng xem các lỗi hiện có trong thư viện này trước khi báo một lỗi mới. Bạn có thể thêm lượt bình chọn cho lỗi hiện có bằng cách nhấp vào nút dấu sao.
Xem tài liệu về Công cụ theo dõi lỗi để biết thêm thông tin.
Phiên bản 1.5
Phiên bản 1.5.0-beta02
Ngày 16 tháng 7 năm 2025
Phát hành androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta02
và androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.5.0-beta02
. Phiên bản 1.5.0-beta02 bao gồm các thay đổi sau.
Tính năng mới
- Việc triển khai Dịch vụ Play sẽ tự động kéo phần Triển khai Dịch vụ Play khi được sử dụng.
Sửa lỗi
- Làm rõ các quy định hạn chế khi sử dụng các nền tảng bị trì hoãn với việc triển khai Cửa hàng Play.
- Di chuyển một số hoạt động khởi chạy sang hàm khởi tạo Factory để giúp các ứng dụng có quyền kiểm soát tốt hơn đối với thời điểm chúng muốn các lệnh gọi Binder diễn ra. Cập nhật tài liệu để phản ánh điều này.
Phiên bản 1.5.0-beta01
Ngày 4 tháng 6 năm 2025
Phát hành androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta01
và androidx.camera.featurecombinationquery:featurecombinationquery-play-services:1.5.0-beta01
. Phiên bản 1.5.0-beta01 bao gồm các thay đổi sau.
Tính năng mới
- Khi cập nhật lên phiên bản 1.5.0-beta01, các cấu phần phần mềm
FeatureCombinationQuery
đã được chuyển sang nhóm thư viện riêng. Đây là thay đổi cần thiết để cải thiện tính mô-đun và khả năng duy trì của thư viện CameraX.
Thay đổi về API
SessionConfigurationCompat
vàSessionParametersCompat
đã được đổi tên thànhSessionConfigurationLegacy
vàSessionParametersLegacy
để phản ánh chính xác hơn chức năng của chúng trong việc chỉ hỗ trợ các API cũ.- Tương tự, tên/chữ ký phương thức của
CameraDeviceSetupCompat.#isSessionConfigurationSupported(SessionConfigurationCompat)
đã được thay đổi thànhCameraDeviceSetupCompat.#isSessionConfigurationSupportedLegacy(SessionConfigurationLegacy)