public class UAgentInfo extends Object
| Constructor and Description |
|---|
UAgentInfo(String userAgent,
String httpAccept)
Initialize the userAgent and httpAccept variables
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
detectAmazonSilk()
Detects if the current Amazon device is using the Silk Browser.
|
boolean |
detectAndroid()
Detects *any* Android OS-based device: phone, tablet, and multi-media player.
|
boolean |
detectAndroidPhone()
Detects if the current device is a (small-ish) Android OS-based device
used for calling and/or multi-media (like a Samsung Galaxy Player).
|
boolean |
detectAndroidTablet()
Detects if the current device is a (self-reported) Android tablet.
|
boolean |
detectAndroidWebKit()
Detects if the current device is an Android OS-based device and
the browser is based on WebKit.
|
boolean |
detectArchos()
Detects if the current device is an Archos media player/Internet tablet.
|
boolean |
detectBada()
Detects a device running the Bada smartphone OS from Samsung.
|
boolean |
detectBlackBerry()
Detects if the current browser is any BlackBerry.
|
boolean |
detectBlackBerry10Phone()
Detects if the current browser is a BlackBerry 10 OS phone.
|
boolean |
detectBlackBerryHigh()
Detects if the current browser is a BlackBerry device AND
has a more capable recent browser.
|
boolean |
detectBlackBerryLow()
Detects if the current browser is a BlackBerry device AND
has an older, less capable browser.
|
boolean |
detectBlackBerryTablet()
Detects if the current browser is on a BlackBerry tablet device.
|
boolean |
detectBlackBerryTouch()
Detects if the current browser is a BlackBerry Touch
device, such as the Storm, Torch, and Bold Touch.
|
boolean |
detectBlackBerryWebKit()
Detects if the current browser is a BlackBerry device AND uses a
WebKit-based browser.
|
boolean |
detectBrewDevice()
Detects whether the device is a Brew-powered device.
|
boolean |
detectDangerHiptop()
Detects the Danger Hiptop device.
|
boolean |
detectGameConsole()
Detects if the current device is an Internet-capable game console.
|
boolean |
detectGamingHandheld()
Detects if the current device is a handheld gaming device with
a touchscreen and modern iPhone-class browser.
|
boolean |
detectGarminNuvifone()
Detects if the current browser is a
Garmin Nuvifone.
|
boolean |
detectGoogleTV()
Detects if the current device is a GoogleTV.
|
boolean |
detectIos()
Detects *any* iOS device: iPhone, iPod Touch, iPad.
|
boolean |
detectIpad()
Detects if the current device is an iPad tablet.
|
boolean |
detectIphone()
Detects if the current device is an iPhone.
|
boolean |
detectIphoneOrIpod()
Detects if the current device is an iPhone or iPod Touch.
|
boolean |
detectIpod()
Detects if the current device is an iPod Touch.
|
boolean |
detectKindle()
Detects if the current device is an Amazon Kindle (eInk devices only).
|
boolean |
detectMaemoTablet()
Detects if the current device is on one of the Maemo-based Nokia Internet Tablets.
|
boolean |
detectMeego()
Detects a device running the Meego OS.
|
boolean |
detectMidpCapable()
Detects if the current device supports MIDP, a mobile Java technology.
|
boolean |
detectMobileLong()
The longer and more thorough way to detect for a mobile device.
|
boolean |
detectMobileQuick()
Detects if the current device is a mobile device.
|
boolean |
detectNintendo()
Detects if the current device is a Nintendo game device.
|
boolean |
detectOperaAndroidPhone()
Detects Opera Mobile on an Android phone.
|
boolean |
detectOperaAndroidTablet()
Detects Opera Mobile on an Android tablet.
|
boolean |
detectOperaMobile()
Detects Opera Mobile or Opera Mini.
|
boolean |
detectPalmOS()
Detects if the current browser is on a PalmOS device.
|
boolean |
detectPalmWebOS()
Detects if the current browser is on a Palm device
running the new WebOS.
|
boolean |
detectS60OssBrowser()
Detects if the current browser is the Symbian S60 Open Source Browser.
|
boolean |
detectSmartphone()
Check to see whether the device is any device
in the 'smartphone' category.
|
boolean |
detectSonyMylo()
Detects if the current browser is a Sony Mylo device.
|
boolean |
detectSonyPlaystation()
Detects if the current device is a Sony Playstation.
|
boolean |
detectSymbianOS()
Detects if the current device is any Symbian OS-based device,
including older S60, Series 70, Series 80, Series 90, and UIQ,
or other browsers running on these devices.
|
boolean |
detectTierIphone()
The quick way to detect for a tier of devices.
|
boolean |
detectTierOtherPhones()
The quick way to detect for a tier of devices.
|
boolean |
detectTierRichCss()
The quick way to detect for a tier of devices.
|
boolean |
detectTierTablet()
The quick way to detect for a tier of devices.
|
boolean |
detectTizen()
Detects a device running the Tizen smartphone OS.
|
boolean |
detectWapWml()
Detects whether the device supports WAP or WML.
|
boolean |
detectWebkit()
Detects if the current browser is based on WebKit.
|
boolean |
detectWebOSTablet()
Detects if the current browser is on an HP tablet running WebOS.
|
boolean |
detectWindowsMobile()
Detects if the current browser is a Windows Mobile device.
|
boolean |
detectWindowsPhone()
Detects if the current browser is EITHER a Windows Phone 7.x OR 8 device
|
boolean |
detectWindowsPhone7()
Detects a Windows Phone 7 device (in mobile browsing mode).
|
boolean |
detectWindowsPhone8()
Detects a Windows Phone 8 device (in mobile browsing mode).
|
boolean |
detectXbox()
Detects if the current device is a Microsoft Xbox.
|
boolean |
getIsIphone()
Return whether the device is an Iphone or iPod Touch
|
boolean |
getIsTierGenericMobile()
Return whether the device is a generic, less-capable mobile device.
|
boolean |
getIsTierIphone()
Return whether the device is in the Iphone Tier.
|
boolean |
getIsTierRichCss()
Return whether the device is in the 'Rich CSS' tier of mobile devices.
|
boolean |
getIsTierTablet()
Return whether the device is in the Tablet Tier.
|
void |
initDeviceScan()
Initialize Key Stored Values.
|
public boolean getIsIphone()
public boolean getIsTierTablet()
public boolean getIsTierIphone()
public boolean getIsTierRichCss()
public boolean getIsTierGenericMobile()
public void initDeviceScan()
public boolean detectIphone()
public boolean detectIpod()
public boolean detectIpad()
public boolean detectIphoneOrIpod()
public boolean detectIos()
public boolean detectAndroid()
public boolean detectAndroidPhone()
public boolean detectAndroidTablet()
public boolean detectAndroidWebKit()
public boolean detectGoogleTV()
public boolean detectWebkit()
public boolean detectWindowsPhone()
public boolean detectWindowsPhone7()
public boolean detectWindowsPhone8()
public boolean detectWindowsMobile()
public boolean detectBlackBerry()
public boolean detectBlackBerry10Phone()
public boolean detectBlackBerryTablet()
public boolean detectBlackBerryWebKit()
public boolean detectBlackBerryTouch()
public boolean detectBlackBerryHigh()
public boolean detectBlackBerryLow()
public boolean detectS60OssBrowser()
public boolean detectSymbianOS()
public boolean detectPalmOS()
public boolean detectPalmWebOS()
public boolean detectWebOSTablet()
public boolean detectOperaMobile()
public boolean detectOperaAndroidPhone()
public boolean detectOperaAndroidTablet()
public boolean detectKindle()
public boolean detectAmazonSilk()
public boolean detectGarminNuvifone()
public boolean detectBada()
public boolean detectTizen()
public boolean detectMeego()
public boolean detectDangerHiptop()
public boolean detectSonyMylo()
public boolean detectMaemoTablet()
public boolean detectArchos()
public boolean detectGameConsole()
public boolean detectSonyPlaystation()
public boolean detectGamingHandheld()
public boolean detectNintendo()
public boolean detectXbox()
public boolean detectBrewDevice()
public boolean detectWapWml()
public boolean detectMidpCapable()
public boolean detectSmartphone()
public boolean detectMobileQuick()
public boolean detectMobileLong()
public boolean detectTierTablet()
public boolean detectTierIphone()
public boolean detectTierRichCss()
public boolean detectTierOtherPhones()
Copyright © 2011-2014 Flying Kite Pty Ltd. All Rights Reserved.