|
spring-mobile-device | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Device
A model for the user agent or device that submitted the current request. Callers may introspect this model to vary UI control or rendering logic by device type.
| Method Summary | |
|---|---|
boolean |
isMobile()
True if this device is a mobile device such as an Apple iPhone or an Nexus One Android. |
boolean |
isNormal()
True if this device is not a mobile or tablet device. |
boolean |
isTablet()
True if this device is a tablet device such as an Apple iPad or a Motorola Xoom. |
| Method Detail |
|---|
boolean isNormal()
boolean isMobile()
boolean isTablet()
|
spring-mobile-device | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||