Stay organized with collections
Save and categorize content based on your preferences.
@RequiresSchemaVersion(major = 1, minor = 0)
public interface ActionBuilders.AndroidExtra
Interface defining an item that can be included in the extras of an intent that will be sent to an Android activity. Supports types in android.os.PersistableBundle, excluding arrays.
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.AndroidExtra\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.AndroidExtra) \nAdded in [1.0.0](/jetpack/androidx/releases/wear-protolayout#1.0.0)\n\n*** ** * ** ***\n\n[Kotlin](/reference/kotlin/androidx/wear/protolayout/ActionBuilders.AndroidExtra \"View this page in Kotlin\") \\|Java\n\n\n```\n@RequiresSchemaVersion(major = 1, minor = 0)\npublic interface ActionBuilders.AndroidExtra\n```\n\n\u003cbr /\u003e\n\nKnown direct subclasses \n[ActionBuilders.AndroidBooleanExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidBooleanExtra), [ActionBuilders.AndroidDoubleExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidDoubleExtra), [ActionBuilders.AndroidIntExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidIntExtra), [ActionBuilders.AndroidLongExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidLongExtra), [ActionBuilders.AndroidStringExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidStringExtra) \n\n|---------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------|\n| [ActionBuilders.AndroidBooleanExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidBooleanExtra) | A boolean value that can be added to an Android intent's extras. |\n| [ActionBuilders.AndroidDoubleExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidDoubleExtra) | A double value that can be added to an Android intent's extras. |\n| [ActionBuilders.AndroidIntExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidIntExtra) | An integer value that can be added to an Android intent's extras. |\n| [ActionBuilders.AndroidLongExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidLongExtra) | A long value that can be added to an Android intent's extras. |\n| [ActionBuilders.AndroidStringExtra](/reference/androidx/wear/protolayout/ActionBuilders.AndroidStringExtra) | A string value that can be added to an Android intent's extras. |\n\n*** ** * ** ***\n\nInterface defining an item that can be included in the extras of an intent that will be sent to an Android activity. Supports types in android.os.PersistableBundle, excluding arrays."]]