public class BroadcastReceiverData extends PackageItemData
metaData, name
Constructor and Description |
---|
BroadcastReceiverData(Map<String,String> attributes,
MetaData metaData,
List<IntentFilterData> intentFilters) |
BroadcastReceiverData(String className,
MetaData metaData) |
Modifier and Type | Method and Description |
---|---|
void |
addAction(String action) |
List<String> |
getActions() |
Map<String,String> |
getAllAttributes()
Get the map for all attributes defined for the broadcast receiver.
|
List<IntentFilterData> |
getIntentFilters()
Get the intent filters defined for the broadcast receiver.
|
String |
getPermission() |
boolean |
isEnabled() |
boolean |
isExported()
Returns whether this broadcast receiver is exported by checking the XML attribute.
|
void |
setPermission(String permission) |
getClassName, getMetaData, getName
public BroadcastReceiverData(Map<String,String> attributes, MetaData metaData, List<IntentFilterData> intentFilters)
public void addAction(String action)
public void setPermission(String permission)
public String getPermission()
public List<IntentFilterData> getIntentFilters()
Get the intent filters defined for the broadcast receiver.
public Map<String,String> getAllAttributes()
Get the map for all attributes defined for the broadcast receiver.
public boolean isExported()
Returns whether this broadcast receiver is exported by checking the XML attribute.
public boolean isEnabled()