Creates a new OpenKitBuilder
The url to the beacon endpoint
The id of the custom application
The id of the current device, which must be a decimal number in the range of Number.MIN_SAFE_INTEGER to Number.MAX_SAFE_INTEGER. If the number is outside of this range, not decimal or invalid it will be hashed.
Defines the version of the application.
The current OpenKitBuilder
The application version
Sets the communication channel. If the object is null or undefined, it is ignored.
Sets the flag if crash reporting is enabled
Off (0) - No crashes are reported OptOutCrashes = (1) - No crashes are reported OptInCrashes = (2) - Crashes are reported
If an invalid value is passed, it is ignored.
Sets the data collection level.
Depending on the chosen level the amount and granularity of data sent is controlled. Off (0) - no data collected Performance (1) - only performance related data is collected UserBehavior (2) - all available RUM data including performance related data is collected..
If an invalid value is passed, it is ignored.
Default value is UserBehavior (2)
The current OpenKitBuilder
The data collection level
Sets the default log level if the default logger factory is used.
The loglevel for the default logger factory.
Sets the logger factory. If the argument is null or undefined, it is ignored.
Sets the manufacturer of the device. If the argument is not a string or empty string, it is ignored.
The manufacturer of the device
Sets the modelId of the device. If the argument is not a string or empty string, it is ignored.
The model id of the device
Sets the operating system information. Defaults to 'OpenKit'.
The current OpenKitBuilder
The operating system
Sets the random number provider. If the object is null or undefined, it is ignored.
The random number provider.
Sets the screen orientation. Allowed values are Orientation.Portrait ('p') and Orientation.Landscape ('l'). All other values are ignored.
The orientation. 'p' || 'l'.
Sets the screen resolution. If the width or height are not positive finite numbers, both are ignored.
The width of the screen
The height of the screen
Sets the user language. If the language is not a string or empty string, it is ignored. Currently, there are no restrictions on RFC/ISO codes.
The user language
Generated using TypeDoc
Builder for an OpenKit instance.