Frame Data Settings Builder
Defined under the namespace Scandit.Datacapture.Core
- FrameDataSettingsBuilder
class FrameDataSettingsBuilderAdded in version 7.5.0
Builder pattern implementation for creating and configuring FrameDataSettings instances. Provides a fluent interface for setting frame data handling options such as image quality, file system caching, and automatic rotation.
- constructor(settings)
constructor(settings: FrameDataSettings)
Added in version 7.5.0
Creates a new builder instance with the provided FrameDataSettings object.
- enableFileSystemCache(enabled)
enableFileSystemCache(enabled: boolean): FrameDataSettingsBuilder
Added in version 7.5.0
Enables or disables the file system cache for frames. When enabled, processed frames are cached to the file system for improved performance on subsequent access.
- setImageQuality(quality)
setImageQuality(quality: number): FrameDataSettingsBuilder
Added in version 7.5.0
Sets the quality of the saved frame images. Higher values produce better quality images but larger file sizes. Valid range is 0-100.
0: Lowest quality, smallest file size
100: Highest quality, largest file size
- enableAutoRotate(enabled)
enableAutoRotate(enabled: boolean): FrameDataSettingsBuilder
Added in version 7.5.0
Enables or disables automatic rotation of frames based on orientation. When enabled, frames are automatically rotated to match the device’s current orientation.