Package com.atlassian.confluence.util
Class MobileUtils
- java.lang.Object
-
- com.atlassian.confluence.util.MobileUtils
-
public class MobileUtils extends Object
Mobile utility class.- Since:
- 6.8.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MobileUtils.MobileOS
-
Constructor Summary
Constructors Constructor Description MobileUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MobileUtils.MobileOS
getMobileOS(javax.servlet.http.HttpServletRequest request)
Get mobile os typestatic String
getMobilePluginKey()
Get confluence mobile plugin keystatic boolean
shouldShowBanner(javax.servlet.http.HttpServletRequest request)
Checking mobile os support app banner or not
-
-
-
Method Detail
-
getMobileOS
public static MobileUtils.MobileOS getMobileOS(javax.servlet.http.HttpServletRequest request)
Get mobile os type- Parameters:
request
- http servlet request- Returns:
- mobile os type
-
shouldShowBanner
public static boolean shouldShowBanner(javax.servlet.http.HttpServletRequest request)
Checking mobile os support app banner or not- Parameters:
request
- http servlet request- Returns:
- true/false
-
getMobilePluginKey
public static String getMobilePluginKey()
Get confluence mobile plugin key- Returns:
- key
-
-