wear watchfacepush
Update Terbaru | Rilis Stabil | Kandidat Rilis | Rilis Beta | Rilis Alfa |
---|---|---|---|---|
18 Juni 2025 | - | - | - | 1.0.0-alpha01 |
Mendeklarasikan dependensi
Untuk menambahkan dependensi pada wear watchfacepush, Anda harus menambahkan repositori Maven Google ke project Anda. Baca repositori Maven Google untuk mengetahui informasi selengkapnya.
Tambahkan dependensi untuk artefak yang diperlukan dalam file build.gradle
bagi aplikasi atau modul Anda:
Groovy
dependencies { // Use to implement wear watchfacepushs //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01" // Use to implement wear watchfacepush complications //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-data-source:1.0.0-alpha01" // (Kotlin-specific extensions) //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-data-source-ktx:1.0.0-alpha01" // Use to implement a watchfacepush style and complication editor //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-editor:1.0.0-alpha01" // Can use to render complications. //TODO: Confirm these dependencies // This library is optional and watchfacepushs may have custom implementation for rendering // complications. //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-rendering:1.0.0-alpha01" }
Kotlin
dependencies { // Use to implement wear watchfacepushs //TODO: Confirm these dependencies implementation("androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01") // Use to implement wear watchfacepush complications //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-data-source:1.0.0-alpha01" // (Kotlin-specific extensions) //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-data-source-ktx:1.0.0-alpha01" // Use to implement a watchfacepush style and complication editor //TODO: Confirm these dependencies implementation("androidx.wear.watchfacepush:watchfacepush-editor:1.0.0-alpha01") // Can use to render complications. //TODO: Confirm these dependencies // This library is optional and watchfacepushs may have custom implementation for rendering // complications. //TODO: Confirm these dependencies implementation "androidx.wear.watchfacepush:watchfacepush-complications-rendering:1.0.0-alpha01" }
Untuk informasi dependensi selengkapnya, lihat Menambahkan dependensi build.
Masukan
Masukan Anda membantu meningkatkan kualitas Jetpack. Beri tahu kami jika Anda menemukan masalah baru atau mempunyai masukan untuk meningkatkan kualitas library ini. Harap periksa masalah yang sudah diketahui dalam library ini sebelum membuat laporan baru. Anda dapat memberikan suara untuk masalah yang sudah diketahui dengan mengklik tombol bintang.
Lihat dokumentasi Issue Tracker untuk informasi selengkapnya.
Versi 1.0
Versi 1.0.0-alpha01
18 Juni 2025
androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01
dirilis. Versi 1.0.0-alpha01 berisi commit ini.
Perubahan API
- Menambahkan Watch Face Push API yang memungkinkan aplikasi Wear OS menginstal tampilan jam di smartwatch secara terprogram.
- API sebelumnya dipublikasikan sebagai
:wear:watchface:watchface-push