wear watchfacepush

  
TODO
Ostatnia aktualizacja Wersja stabilna Wersja kandydująca do publikacji Wersja Beta Wersja alfa
18 czerwca 2025 r. - - - 1.0.0-alpha01

Deklarowanie zależności

Aby dodać zależność od pakietu watchfacepush, musisz dodać repozytorium Google Maven do projektu. Więcej informacji znajdziesz w repozytorium Maven firmy Google.

Dodaj zależności dla artefaktów, których potrzebujesz, w pliku build.gradle aplikacji lub modułu:

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

Więcej informacji o zależnościach znajdziesz w artykule Dodawanie zależności kompilacji.

Opinia

Twoja opinia pomoże nam ulepszyć Jetpacka. Jeśli zauważysz nowe problemy lub masz pomysły na ulepszenie tej biblioteki, daj nam znać. Przed utworzeniem nowego problemu zapoznaj się z dotychczasowymi problemami w tej bibliotece. Możesz zagłosować na istniejący problem, klikając przycisk z gwiazdką.

Tworzenie nowego zgłoszenia

Więcej informacji znajdziesz w dokumentacji narzędzia Issue Tracker.

Wersja 1.0

Wersja 1.0.0-alpha01

18 czerwca 2025 r.

Element androidx.wear.watchfacepush:watchfacepush:1.0.0-alpha01 został zwolniony. Wersja 1.0.0-alpha01 zawiera te komity.

Zmiany w interfejsie API

  • Dodano interfejs Push API tarczy zegarka, który umożliwia aplikacji na Wear OS zainstalowanie tarczy zegarka na zegarku za pomocą programowania.
  • Interfejs API został wcześniej opublikowany jako :wear:watchface:watchface-push