Package 

Interface DataCaptureScenario.DataCaptureSettings

    • Method Detail

      • setProfile

        @MainThread() abstract Unit setProfile(String name)

        Set the data capture profile.

        Parameters:
        name - profile name
      • getCaptureSceneType

        @MainThread() abstract TextCapture.CaptureSceneType getCaptureSceneType()

        Get the scene type for capture.

      • setCaptureSceneType

        @MainThread() abstract Unit setCaptureSceneType(TextCapture.CaptureSceneType captureSceneType)

        Set the scene type for optimized capture performance.

        Parameters:
        captureSceneType - the type of scene being captured
      • setRecognitionLanguages

        @MainThread() abstract Unit setRecognitionLanguages(Language languages)

        Set the languages for recognition.

        Parameters:
        languages - recognition languages
      • getRecognitionLanguages

        @MainThread() abstract Array<Language> getRecognitionLanguages()

        Get the languages currently configured for recognition.

      • setSelectableRecognitionLanguages

        @MainThread() abstract Unit setSelectableRecognitionLanguages(Language languages)

        Set the recognition languages for the user to choose from.

        Parameters:
        languages - languages to select from
      • setNamedProperty

        @MainThread() abstract Unit setNamedProperty(String name, Object value)

        Set the named extended property for data capture.

        Parameters:
        name - the name of the property
        value - the value of the property
      • checkAndApply

        @MainThread() abstract Unit checkAndApply()

        Apply the configured settings. If the settings cannot be applied, an exception will be thrown.