Stay organized with collections
Save and categorize content based on your preferences.
@RequiresSchemaVersion(major = 1, minor = 0)
interface ActionBuilders.Action
Interface defining an action that can be used by a layout element.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-15 UTC."],[],[],null,["# ActionBuilders.Action\n=====================\n\nArtifact: [androidx.wear.protolayout:protolayout](/jetpack/androidx/releases/wear-protolayout) \n[View Source](https://cs.android.com/search?q=file:androidx/wear/protolayout/ActionBuilders.java+class:androidx.wear.protolayout.ActionBuilders.Action) \nAdded in [1.0.0](/jetpack/androidx/releases/wear-protolayout#1.0.0)\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/androidx/wear/protolayout/ActionBuilders.Action \"View this page in Java\")\n\n\n```\n@RequiresSchemaVersion(major = 1, minor = 0)\ninterface ActionBuilders.Action\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[ActionBuilders.LaunchAction](/reference/kotlin/androidx/wear/protolayout/ActionBuilders.LaunchAction), [ActionBuilders.LoadAction](/reference/kotlin/androidx/wear/protolayout/ActionBuilders.LoadAction) \n\n|--------------------------------------------------------------------------------------------------------|----------------------------------------------------------|\n| [ActionBuilders.LaunchAction](/reference/kotlin/androidx/wear/protolayout/ActionBuilders.LaunchAction) | An action used to launch another activity on the system. |\n| [ActionBuilders.LoadAction](/reference/kotlin/androidx/wear/protolayout/ActionBuilders.LoadAction) | An action used to load (or reload) the layout contents. |\n\n*** ** * ** ***\n\nInterface defining an action that can be used by a layout element."]]