Class CameraViewGroup.CameraViewGroupOrientationChangeListener

    • Constructor Detail

      • CameraViewGroupOrientationChangeListener

        protected CameraViewGroupOrientationChangeListener()
    • Method Detail

      • onOrientationChange

        @CallSuper
        public void onOrientationChange​(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
        Overrides:
        onOrientationChange in class BaseCameraView.BaseOrientationChangeListener
        Parameters:
        orientation - New orientation of the device.