public class BroadcastReceiverData extends PackageItemData
metaData, name
Constructor | Description |
---|---|
BroadcastReceiverData(String className,
MetaData metaData) |
|
BroadcastReceiverData(Map<String,String> attributes,
MetaData metaData,
List<IntentFilterData> intentFilters) |
Modifier and Type | Method | 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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()
public Map<String,String> getAllAttributes()
public boolean isExported()
public boolean isEnabled()