public final class SentryAndroidOptions
extends io.sentry.core.SentryOptions
Constructor and Description |
---|
SentryAndroidOptions() |
Modifier and Type | Method and Description |
---|---|
long |
getAnrTimeoutIntervalMills()
Returns the ANR timeout internal in Mills Default is 4000 = 4s
|
boolean |
isAnrEnabled()
Checks if ANR (Application Not Responding) is enabled or disabled Default is enabled
|
boolean |
isAnrReportInDebug()
Checks if ANR (Application Not Responding) is enabled or disabled on Debug mode Default is
disabled
|
void |
setAnrEnabled(boolean anrEnabled)
Sets ANR (Application Not Responding) to enabled or disabled Default is enabled
|
void |
setAnrReportInDebug(boolean anrReportInDebug)
Sets ANR (Application Not Responding) to enabled or disabled on Debug mode Default is disabled
|
void |
setAnrTimeoutIntervalMills(long anrTimeoutIntervalMills)
Sets the ANR timeout internal in Mills Default is 4000 = 4s
|
addEventProcessor, addInAppExclude, addInAppInclude, addIntegration, getBeforeBreadcrumb, getBeforeSend, getCacheDirPath, getCacheDirSize, getDiagnosticLevel, getDist, getDsn, getEnvironment, getEventProcessors, getInAppExcludes, getInAppIncludes, getIntegrations, getLogger, getMaxBreadcrumbs, getOutboxPath, getProxy, getRelease, getSampleRate, getSentryClientName, getSerializer, getServerName, getShutdownTimeout, getTransport, getTransportGate, isAttachStacktrace, isAttachThreads, isDebug, isEnableNdk, setAttachStacktrace, setAttachThreads, setBeforeBreadcrumb, setBeforeSend, setCacheDirPath, setCacheDirSize, setDebug, setDiagnosticLevel, setDist, setDsn, setEnableNdk, setEnvironment, setLogger, setMaxBreadcrumbs, setProxy, setRelease, setSampleRate, setSentryClientName, setSerializer, setServerName, setShutdownTimeout, setTransport, setTransportGate
public boolean isAnrEnabled()
public void setAnrEnabled(boolean anrEnabled)
anrEnabled
- true for enabled and false for disabledpublic long getAnrTimeoutIntervalMills()
public void setAnrTimeoutIntervalMills(long anrTimeoutIntervalMills)
anrTimeoutIntervalMills
- the timeout internal in Millspublic boolean isAnrReportInDebug()
public void setAnrReportInDebug(boolean anrReportInDebug)
anrReportInDebug
- true for enabled and false for disabled