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