Class BaseCameraView.BaseOrientationChangeListener

  • All Implemented Interfaces:
    com.microblink.hardware.orientation.OrientationChangeListener
    Direct Known Subclasses:
    CameraViewGroup.CameraViewGroupOrientationChangeListener
    Enclosing class:
    BaseCameraView

    protected class BaseCameraView.BaseOrientationChangeListener
    extends java.lang.Object
    implements com.microblink.hardware.orientation.OrientationChangeListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onOrientationChange​(Orientation orientation)
      Called when device orientation changes, regardless of underlying activity's configuration settings.
      • Methods inherited from class java.lang.Object

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

      • BaseOrientationChangeListener

        protected BaseOrientationChangeListener()
    • Method Detail

      • onOrientationChange

        @CallSuper
        public void onOrientationChange​(@NonNull
                                        Orientation orientation)
        Description copied from interface: com.microblink.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.hardware.orientation.OrientationChangeListener
        Parameters:
        orientation - New orientation of the device.