Class HybridOptions
- All Implemented Interfaces:
com.dynatrace.tools.android.api.HybridOptions
,Serializable
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Specifies instrumented domains used by the web part of your hybrid applicationvoid
Specifies instrumented domains used by the web part of your hybrid applicationvoid
enabled
(boolean enabled) Specifies if the hybrid feature is enabledboolean
void
fileDomainCookies
(boolean fileDomainCookies) Enables/disables file scheme cookies and automatically adds the cookies to thefile://
domain.Specifies instrumented domains used by the web part of your hybrid applicationSpecifies instrumented https domains used by the web part of your hybrid applicationint
hashCode()
void
httpsDomains
(String httpsDomain) Specifies instrumented https domains used by the web part of your hybrid applicationvoid
httpsDomains
(String... httpsDomains) Specifies instrumented https domains used by the web part of your hybrid applicationboolean
Specifies if the hybrid feature is enabledboolean
Enables/disables file scheme cookies and automatically adds the cookies to thefile://
domain.toString()
-
Constructor Details
-
HybridOptions
public HybridOptions()Creates newHybridOptions
.
-
-
Method Details
-
enabled
public void enabled(boolean enabled) Specifies if the hybrid feature is enabledThe default value is false.
- Parameters:
enabled
- true, if the hybrid feature is enabled
-
fileDomainCookies
public void fileDomainCookies(boolean fileDomainCookies) Enables/disables file scheme cookies and automatically adds the cookies to thefile://
domain.- Parameters:
fileDomainCookies
- true, if file domain cookies should be enabled- Since:
- 8.271
-
domains
Specifies instrumented domains used by the web part of your hybrid applicationFor 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.
- Parameters:
domain
- a domain that should be instrumented
-
domains
Specifies instrumented domains used by the web part of your hybrid applicationFor 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.
- Parameters:
domains
- domains that should be instrumented
-
httpsDomains
Specifies instrumented https domains used by the web part of your hybrid applicationFor 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.
- Parameters:
httpsDomain
- a domain that should be instrumented- Since:
- 8.237
-
httpsDomains
Specifies instrumented https domains used by the web part of your hybrid applicationFor 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.
- Parameters:
httpsDomains
- domains that should be instrumented- Since:
- 8.237
-
isEnabled
public boolean isEnabled()Specifies if the hybrid feature is enabledThe default value is false.
- Specified by:
isEnabled
in interfacecom.dynatrace.tools.android.api.HybridOptions
- Returns:
- true, if the hybrid feature is enabled
-
getDomains
Specifies instrumented domains used by the web part of your hybrid applicationFor 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.
- Specified by:
getDomains
in interfacecom.dynatrace.tools.android.api.HybridOptions
- Returns:
- domains that should be instrumented
-
getHttpsDomains
Specifies instrumented https domains used by the web part of your hybrid applicationFor 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.
- Specified by:
getHttpsDomains
in interfacecom.dynatrace.tools.android.api.HybridOptions
- Returns:
- https domains that should be instrumented
- Since:
- 8.237
-
isFileDomainCookies
public boolean isFileDomainCookies()Enables/disables file scheme cookies and automatically adds the cookies to thefile://
domain.- Specified by:
isFileDomainCookies
in interfacecom.dynatrace.tools.android.api.HybridOptions
- Returns:
- true, if file domain cookies should be enabled
- Since:
- 8.271
-
hashCode
public int hashCode() -
equals
-
toString
-