Package org.robolectric.manifest
Class BroadcastReceiverData
java.lang.Object
org.robolectric.manifest.PackageItemData
org.robolectric.manifest.BroadcastReceiverData
- 
Field SummaryFields inherited from class org.robolectric.manifest.PackageItemDatametaData, name
- 
Constructor SummaryConstructorsConstructorDescriptionBroadcastReceiverData(String className, MetaData metaData) BroadcastReceiverData(Map<String, String> attributes, MetaData metaData, List<IntentFilterData> intentFilters) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidGet the map for all attributes defined for the broadcast receiver.Get the intent filters defined for the broadcast receiver.booleanbooleanReturns whether this broadcast receiver is exported by checking the XML attribute.voidsetPermission(String permission) Methods inherited from class org.robolectric.manifest.PackageItemDatagetClassName, getMetaData, getName
- 
Constructor Details- 
BroadcastReceiverData
- 
BroadcastReceiverData
 
- 
- 
Method Details- 
getActions
- 
addAction
- 
setPermission
- 
getPermission
- 
getIntentFiltersGet the intent filters defined for the broadcast receiver.- Returns:
- A list of intent filters.
 
- 
getAllAttributesGet the map for all attributes defined for the broadcast receiver.- Returns:
- map of attributes names to values from the manifest.
 
- 
isExportedpublic boolean isExported()Returns whether this broadcast receiver is exported by checking the XML attribute.- Returns:
- true if the broadcast receiver is exported
 
- 
isEnabledpublic boolean isEnabled()
 
-