Skip to content

Commit 503195d

Browse files
Use proper reference in method in feature description
1 parent 84320d7 commit 503195d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

fern/docs/pages/sdks/mobile/android/features.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ For example:
634634

635635
For advanced use cases, you can provide a custom masking provider to explicitly specify which regions of the UI should be masked during snapshots.
636636

637-
You can implement your own masking logic by creating a class that implements the `MaskLocationProvider` interface and setting it via `DevRev.setMaskLocationProvider(...)`. This allows you to define exact areas to mask or skip snapshots entirely for privacy and security.
637+
You can implement your own masking logic by creating a class that implements the `MaskLocationProvider` interface and setting it via `DevRev.setMaskLocationProvider(MyMaskingProvider())`. This allows you to define exact areas to mask or skip snapshots entirely for privacy and security.
638638

639639
- `DevRev.setMaskLocationProvider(maskLocationProvider: MaskLocationProvider)`
640640
Sets a custom provider that determines which UI regions should be masked during snapshots. This overrides any previously set provider.

fern/docs/pages/sdks/mobile/ios/features.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ For advanced use cases, you can provide a custom masking provider to specify exa
265265

266266
You can implement your own masking logic by conforming to the `DevRev.MaskLocationProviding` protocol and setting your custom object as the masking provider. This allows you to specify explicit regions to be masked or to skip snapshots entirely.
267267

268-
- `DevRev.setMaskingLocationProvider(_:)`: Sets the external view masking provider used to determine which areas of the UI should be masked for privacy during snapshots. The provider must conform to the `DevRev.MaskLocationProviding` protocol.
268+
- `DevRev.setMaskingLocationProvider(MyMaskingProvider())`: Sets the external view masking provider used to determine which areas of the UI should be masked for privacy during snapshots. The provider must conform to the `DevRev.MaskLocationProviding` protocol.
269269
- `DevRev.MaskLocationProviding`: Protocol for providing explicit masking locations for UI snapshots.
270270
- `DevRev.SnapshotMask`: Describes the regions of a snapshot to be masked.
271271
- `DevRev.SnapshotMask.Location`: Describes a masked region.

0 commit comments

Comments
 (0)