| Package | Description |
|---|---|
| com.liferay.portal.kernel.mobile.device | |
| com.liferay.portal.kernel.theme |
This package defines the portal theme classes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BaseDevice
Abstract class containing common methods for all devices
|
class |
UnknownDevice
Class represents unknown device
|
| Modifier and Type | Method and Description |
|---|---|
static Device |
DeviceDetectionUtil.detectDevice(javax.servlet.http.HttpServletRequest httpServletRequest) |
Device |
DeviceRecognitionProvider.detectDevice(javax.servlet.http.HttpServletRequest httpServletRequest) |
| Modifier and Type | Method and Description |
|---|---|
Device |
ThemeDisplay.getDevice()
Returns the information about the detected device, such as the device's
brand, browser, operating system, screen resolution, etc.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ThemeDisplay.setDevice(Device device) |