HybridOptions

API Documentation:HybridOptions

DSL object for configuring hybrid web view objects.

Properties

PropertyDescription
domains

Specifies instrumented domains used by the web part of your hybrid application

enabled

Specifies if the hybrid feature is enabled

fileDomainCookies

Enables/disables file scheme cookies and automatically adds the cookies to the file:// domain.

httpsDomains

Specifies instrumented https domains used by the web part of your hybrid application

Methods

MethodDescription
domains(domain)

Specifies instrumented domains used by the web part of your hybrid application

domains(domains)

Specifies instrumented domains used by the web part of your hybrid application

httpsDomains(httpsDomain)

Specifies instrumented https domains used by the web part of your hybrid application

httpsDomains(httpsDomains)

Specifies instrumented https domains used by the web part of your hybrid application

Script blocks

No script blocks

Property details

List<String> domains

Specifies instrumented domains used by the web part of your hybrid application

For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Domains or sub-domains must start with a dot.

boolean enabled

Specifies if the hybrid feature is enabled

The default value is false.

boolean fileDomainCookies

Enables/disables file scheme cookies and automatically adds the cookies to the file:// domain.

List<String> httpsDomains

Specifies instrumented https domains used by the web part of your hybrid application

For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Https Domains always need to start with https://. Domains or sub-domains must start with a dot.

Method details

void domains(String domain)

Specifies instrumented domains used by the web part of your hybrid application

For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Domains or sub-domains must start with a dot.

void domains(String... domains)

Specifies instrumented domains used by the web part of your hybrid application

For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Domains or sub-domains must start with a dot.

void httpsDomains(String httpsDomain)

Specifies instrumented https domains used by the web part of your hybrid application

For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Https Domains always need to start with https://. Domains or sub-domains must start with a dot.

void httpsDomains(String... httpsDomains)

Specifies instrumented https domains used by the web part of your hybrid application

For hybrid applications using the JavaScript library, cookies need to be set for each instrumented domain or server the application communicates with. You can specify domains, host or IP addresses. Https Domains always need to start with https://. Domains or sub-domains must start with a dot.