Package 

Interface CaptureView.ExtendedSettings


  • 
    public interface CaptureView.ExtendedSettings
    
                        

    Extended user interface components settings. Intended for advanced users: most common scenarios will work with the default settings.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit setAdditionalPermissions(Array<String> permissions) Sets if any permissions to be granted for the scenario performance in addition to the camera usage permission, i.e.
      abstract Unit setRequestPermissionsResultCallback(ActivityCompat.OnRequestPermissionsResultCallback callback) Sets the callback object for receiving the results for additional permission requests.
      • Methods inherited from class com.abbyy.mobile.uicomponents.CaptureView.ExtendedSettings

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setAdditionalPermissions

        @MainThread() abstract Unit setAdditionalPermissions(Array<String> permissions)

        Sets if any permissions to be granted for the scenario performance in addition to the camera usage permission, i.e. remote storage, Bluetooth or geolocation permissions.

        Parameters:
        permissions - This parameter defines the requested permissions.
      • setRequestPermissionsResultCallback

        @MainThread() abstract Unit setRequestPermissionsResultCallback(ActivityCompat.OnRequestPermissionsResultCallback callback)

        Sets the callback object for receiving the results for additional permission requests.

        Parameters:
        callback - An ActivityCompat.OnRequestPermissionsResultCallback object which receives the results for additional permission requests.