public interface MobileResource extends LabeledResource, Adaptable
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAppType(java.lang.String type)
Add the specified type id to this mobile resource.
|
java.util.Set<java.lang.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(java.lang.String... types)
Returns whether this mobile resource is of a specified app type.
|
getDescription, getName, getPath, getTitleValueMap getProperties()
ValueMap.boolean isA(java.lang.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.java.util.Set<java.lang.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(java.lang.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 - 2018 Adobe Systems Incorporated. All Rights Reserved"