-
- All Implemented Interfaces:
-
com.datadog.android.api.SdkCore,com.datadog.android.api.feature.FeatureSdkCore
public interface InternalSdkCore implements FeatureSdkCore
FOR INTERNAL USAGE ONLY. THIS INTERFACE CONTENT MAY CHANGE WITHOUT NOTICE.
-
-
Method Summary
Modifier and Type Method Description abstract UnitwriteLastViewEvent(ByteArray data)Writes current RUM view event to the dedicated file for the needs of NDK crash reporting. abstract ExecutorServicegetPersistenceExecutorService()Get an executor service for persistence purposes. abstract List<FeatureScope>getAllFeatures()abstract DatadogContextgetDatadogContext()abstract NetworkInfogetNetworkInfo()Returns current state of network connection. abstract TrackingConsentgetTrackingConsent()Current tracking consent. abstract FilegetRootStorageDir()Root folder for the hosting SDK instance. abstract BooleangetIsDeveloperModeEnabled()Shows if core is running in developer mode (some settings are overwritten to simplify debugging during app development). abstract FirstPartyHostHeaderTypeResolvergetFirstPartyHostResolver()Returns an instance of FirstPartyHostHeaderTypeResolver associated with the current SDK instance. abstract InternalLoggergetInternalLogger()Logger for the internal SDK purposes. abstract StringgetName()Name of the current SDK instance. abstract TimeInfogetTime()The current time (both device and server). abstract StringgetService()Name of the service (given during the SDK initialization, otherwise package name is used). -
Methods inherited from class com.datadog.android.core.InternalSdkCore
getFeature, getFeatureContext, registerFeature, removeEventReceiver, setEventReceiver, updateFeatureContext -
Methods inherited from class com.datadog.android.api.feature.FeatureSdkCore
addUserProperties, clearAllData, setTrackingConsent, setUserInfo -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
writeLastViewEvent
@WorkerThread() abstract Unit writeLastViewEvent(ByteArray data)
Writes current RUM view event to the dedicated file for the needs of NDK crash reporting.
- Parameters:
data- Serialized RUM view event.
-
getPersistenceExecutorService
@AnyThread() abstract ExecutorService getPersistenceExecutorService()
Get an executor service for persistence purposes.
-
getAllFeatures
abstract List<FeatureScope> getAllFeatures()
-
getDatadogContext
abstract DatadogContext getDatadogContext()
-
getNetworkInfo
abstract NetworkInfo getNetworkInfo()
Returns current state of network connection.
-
getTrackingConsent
abstract TrackingConsent getTrackingConsent()
Current tracking consent.
-
getRootStorageDir
abstract File getRootStorageDir()
Root folder for the hosting SDK instance.
-
getIsDeveloperModeEnabled
abstract Boolean getIsDeveloperModeEnabled()
Shows if core is running in developer mode (some settings are overwritten to simplify debugging during app development).
-
getFirstPartyHostResolver
abstract FirstPartyHostHeaderTypeResolver getFirstPartyHostResolver()
Returns an instance of FirstPartyHostHeaderTypeResolver associated with the current SDK instance.
-
getInternalLogger
abstract InternalLogger getInternalLogger()
Logger for the internal SDK purposes.
-
getService
abstract String getService()
Name of the service (given during the SDK initialization, otherwise package name is used).
-
-
-
-