Interface DeviceCapability
- All Known Implementing Classes:
CSS,DeviceRotation,Images,JavaScript
public interface DeviceCapability
The
DeviceCapability interface specifies the capability of a mobile device as used by the DeviceGroup.- Since:
- CQ 5.4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DeviceCapabilityDeprecated.static final DeviceCapabilityDeprecated.will be removed and privatized, as capabilities are now available viaDeviceMapper.getCapabilities()static final DeviceCapabilityDeprecated.will be removed and privatized, as capabilities are now available viaDeviceMapper.getCapabilities()static final DeviceCapabilityDeprecated.will be removed and privatized, as capabilities are now available viaDeviceMapper.getCapabilities() -
Method Summary
Modifier and TypeMethodDescriptionReturns a description of this device capability.String[]getKeys()Returns an array of WURFL database value keys that this capability is based on.getName()Return the name of this device capability.getTitle()Returns a human readable title of this device capability.
-
Field Details
-
CAPABILITY_DEVICEROTATION
Deprecated.will be removed and privatized, as capabilities are now available viaDeviceMapper.getCapabilities() -
CAPABILITY_CSS
Deprecated.will be removed and privatized, as capabilities are now available viaDeviceMapper.getCapabilities() -
CAPABILITY_IMAGES
Deprecated.will be removed and privatized, as capabilities are now available viaDeviceMapper.getCapabilities() -
CAPABILITY_JAVASCRIPT
Deprecated.will be removed and privatized, as capabilities are now available viaDeviceMapper.getCapabilities()
-
-
Method Details
-
getName
String getName()Return the name of this device capability.- Returns:
- A
Stringrepresenting the name of this device capability.
-
getTitle
String getTitle()Returns a human readable title of this device capability.- Returns:
- A
Stringrepresenting the title of this device capability.
-
getDescription
String getDescription()Returns a description of this device capability.- Returns:
- A
Stringrepresenting the description.
-
getKeys
String[] getKeys()Returns an array of WURFL database value keys that this capability is based on.- Returns:
- A
Stringarray representing the keys.
-
DeviceMapper.getCapabilities()