wear watchfacepush
آخر تعديل | الإصدار الثابت | إصدار محتمل | الإصدار التجريبي | الإصدار الأولي |
---|---|---|---|---|
18 حزيران (يونيو) 2025 | - | - | - | 1.0.0-alpha01 |
تحديد التبعيات
لإضافة تبعية على wear watchfacepush، يجب إضافة مستودع Google Maven إلى مشروعك. اطّلِع على مستودع Maven من Google لمزيد من المعلومات.
أضِف التبعيات للعناصر التي تحتاج إليها في ملف build.gradle
ل
تطبيقك أو وحدتك:
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" }
لمزيد من المعلومات عن العناصر الاعتمادية، اطّلِع على مقالة إضافة عناصر الاعتماد الخاصة بالإصدار.
الملاحظات
تساعدنا ملاحظاتك في تحسين Jetpack. يُرجى إعلامنا إذا واجهت مشاكل جديدة أو كان لديك أفكار لتحسين هذه المكتبة. يُرجى الاطّلاع على المشاكل الحالية في هذه المكتبة قبل إنشاء مكتبة جديدة. يمكنك إضافة صوتك إلى مشكلة حالية من خلال النقر على زر النجمة.
اطّلِع على مستندات أداة تتبُّع المشاكل لمزيد من المعلومات.
الإصدار 1.0
الإصدار 1.0.0-alpha01
18 حزيران (يونيو) 2025
تم إصدار androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01
. يحتوي الإصدار 1.0.0-alpha01 على عمليات الربط هذه.
تغييرات واجهة برمجة التطبيقات
- تمت إضافة Watch Face Push API التي تسمح لتطبيق Wear OS بتثبيت خلفية شاشة ساعة على ساعة بشكل آلي.
- تم نشر واجهة برمجة التطبيقات سابقًا باسم
:wear:watchface:watchface-push
.