public interface OsDetection
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAndroid()
Are we running on an Android device
|
boolean |
isAndroidPhone()
Are we running on an android phone.
|
boolean |
isAndroidTablet()
Are we running on an android tablet
|
boolean |
isBlackBerry()
Are we running on a blackberry device.
|
boolean |
isDesktop()
Are we running in a desktop browser (chrome, safari or similiar)
|
boolean |
isIOs()
Are we running on an ios device
|
boolean |
isIOS5()
Returns true if Ios5 is detected.
|
boolean |
isIOS6()
Returns true if Ios6 is detected.
|
boolean |
isIOS7()
Returns true if Ios7 is detected.
|
boolean |
isIPad()
Are we running on an ipad
|
boolean |
isIPhone()
Are we running on an iphone or ipod touch
|
boolean |
isPhone()
Are we running on a phone.
|
boolean |
isRetina()
Are we running on the iphone retina display
|
boolean |
isTablet()
Are we running on a tablet device
|
boolean |
isWebkit()
Are we running on a webkit device/browser.
|
boolean isAndroid()
boolean isIOS5()
boolean isIOS6()
boolean isIOS7()
boolean isIPhone()
boolean isIPad()
boolean isIOs()
boolean isRetina()
boolean isDesktop()
boolean isTablet()
boolean isAndroidTablet()
boolean isAndroidPhone()
boolean isPhone()
boolean isBlackBerry()
boolean isWebkit()
Copyright © 2011–2015 SWM. All rights reserved.