AppFunctionAppMetadata


class AppFunctionAppMetadata


Metadata describing how an app exposes its functions for use by an AI agent or large language model (LLM).

This class corresponds to the styleable in the XML linked to property android.app.appfunctions.app_metadata in the app's manifest.

Summary

Public constructors

AppFunctionAppMetadata(description: String, displayDescription: String)

Public functions

open operator Boolean
equals(other: Any?)
open Int
open String

Public properties

String

Natural language description guiding the LLM on how to use the app's functions.

String

A short, user-visible description of what the app functions enable the agent to do.

Public constructors

AppFunctionAppMetadata

Added in 1.0.0-alpha03
AppFunctionAppMetadata(
    description: String = "",
    displayDescription: String = ""
)

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

description

Added in 1.0.0-alpha03
val descriptionString

Natural language description guiding the LLM on how to use the app's functions.

Corresponds to the description attribute in the styleable. Defaults to empty string if not specified.

displayDescription

Added in 1.0.0-alpha03
val displayDescriptionString

A short, user-visible description of what the app functions enable the agent to do.

Corresponds to the displayDescription attribute in the styleable. Defaults to empty string if not specified.