public void initDeviceScan ( ) { // Save these properties to speed processing this . isWebkit = detectWebkit ( ) ; this . isIphone = detectIphone ( ) ; this . isAndroid = detectAndroid ( ) ; this . isAndroidPhone = detectAndroidPhone ( ) ; // Generally, these tiers are the most useful for web development this . isMobilePhone = detectMobileQuick ( ) ; this . isTierTablet = detectTierTablet ( ) ; this . isTierIphone = detectTierIphone ( ) ; // Optional: Comment these out if you NEVER use them this . isTierRichCss = detectTierRichCss ( ) ; this . isTierGenericMobile = detectTierOtherPhones ( ) ; this . initCompleted = true ; }
Initialize Key Stored Values .