- GetUserAgent(): Not supported. Instead, we use a local variable called “uagent”.
- GetHttpAccept(): Not supported.
DETECTION METHOD RETURN VALUES
All DetectXXX() methods return the booleans TRUE or FALSE (when supported!).
DETECTION METHODS: Device Tiers
These methods group mobile phones into three broad tiers based on the capabilities of their browsers. See the regular API notes to see a list of devices falling into each tier.
- DetectTierTablet(): Well supported in this class.
- DetectTierIphone(): Well supported in this class.
- DetectTierRichCss(): Poorly supported in this class.
- DetectTierOtherPhones(): Very poorly supported in this class.
DETECTION METHODS: Classes of Devices
These methods are also poorly supported among mobile devices. Instead of these methods, we recommend using the tier detection methods above in most cases.
- DetectSmartphone(): Poorly supported even in this class.
- DetectMobileQuick(): Very poorly supported.
- DetectMobileLong(): Very poorly supported.
- DetectGameConsole(): Rolls all of the gaming consoles up into a single method. Poorly supported.
DETECTION METHODS: Platforms and OSes
Assume that all of the following methods probably won’t work. If they work, they probably work only for iPhone Tier devices. Some methods have additional notes.
- DetectIos(): A convenience method for catching any iOS device.
- DetectAndroid(): Detects any Android device: phones, multi-media players, tablets, and Google TV.
- DetectAndroidPhone(): Includes phones and multi-media players; excludes tablets. Some phones running mobile OSes with small marketshare will report as ‘like Android,’ so will test positive here.
- DetectWindowsPhone(): For Windows Phone 7, 8 and 10.
- DetectBlackBerry10Phone(): For BlackBerry phones running the new BB OS 10.
- DetectBlackBerryTablet(): For the PlayBook
- DetectBlackBerryTouch(): Probably won’t work for devices in this group.
- DetectBlackBerryHigh(): Probably won’t work for devices in this group.
- DetectBlackBerryLow(): Probably won’t work for devices in this group.
- DetectS60OssBrowser(): This is the WebKit-based browser rather than the older proprietary browser Nokia used.
- DetectSymbianOS(): Probably won’t work for most Symbian devices. Might work for the newest S60-based devices.
- DetectPalmOS(): Probably won’t work for this platform.
- DetectWebOSTV(): Primarily from LG, but also Panasonic.
- DetectAmazonSilk(): Detects the Android-based Amazon Kindle Fire when the Silk acceleration mode is on.
- DetectTizenTV(): Primarily from Samsung.
- DetectFirefoxOS(): Detects a mobile device (probably) running the Firefox OS. (Firefox don’t differentiate between Firefox OS and their browser running on other mobile platforms.)
- DetectUbuntu(): Detects either phones or tablets running Ubuntu Mobile OS.
- DetectSonyMylo(): An old Sony home Internet tablet.
- DetectMaemoTablet(): An old Nokia home Internet tablet (pre-Meego).
- DetectArchos(): For Archos’ older non-Android-based video and music players.
- DetectGameConsole(): A single method to detect all supported game consoles.
- DetectGamingHandheld(): Includes the Playstation Vita.
- DetectBrewDevice(): Probably won’t work for devices in this group.
- DetectWapWml(): Not supported.
- DetectMidpCapable(): Not supported.