Package com.microblink.blinkid.view

# 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 Summary

  Constructors
  Modifier
  Constructor
  Description
  `protected`
  `BaseOrientationChangeListener()`

- ## Method Summary

  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 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.