Capture Feature Flags
The optional SbCaptureConfiguration.captureFeatures object contains all the feature flags for the capture flow’s behaviour.
Full documentation on every feature flag is available in the main SDK documentation here .
Most features are available and are configured identically on both platforms, with the exception of:
- Camera flash behaviour differs by platform: “torch” on iOS, “flash” on Android
- Blur detection is only available on iOS
- Screenshot prevention is only available on Android
The above differences are reflected in the corresponding properties of the of the SbCaptureFeatureFlags
interface:
iOS-specific feature flags use SbIosCaptureFeatureFlags interface , and are available via an optional
iosFlags
property.Android-specific feature flags use SbAndroidCaptureFeatureFlags interface , and are available via an optional
androidFlags
property.