با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
پوشیدن واچ فیس پوش
Watch Face Push به یک برنامه Wear OS اجازه می دهد تا صفحه ساعت را به صورت برنامه ریزی شده روی ساعت نصب کند.
آخرین به روز رسانی | انتشار پایدار | کاندید را آزاد کنید | نسخه بتا | انتشار آلفا |
---|
18 ژوئن 2025 | - | - | - | 1.0.0-alpha01 |
اعلام وابستگی ها
برای افزودن وابستگی به Wear Watch Face Push، باید مخزن Google Maven را به پروژه خود اضافه کنید. برای اطلاعات بیشتر، مخزن Maven Google را بخوانید.
وابستگیهای مصنوعات مورد نیاز خود را در فایل build.gradle
برای برنامه یا ماژول خود اضافه کنید:
شیار
repositories {
google() // For the watchfacepush library itself
}
dependencies {
implementation "androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01"
}
کاتلین
repositories {
google() // For the watchfacepush library itself
}
dependencies {
implementation("androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01")
}
علاوه بر این، اگر برنامه نیاز به ایجاد نشانه برای صفحه ساعت در زمان اجرا دارد، وابستگی زیر را اضافه کنید:
شیار
repositories {
google() // For the validator-push library itself
maven {
url "https://jitpack.io" // For dependencies of the validator-push library
content {
includeGroup "com.github.xgouchet"
}
}
}
dependencies {
implementation "com.google.android.wearable.watchface.validator:validator-push:1.0.0-alpha06"
}
کاتلین
repositories {
google() // For the validator-push library itself
maven {
url = uri("https://jitpack.io") // For dependencies of the validator-push library
content {
includeGroup("com.github.xgouchet")
}
}
}
dependencies {
implementation("com.google.android.wearable.watchface.validator:validator-push:1.0.0-alpha06")
}
برای اطلاعات بیشتر درباره وابستگیها، به افزودن وابستگیهای ساخت نگاه کنید.
بازخورد
بازخورد شما به بهتر شدن Jetpack کمک می کند. اگر مسائل جدیدی کشف کردید یا ایده هایی برای بهبود این کتابخانه دارید، به ما اطلاع دهید. لطفاً قبل از ایجاد کتابخانه جدید، به مسائل موجود در این کتابخانه نگاهی بیندازید. با کلیک کردن روی دکمه ستاره می توانید رای خود را به یک موضوع موجود اضافه کنید.
یک شماره جدید ایجاد کنید
برای اطلاعات بیشتر به مستندات ردیاب مشکل مراجعه کنید.
نسخه 1.0
نسخه 1.0.0-alpha01
18 ژوئن 2025
androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01
منتشر شد. نسخه 1.0.0-alpha01 حاوی این تعهدات است.
تغییرات API
- Watch Face Push API اضافه شده است که به یک برنامه Wear OS اجازه می دهد صفحه ساعت را به صورت برنامه ریزی شده روی ساعت نصب کند.
- API قبلاً با نام
:wear:watchface:watchface-push
منتشر شده بود
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-08-12 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-08-12 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# wear watchfacepush\n\nWear Watch Face Push\n====================\n\nAPI Reference \n[androidx.wear.watchfacepush](/reference/kotlin/androidx/wear/watchfacepush/package-summary) \nWatch Face Push allows a Wear OS app to install a watch face on a watch programmatically. \n\n| Latest Update | Stable Release | Release Candidate | Beta Release | Alpha Release |\n|---------------|----------------|-------------------|--------------|------------------------------------------------------------------------------|\n| June 18, 2025 | - | - | - | [1.0.0-alpha01](/jetpack/androidx/releases/wear-watchfacepush#1.0.0-alpha01) |\n\nDeclaring dependencies\n----------------------\n\nTo add a dependency on Wear Watch Face Push, you must add the Google Maven\nrepository to your project.\nRead [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\nrepositories {\n google() // For the watchfacepush library itself\n}\ndependencies {\n implementation \"androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01\"\n}\n```\n\n### Kotlin\n\n```kotlin\nrepositories {\n google() // For the watchfacepush library itself\n}\n\ndependencies {\n implementation(\"androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01\")\n}\n```\nAdditionally, if the app needs to generate tokens for a watch face at runtime, add the following dependency: \n\n### Groovy\n\n```groovy\nrepositories {\n google() // For the validator-push library itself\n maven {\n url \"https://jitpack.io\" // For dependencies of the validator-push library\n content {\n includeGroup \"com.github.xgouchet\"\n }\n }\n}\n\ndependencies {\n implementation \"com.google.android.wearable.watchface.validator:validator-push:1.0.0-alpha06\"\n}\n```\n\n### Kotlin\n\n```kotlin\nrepositories {\n google() // For the validator-push library itself\n maven {\n url = uri(\"https://jitpack.io\") // For dependencies of the validator-push library\n content {\n includeGroup(\"com.github.xgouchet\")\n }\n }\n}\n\ndependencies {\n implementation(\"com.google.android.wearable.watchface.validator:validator-push:1.0.0-alpha06\")\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:1235337%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=1235337&template=1726812)\n\nSee the [Issue Tracker documentation](https://developers.google.com/issue-tracker)\nfor more information.\n\nVersion 1.0\n-----------\n\n### Version 1.0.0-alpha01\n\nJune 18, 2025\n\n`androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01` is released. Version 1.0.0-alpha01 contains [these commits](https://android.googlesource.com/platform/frameworks/support/+log/e8af6ab7417811bf386c52a59ab5d0b94d194eeb/wear/watchfacepush/watchfacepush).\n\n**API Changes**\n\n- Added the Watch Face Push API which allows a Wear OS app to install a watch face on a watch programmatically.\n- The API was previously published as `:wear:watchface:watchface-push`"]]