wear watchfacepush

  
TODO
最新の更新 安定版リリース リリース候補版 ベータ版リリース アルファ版リリース
2025 年 6 月 18 日 - - - 1.0.0-alpha01

依存関係の宣言

wear watchfacepush への依存関係を追加するには、Google の Maven リポジトリをプロジェクトに追加する必要があります。詳しくは、Google の Maven リポジトリをご覧ください。

アプリまたはモジュールの 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 改善の参考にさせていただきます。新しい問題が見つかった場合や、このライブラリを改善するアイデアをお持ちの場合は、お知らせください。新しい問題を報告していただく前に、このライブラリの既存の問題をご確認ください。スターボタンをクリックすると、既存の問題に投票できます。

新しい問題を報告する

詳細については、Issue Tracker のドキュメントをご覧ください。

バージョン 1.0

バージョン 1.0.0-alpha01

2025 年 6 月 18 日

androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01 がリリースされました。バージョン 1.0.0-alpha01 には、これらの commit が含まれています。

API の変更

  • Wear OS アプリがスマートウォッチにウォッチフェイスをプログラムでインストールできるようにする Watch Face Push API を追加しました。
  • この API は以前 :wear:watchface:watchface-push として公開されていました