public class ServiceData extends PackageItemData
metaData, name
Constructor | Description |
---|---|
ServiceData(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 service.
|
List<IntentFilterData> |
getIntentFilters() |
Get the intent filters defined for the service.
|
String |
getPermission() |
|
boolean |
isEnabled() |
|
boolean |
isExported() |
Returns whether this service 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 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()