-
Notifications
You must be signed in to change notification settings - Fork 60
BaseAsyncBackgroundWireframeMapper
Xavier F. Gouchet edited this page Sep 4, 2024
·
1 revision
abstract class BaseAsyncBackgroundWireframeMapper<in T : View> : BaseWireframeMapper<T>
A basic abstract WireframeMapper that provides some helpful utilities to resolve the background drawable of the View on a background thread, allowing tracking actual images.
T | the type of the View to map |
viewIdentifierResolver | the ViewIdentifierResolver (to resolve a view or children stable id) |
colorStringFormatter | the ColorStringFormatter to transform Color into HTML hex strings |
viewBoundsResolver | the ViewBoundsResolver to get a view boundaries in density independent units |
drawableToColorMapper | the DrawableToColorMapper to convert a background drawable into a solid color |
BaseViewGroupMapper |
TextViewMapper |
BaseAsyncBackgroundWireframeMapper.Companion
open override fun map(view: T, mappingContext: MappingContext, asyncJobStatusCallback: AsyncJobStatusCallback, internalLogger: InternalLogger): List<MobileSegment.Wireframe>
Maps a View to a List in order to be rendered in the Session Replay player.
view | as the View instance that will be mapped |
mappingContext | in which we provide useful information regarding the current |
asyncJobStatusCallback | a callback that can be called when the mapper starts or finishes processing an async job. By calling this whenever a job started (in the caller thread) and finished (in the background thread) will make sure that the List<Wireframe> will not be consumed until all the wireframes are updated by the async jobs. It can be used to offload heavy work from the calling thread (main) to a background thread while mapping some view properties. |
internalLogger | the logger to log internal warnings |
MobileSegment.Wireframe |
SystemInformation |
- Datadog
- DatadogSite
- _InternalProxy
- InternalLogger
- SdkCore
- DatadogContext
- DeviceInfo
- DeviceType
- NetworkInfo
- ProcessInfo
- TimeInfo
- UserInfo
- Feature
- FeatureContextUpdateReceiver
- FeatureEventReceiver
- FeatureScope
- FeatureSdkCore
- StorageBackedFeature
- Request
- RequestFactory
- DataWriter
- EventBatchWriter
- EventType
- FeatureStorageConfiguration
- RawBatchEvent
- DataStoreHandler
- DataStoreReadCallback
- DataStoreWriteCallback
- InternalSdkCore
- SdkReference
- BackPressureMitigation
- BackPressureStrategy
- BatchProcessingLevel
- BatchSize
- Configuration
- HostsSanitizer
- UploadFrequency
- UploadSchedulerStrategy
- DataConstraints
- DatadogDataConstraints
- ThreadDump
- DefaultFirstPartyHostHeaderTypeResolver
- FirstPartyHostHeaderTypeResolver
- Deserializer
- BuildSdkVersionProvider
- JsonSerializer
- MethodCallSamplingRate
- PerformanceMetric
- TelemetryMetricType
- PersistenceStrategy
- Serializer
- DataStoreContent
- RateBasedSampler
- Sampler
- FlushableExecutorService
- EventMapper
- MapperSerializer
- NoOpEventMapper
- LogAttributes
- TrackingConsent
- TrackingConsentProviderCallback
- Encryption
- TracingHeaderType
- DdRumContentProvider
- GlobalRumMonitor
- Rum
- RumActionType
- RumAttributes
- RumConfiguration
- RumErrorSource
- RumMonitor
- RumPerformanceMetric
- RumResourceAttributesProvider
- RumResourceKind
- RumResourceMethod
- RumSessionListener
- _RumInternalProxy
- VitalsUpdateFrequency
- ViewEventMapper
- ResourceTiming
- AdvancedNetworkRumMonitor
- ResourceId
- RumResourceInputStream
- AcceptAllActivities
- AcceptAllDefaultFragment
- AcceptAllNavDestinations
- AcceptAllSupportFragments
- ActivityLifecycleTrackingStrategy
- ActivityViewTrackingStrategy
- ComponentPredicate
- FragmentViewTrackingStrategy
- InteractionPredicate
- MixedViewTrackingStrategy
- NavigationViewTrackingStrategy
- TrackingStrategy
- ViewAttributesProvider
- ViewTrackingStrategy
- DatadogDatabaseErrorHandler
- ActionEvent
- ErrorEvent
- LongTaskEvent
- ResourceEvent
- ViewEvent
- TelemetryConfigurationEvent
- TelemetryDebugEvent
- TelemetryErrorEvent
- ExtensionSupport
- ImagePrivacy
- MapperTypeWrapper
- SessionReplay
- SessionReplayConfiguration
- SessionReplayPrivacy
- MappingContext
- OptionSelectorDetector
- SystemInformation
- BaseAsyncBackgroundWireframeMapper
- BaseViewGroupMapper
- BaseWireframeMapper
- EditTextMapper
- TextViewMapper
- TraverseAllChildrenMapper
- WireframeMapper
- AndroidMDrawableToColorMapper
- AndroidQDrawableToColorMapper
- AsyncJobStatusCallback
- ColorStringFormatter
- DefaultColorStringFormatter
- DefaultViewBoundsResolver
- DefaultViewIdentifierResolver
- DrawableToColorMapper
- GlobalBounds
- ImageWireframeHelper
- LegacyDrawableToColorMapper
- ViewBoundsResolver
- ViewIdentifierResolver
- MobileSegment
- ResourceHashesEntry
- ResourceMetadata