-
public final class MappingContextContains 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.
-
-
Field Summary
Fields Modifier and Type Field Description private final SystemInformationsystemInformationprivate final ImageWireframeHelperimageWireframeHelperprivate final TextAndInputPrivacytextAndInputPrivacyprivate final ImagePrivacyimagePrivacyprivate final TouchPrivacyManagertouchPrivacyManagerprivate final BooleanhasOptionSelectorParentprivate final InteropViewCallbackinteropViewCallback
-
Constructor Summary
Constructors Constructor Description MappingContext(SystemInformation systemInformation, ImageWireframeHelper imageWireframeHelper, TextAndInputPrivacy textAndInputPrivacy, ImagePrivacy imagePrivacy, TouchPrivacyManager touchPrivacyManager, Boolean hasOptionSelectorParent, InteropViewCallback interopViewCallback)
-
Method Summary
Modifier and Type Method Description final SystemInformationgetSystemInformation()final ImageWireframeHelpergetImageWireframeHelper()final TextAndInputPrivacygetTextAndInputPrivacy()final ImagePrivacygetImagePrivacy()final TouchPrivacyManagergetTouchPrivacyManager()final BooleangetHasOptionSelectorParent()final InteropViewCallbackgetInteropViewCallback()-
-
Constructor Detail
-
MappingContext
MappingContext(SystemInformation systemInformation, ImageWireframeHelper imageWireframeHelper, TextAndInputPrivacy textAndInputPrivacy, ImagePrivacy imagePrivacy, TouchPrivacyManager touchPrivacyManager, Boolean hasOptionSelectorParent, InteropViewCallback interopViewCallback)
- Parameters:
systemInformation- as SystemInformationimageWireframeHelper- a helper tool to capture images within a ViewtextAndInputPrivacy- the text and input privacy level to use when building the wireframesimagePrivacy- the image recording configuration to use when building the wireframestouchPrivacyManager- the manager to handle touch privacy area.hasOptionSelectorParent- tells if one of the parents of the current android.view.View is an option selector type (e.g.interopViewCallback- the callback for Jetpack Compose semantics tree to call when there is an interop view to map.
-
-
Method Detail
-
getSystemInformation
final SystemInformation getSystemInformation()
-
getImageWireframeHelper
final ImageWireframeHelper getImageWireframeHelper()
-
getTextAndInputPrivacy
final TextAndInputPrivacy getTextAndInputPrivacy()
-
getImagePrivacy
final ImagePrivacy getImagePrivacy()
-
getTouchPrivacyManager
final TouchPrivacyManager getTouchPrivacyManager()
-
getHasOptionSelectorParent
final Boolean getHasOptionSelectorParent()
-
getInteropViewCallback
final InteropViewCallback getInteropViewCallback()
-
-
-
-