public class Device extends Object implements IDevice
Modifier and Type | Field and Description |
---|---|
static String |
DEVICE_ENTRY_KEY |
static String |
DEVICE_TYPE |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getCapabilities()
Returns the device's capability map.
|
String |
getCapability(String capability)
Returns string representing the device's capability
|
Object |
getProperty(String key)
Returns a specific property of the context.
|
String |
getUserAgent()
Returns string representing the device's user agent
|
public static final String DEVICE_ENTRY_KEY
public static final String DEVICE_TYPE
public String getUserAgent()
getUserAgent
in interface IDevice
Exception
public String getCapability(String capability)
getCapability
in interface IDevice
capability
- to be looked uppublic Map<String,String> getCapabilities()
getCapabilities
in interface IDevice
public Object getProperty(String key)
getProperty
in interface IPortalRequestContextEntry
key
- the name of the context's property.Lumisportal 10.1.2.170428 - Copyright © 2006–2017 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.