AI2 Component  (Version nb184)
com.google.appinventor.components.annotations.androidmanifest.ActionElement Interface Reference

Public Member Functions

String name ()
 

Detailed Description

Annotation to describe an <action> element required by an <intent-filter> element so that it can be added to AndroidManifest.xml.

Note: Some of this documentation is adapted from the Android framework specification linked below. That documentation is licensed under the ahref="https://creativecommons.org/licenses/by/2.5/">CreativeCommonsAttributionlicensev2.5</a>.See@link<ahref="https://developer.android.com/guide/topics/manifest/action-element.html">https://developer.android.com/guide/topics/manifest/action-element.html</a>.@authorwill2596@gmail.com(WilliamByrne)

Definition at line 31 of file ActionElement.java.

Member Function Documentation

◆ name()

String com.google.appinventor.components.annotations.androidmanifest.ActionElement.name ( )

The fully qualified name of the action. For standard actions defined in the android.content.Intent class, prepend "android.intent.action" to the "string" in each ACTION_string constant. For example, to specify ACTION_MAIN the fully qualified name would be "android.intent.action.MAIN". Custom defined actions are conventionally prepended with the package name of their containing class, e.g. "com.example.project.ACTION". The name attribute is required in any @ActionElement annotation and hence has no default value.

Returns
the fully qualified name of the action

The documentation for this interface was generated from the following file: