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

Public Member Functions

String className () default ""
 
String actions () default ""
 

Detailed Description

Annotation to indicate that a file is a BroadcastReceiver and will need to be written to the Android Manifest in Compiler.java For each receiver android:exported will default to true if any actions are declared, false if no actions are passed. android:enabled will default to true because the same attribute in the application tag is not specified. If any other attributes are ever needed for the receiver, the annotation can be extended.

Definition at line 23 of file SimpleBroadcastReceiver.java.

Member Function Documentation

◆ actions()

String com.google.appinventor.components.annotations.SimpleBroadcastReceiver.actions ( )

The names of the actions for the receiver's intent filter, separated by commas.

◆ className()

String com.google.appinventor.components.annotations.SimpleBroadcastReceiver.className ( )

The class name of the Broadcast Receiver


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