beforeCaptureViewHierarchy property

  1. @experimental
BeforeCaptureCallback? beforeCaptureViewHierarchy
getter/setter pair

Sets a callback which is executed before capturing view hierarchy. Only relevant if attachViewHierarchy is set to true. When false is returned from the function, no view hierarchy will be attached.

Implementation

@meta.experimental
BeforeCaptureCallback? beforeCaptureViewHierarchy;