BrowserInfo class abstract

BrowserInfo

Properties:

  • acceptHeader - The accept header value of the shopper's browser.
  • colorDepth - The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's screen.colorDepth property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth.
  • javaEnabled - Boolean value indicating if the shopper's browser is able to execute Java.
  • javaScriptEnabled - Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present.
  • language - The navigator.language value of the shopper's browser (as defined in IETF BCP 47).
  • screenHeight - The total height of the shopper's device screen in pixels.
  • screenWidth - The total width of the shopper's device screen in pixels.
  • timeZoneOffset - Time difference between UTC time and the shopper's browser local time, in minutes.
  • userAgent - The user agent value of the shopper's browser.
Annotations
  • @BuiltValue.new()

Constructors

BrowserInfo([void updates(BrowserInfoBuilder b)])
factory

Properties

acceptHeader String
The accept header value of the shopper's browser.
no setter
colorDepth int
The color depth of the shopper's browser in bits per pixel. This should be obtained by using the browser's screen.colorDepth property. Accepted values: 1, 4, 8, 15, 16, 24, 30, 32 or 48 bit color depth.
no setter
hashCode int
The hash code for this object.
no setterinherited
javaEnabled bool
Boolean value indicating if the shopper's browser is able to execute Java.
no setter
javaScriptEnabled bool?
Boolean value indicating if the shopper's browser is able to execute JavaScript. A default 'true' value is assumed if the field is not present.
no setter
language String
The navigator.language value of the shopper's browser (as defined in IETF BCP 47).
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenHeight int
The total height of the shopper's device screen in pixels.
no setter
screenWidth int
The total width of the shopper's device screen in pixels.
no setter
timeZoneOffset int
Time difference between UTC time and the shopper's browser local time, in minutes.
no setter
userAgent String
The user agent value of the shopper's browser.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(BrowserInfoBuilder)) BrowserInfo
Rebuilds the instance.
inherited
toBuilder() BrowserInfoBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

serializer → Serializer<BrowserInfo>
no setter