Stay organized with collections Save and categorize content based on your preferences.

privacysandbox-tools

  
A library to utilize the Privacy Sandbox functionality in Android
Latest Update Stable Release Release Candidate Beta Release Alpha Release
November 9, 2022 - - - 1.0.0-alpha01

Declaring dependencies

To add a dependency on privacysandbox-tools, you must add the Google Maven repository to your project. Read Google's Maven repository for more information.

Add the dependencies for the artifacts you need in the build.gradle file for your app or module:

Groovy

dependencies {
    // Use to implement privacysandbox toolss
    implementation "androidx.privacysandbox.tools:tools:1.0.0-alpha01"

    // Use to implement privacysandbox tools complications
    implementation "androidx.privacysandbox.tools:tools-complications-data-source:1.0.0-alpha01"
    // (Kotlin-specific extensions)
    implementation "androidx.privacysandbox.tools:tools-complications-data-source-ktx:1.0.0-alpha01"

    // Use to implement a tools style and complication editor
    implementation "androidx.privacysandbox.tools:tools-editor:1.0.0-alpha01"

    // Can use to render complications.
    // This library is optional and toolss may have custom implementation for rendering
    // complications.
    implementation "androidx.privacysandbox.tools:tools-complications-rendering:1.0.0-alpha01"
}

Kotlin

dependencies {
    // Use to implement privacysandbox toolss
    implementation("androidx.privacysandbox.tools:tools:1.0.0-alpha01")

    // Use to implement privacysandbox tools complications
    implementation("androidx.privacysandbox.tools:tools-complications-data-source:1.0.0-alpha01")
    // (Kotlin-specific extensions)
    implementation("androidx.privacysandbox.tools:tools-complications-data-source-ktx:1.0.0-alpha01")

    // Use to implement a tools style and complication editor
    implementation("androidx.privacysandbox.tools:tools-editor:1.0.0-alpha01")

    // Can use to render complications.
    // This library is optional and toolss may have custom implementation for rendering
    // complications.
    implementation("androidx.privacysandbox.tools:tools-complications-rendering:1.0.0-alpha01")
}

For more information about dependencies, see Add build dependencies.

Feedback

Your feedback helps make Jetpack better. Let us know if you discover new issues or have ideas for improving this library. Please take a look at the existing issues in this library before you create a new one. You can add your vote to an existing issue by clicking the star button.

Create a new issue

See the Issue Tracker documentation for more information.

Version 1.0

Version 1.0.0-alpha01

November 9, 2022

androidx.privacysandbox.tools:tools-*:1.0.0-alpha01 is released. Version 1.0.0-alpha01 contains these commits.

New Features