Class BaseCameraView.BaseOrientationChangeListener

java.lang.Object
com.microblink.blinkid.view.BaseCameraView.BaseOrientationChangeListener
All Implemented Interfaces:
com.microblink.blinkid.hardware.orientation.OrientationChangeListener
Direct Known Subclasses:
CameraViewGroup.CameraViewGroupOrientationChangeListener
Enclosing class:
BaseCameraView

protected class BaseCameraView.BaseOrientationChangeListener extends Object implements com.microblink.blinkid.hardware.orientation.OrientationChangeListener
  • Constructor Details

    • BaseOrientationChangeListener

      protected BaseOrientationChangeListener()
  • Method Details

    • onOrientationChange

      @CallSuper public void onOrientationChange(@NonNull Orientation orientation)
      Description copied from interface: com.microblink.blinkid.hardware.orientation.OrientationChangeListener
      Called when device orientation changes, regardless of underlying activity's configuration settings. This event will be raised for all orientations even if underlying activity is forced to just one mode (e.g. portrait or landscape)
      Specified by:
      onOrientationChange in interface com.microblink.blinkid.hardware.orientation.OrientationChangeListener
      Parameters:
      orientation - New orientation of the device.