-
Notifications
You must be signed in to change notification settings - Fork 61
ImageWireframeHelper
interface ImageWireframeHelper
A Helper to handle capturing images in Session replay wireframes.
ImageWireframeHelper.Companion
abstract fun createCompoundDrawableWireframes(textView: TextView, mappingContext: MappingContext, prevWireframeIndex: Int, asyncJobStatusCallback: AsyncJobStatusCallback): MutableList<MobileSegment.Wireframe>
Creates the wireframes for the compound drawables in a TextView.
abstract fun createImageWireframe(view: View, imagePrivacy: ImagePrivacy, currentWireframeIndex: Int, x: Long, y: Long, width: Int, height: Int, usePIIPlaceholder: Boolean, drawable: Drawable, asyncJobStatusCallback: AsyncJobStatusCallback, clipping: MobileSegment.WireframeClip? = null, shapeStyle: MobileSegment.ShapeStyle? = null, border: MobileSegment.ShapeBorder? = null, prefix: String? = DRAWABLE_CHILD_NAME): MobileSegment.Wireframe?
Asks the helper to create an image wireframe, and process the provided drawable in the background.
view | the view owning the drawable |
imagePrivacy | defines which images should be hidden |
currentWireframeIndex | the index of the wireframe in the list of wireframes for the view |
x | the x position of the image |
y | the y position of the image |
width | the width of the image |
height | the width of the image |
usePIIPlaceholder | whether to replace the image content with a placeholder when we suspect it contains PII |
drawable | the drawable to capture |
asyncJobStatusCallback | the callback for the async capture process |
clipping | the bounds of the image that are actually visible |
shapeStyle | provides a custom shape (e.g. rounded corners) to the image wireframe |
border | provides a custom border to the image wireframe |
prefix | a prefix identifying the drawable in the parent view's context |
- 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