камера особенностькомбинациязапрос

ДЕЛО
Последнее обновление Стабильный релиз Кандидат на релиз Бета-релиз Альфа-релиз
4 июня 2025 г. - - 1.5.0-бета01 -

Объявление зависимостей

Чтобы добавить зависимость от camera featurecombinationquery, необходимо добавить репозиторий Google Maven в свой проект. Прочтите репозиторий Google Maven для получения дополнительной информации.

Добавьте зависимости для необходимых артефактов в файл build.gradle для вашего приложения или модуля:

классный

dependencies {
    // Use to implement camera featurecombinationquerys
    //TODO: Confirm these dependencies
    implementation "androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta01"

    // Use to implement camera featurecombinationquery complications
    //TODO: Confirm these dependencies
    implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source:1.5.0-beta01"
    // (Kotlin-specific extensions)
    //TODO: Confirm these dependencies
    implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source-ktx:1.5.0-beta01"

    // Use to implement a featurecombinationquery style and complication editor
    //TODO: Confirm these dependencies
    implementation "androidx.camera.featurecombinationquery:featurecombinationquery-editor:1.5.0-beta01"

    // 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-beta01"
}

Котлин

dependencies {
    // Use to implement camera featurecombinationquerys
    //TODO: Confirm these dependencies
    implementation("androidx.camera.featurecombinationquery:featurecombinationquery:1.5.0-beta01")

    // Use to implement camera featurecombinationquery complications
    //TODO: Confirm these dependencies
    implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source:1.5.0-beta01"
    // (Kotlin-specific extensions)
    //TODO: Confirm these dependencies
    implementation "androidx.camera.featurecombinationquery:featurecombinationquery-complications-data-source-ktx:1.5.0-beta01"

    // Use to implement a featurecombinationquery style and complication editor
    //TODO: Confirm these dependencies
    implementation("androidx.camera.featurecombinationquery:featurecombinationquery-editor:1.5.0-beta01")

    // 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-beta01"
}

Дополнительную информацию о зависимостях см. в разделе Добавление зависимостей сборки .

Обратная связь

Ваши отзывы помогают сделать Jetpack лучше. Сообщите нам, если вы обнаружите новые проблемы или у вас есть идеи по улучшению этой библиотеки. Пожалуйста, ознакомьтесь с существующими проблемами в этой библиотеке, прежде чем создавать новую. Вы можете добавить свой голос к существующей проблеме, нажав кнопку со звездочкой.

Создать новый выпуск

Более подробную информацию смотрите в документации Issue Tracker .

Версия 1.5

Версия 1.5.0-beta01

4 июня 2025 г.

Выпущены 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)