public interface MobileResource extends LabeledResource, Adaptable
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAppType(String type)
Add the specified type id to this mobile resource.
|
Set<String> |
getAppTypes()
Returns the mobile app types that have been added to this Resource.
|
MobileResourceType |
getMobileResourceType()
Deprecated.
This is deprecated because an app may have multiple types.
|
ValueMap |
getProperties()
Returns the mobile resource properties.
|
boolean |
isA(String... types)
Returns whether this mobile resource is of a specified app type.
|
getDescription, getName, getPath, getTitleValueMap getProperties()
ValueMap.boolean isA(String... types)
MobileResourceConstants
can be used.types - The list of mobile resource type ids. See com.adobe.cq.mobile.platform.impl.MobileConstants for common app types.Set<String> getAppTypes()
null will be
returned when this resource has no type.MobileResourceType getMobileResourceType()
MobileResourceType that is associated with this MobileResource.MobileResourceType, or null if the Resource does not support a MobileResourceType.MobileResourceTypeboolean addAppType(String type)
MobileResourceConstants can be used or
any custom defined type id can be added as well.type - See com.adobe.cq.mobile.platform.impl.MobileConstants for common app types."Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"