MappingContext - DataDog/dd-sdk-android GitHub Wiki

data class MappingContext(val systemInformation: SystemInformation, val imageWireframeHelper: ImageWireframeHelper, val privacy: SessionReplayPrivacy, val imagePrivacy: ImagePrivacy, val hasOptionSelectorParent: Boolean = false)

Contains the context information which will be passed from parent to its children when traversing the tree view for masking, as well as utilities and helpers that allow generating the wireframes expected by Datadog.

Parameters

systemInformation as SystemInformation
imageWireframeHelper a helper tool to capture images within a View
privacy the masking configuration to use when building the wireframes
imagePrivacy the image recording configuration to use when building the wireframes
hasOptionSelectorParent tells if one of the parents of the current android.view.View is an option selector type (e.g. time picker, date picker, drop - down list)

Constructors

MappingContext

constructor(systemInformation: SystemInformation, imageWireframeHelper: ImageWireframeHelper, privacy: SessionReplayPrivacy, imagePrivacy: ImagePrivacy, hasOptionSelectorParent: Boolean = false)

Parameters
systemInformation as SystemInformation
imageWireframeHelper a helper tool to capture images within a View
privacy the masking configuration to use when building the wireframes
imagePrivacy the image recording configuration to use when building the wireframes
hasOptionSelectorParent tells if one of the parents of the current android.view.View is an option selector type (e.g. time picker, date picker, drop - down list)

Properties

hasOptionSelectorParent

val hasOptionSelectorParent: Boolean = false

Parameters
hasOptionSelectorParent tells if one of the parents of the current android.view.View is an option selector type (e.g. time picker, date picker, drop - down list)

imagePrivacy

val imagePrivacy: ImagePrivacy

Parameters
imagePrivacy the image recording configuration to use when building the wireframes

imageWireframeHelper

val imageWireframeHelper: ImageWireframeHelper

Parameters
imageWireframeHelper a helper tool to capture images within a View

privacy

val privacy: SessionReplayPrivacy

Parameters
privacy the masking configuration to use when building the wireframes

systemInformation

val systemInformation: SystemInformation

Parameters
systemInformation as SystemInformation