Package org.opencms.jsp.util
Interface I_CmsJspDeviceSelector
- All Known Implementing Classes:
- CmsJspDeviceSelector,- CmsJspDeviceSelectorDesktopMobileTablet,- CmsJspDeviceSelectorTablet
public interface I_CmsJspDeviceSelector
This interface supports the basic functionality for the device detection.
- Since:
- 8.0.0
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringRequest parameter to force device selection.
- 
Method SummaryModifier and TypeMethodDescriptiongetDeviceType(javax.servlet.http.HttpServletRequest req) Returns the name of the device type.Returns an array of device types that can be detected.
- 
Field Details- 
REQUEST_ATTRIBUTE_DEVICERequest parameter to force device selection.- See Also:
 
 
- 
- 
Method Details- 
getDeviceTypeReturns the name of the device type.This will be one option in getDeviceTypes().- Parameters:
- req- the HTTP servlet request to process
- Returns:
- the name of the device type
 
- 
getDeviceTypesReturns an array of device types that can be detected.- Returns:
- an array of device types that can be detected
 
 
-