|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Device
The Interface Device.
| Method Summary | |
|---|---|
String |
get(String property)
Get an arbitrary property of the device as stored in the device repository. |
int |
getDisplayHeight()
Get the height of the screen in pixels. |
int |
getDisplayWidth()
Get the width of the screen in pixels. |
int |
getHeight()
Deprecated. Replaced by getDisplayHeight() |
String |
getModel()
Get model of the device. |
String |
getName()
Get the name of the device as stored in the device repository. |
String |
getOs()
|
String |
getStylesheetSupport()
Get the style sheet support level. |
String |
getUserAgent()
Get a user-agent string for this device. |
String |
getVendor()
Get the vendor of the device. |
String |
getVendorModel()
Get the vendor and model of device as a single value. |
int |
getWidth()
Deprecated. Replaced by getDisplayWidth() |
boolean |
isRepository(String repository)
Checks if this device has access to the specified repository |
| Methods inherited from interface com.bemoko.live.platform.context.LiveContext |
|---|
getAsInt |
| Method Detail |
|---|
String getName()
getName in interface LiveContextString get(String property)
get in interface LiveContextproperty - name of the device property to retrieve the value of
String getUserAgent()
int getDisplayWidth()
@Deprecated int getWidth()
getDisplayWidth()
int getDisplayHeight()
@Deprecated int getHeight()
getDisplayHeight()
String getVendor()
String getModel()
String getOs()
String getVendorModel()
getVendor()-getModel()
String getStylesheetSupport()
boolean isRepository(String repository)
repository - the repository
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||