public interface

EnumBrowserType

com.microstrategy.web.objects.EnumBrowserType
Known Indirect Subclasses

Class Overview

Enumeration of supported browser types We use integer number to represents the browser type.
The first 16 bits are used for the browser name. For example:

  • BROWSER_TYPE_IE is 0x100
  • BROWSER_TYPE_FIREFOX is 0x400
  • BROWSER_TYPE_SAFARI is 0x800
  • BROWSER_TYPE_CHROME is 0x1000
Use (browserType & EnumBrowserType.BROWSER_TYPE_IE) == EnumBrowserType.BROWSER_TYPE_IE to decide whether the browser matches the expected one The last 16 bits are used for version number and subbersion number.

Summary

Constants
int BROWSER_TYPE_ANDROID
int BROWSER_TYPE_CHROME
int BROWSER_TYPE_EDGE
int BROWSER_TYPE_FIREFOX
int BROWSER_TYPE_FIREFOX_2
int BROWSER_TYPE_FIREFOX_3
int BROWSER_TYPE_FIREFOX_3_5
int BROWSER_TYPE_IE Constant that represents the Internet Explorer family browsers
int BROWSER_TYPE_IE10
int BROWSER_TYPE_IE11
int BROWSER_TYPE_IE6
int BROWSER_TYPE_IE7
int BROWSER_TYPE_IE8
int BROWSER_TYPE_IE9
int BROWSER_TYPE_IE_W3C
int BROWSER_TYPE_NETSCAPE Constant that represents the Netscape family browsers
int BROWSER_TYPE_OTHER Constant that represents browsers that do not belong to the Netscape or IE family
int BROWSER_TYPE_SAFARI
int BROWSER_TYPE_SAFARI_3
int BROWSER_TYPE_SAFARI_3_1
int BROWSER_TYPE_SAFARI_4
int BROWSER_TYPE_UNKNOWN browser type unknown

Constants

public static final int BROWSER_TYPE_ANDROID

Constant Value: 8192 (0x00002000)

public static final int BROWSER_TYPE_CHROME

Constant Value: 4096 (0x00001000)

public static final int BROWSER_TYPE_EDGE

Constant Value: 12288 (0x00003000)

public static final int BROWSER_TYPE_FIREFOX

Constant Value: 1024 (0x00000400)

public static final int BROWSER_TYPE_FIREFOX_2

Constant Value: 1056 (0x00000420)

public static final int BROWSER_TYPE_FIREFOX_3

Constant Value: 1072 (0x00000430)

public static final int BROWSER_TYPE_FIREFOX_3_5

Constant Value: 1077 (0x00000435)

public static final int BROWSER_TYPE_IE

Constant that represents the Internet Explorer family browsers

Constant Value: 256 (0x00000100)

public static final int BROWSER_TYPE_IE10

Constant Value: 416 (0x000001a0)

public static final int BROWSER_TYPE_IE11

Constant Value: 432 (0x000001b0)

public static final int BROWSER_TYPE_IE6

Constant Value: 352 (0x00000160)

public static final int BROWSER_TYPE_IE7

Constant Value: 368 (0x00000170)

public static final int BROWSER_TYPE_IE8

Constant Value: 384 (0x00000180)

public static final int BROWSER_TYPE_IE9

Constant Value: 400 (0x00000190)

public static final int BROWSER_TYPE_IE_W3C

Constant Value: 16 (0x00000010)

public static final int BROWSER_TYPE_NETSCAPE

Constant that represents the Netscape family browsers

Constant Value: 0 (0x00000000)

public static final int BROWSER_TYPE_OTHER

Constant that represents browsers that do not belong to the Netscape or IE family

Constant Value: 512 (0x00000200)

public static final int BROWSER_TYPE_SAFARI

Constant Value: 2048 (0x00000800)

public static final int BROWSER_TYPE_SAFARI_3

Constant Value: 2097 (0x00000831)

public static final int BROWSER_TYPE_SAFARI_3_1

Constant Value: 2097 (0x00000831)

public static final int BROWSER_TYPE_SAFARI_4

Constant Value: 2112 (0x00000840)

public static final int BROWSER_TYPE_UNKNOWN

browser type unknown

Constant Value: -1 (0xffffffff)