





Intent

An app function is a piece of functionality that apps expose to the system for cross-app orchestration.







The [appfunctions.metadata] package defines a set of classes to represent metadata for AppFunctions. This metadata is designed to be similar in spirit to the OpenAPI specification, which is used to describe REST APIs. 1
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:appfunctions/appfunctions/src/main/java/androidx/appfunctions/metadata/README.md ↩︎





// in settings.gradle.kts
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
+ maven {
+ url = uri("https://androidx.dev/snapshots/builds/<build-number>/artifacts/repository")
+ }
}
}

// in settings.gradle.kts
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven {
url = uri("https://androidx.dev/snapshots/builds/<build-number>/artifacts/repository")
+ content {
+ includeGroup("androidx.appfunctions")
+ }
}
}
}



@AppFunctionService










EXECUTE_APP_FUNCTIONS






Intents

@jamiesanson
