Class HybridOptions
- All Implemented Interfaces:
com.dynatrace.tools.android.api.HybridOptions,Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSpecifies instrumented domains used by the web part of your hybrid application.voidSpecifies instrumented domains used by the web part of your hybrid application.voidenabled(boolean enabled) Specifies if the hybrid feature is enabled.booleanvoidfileDomainCookies(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 application.Specifies instrumented https domains used by the web part of your hybrid application.inthashCode()voidhttpsDomains(String httpsDomain) Specifies instrumented https domains used by the web part of your hybrid application.voidhttpsDomains(String... httpsDomains) Specifies instrumented https domains used by the web part of your hybrid application.booleanSpecifies if the hybrid feature is enabled.booleanEnables/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 enabled.The 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 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.
- Parameters:
domain- a domain that should be instrumented
-
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.
- Parameters:
domains- domains that should be instrumented
-
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.
- Parameters:
httpsDomain- a domain that should be instrumented- Since:
- 8.237
-
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.
- Parameters:
httpsDomains- domains that should be instrumented- Since:
- 8.237
-
isEnabled
public boolean isEnabled()Specifies if the hybrid feature is enabled.The default value is false.
- Specified by:
isEnabledin 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 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.
- Specified by:
getDomainsin 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 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.
- Specified by:
getHttpsDomainsin 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:
isFileDomainCookiesin interfacecom.dynatrace.tools.android.api.HybridOptions- Returns:
- true, if file domain cookies should be enabled
- Since:
- 8.271
-
hashCode
public int hashCode() -
equals
-
toString
-