Package com.microblink.blinkid.view

# Class CameraViewGroup.CameraViewGroupOrientationChangeListener

java.lang.Object
com.microblink.blinkid.view.BaseCameraView.BaseOrientationChangeListener
com.microblink.blinkid.view.CameraViewGroup.CameraViewGroupOrientationChangeListener

All Implemented Interfaces:
  `com.microblink.blinkid.hardware.orientation.OrientationChangeListener`

Enclosing class:
  CameraViewGroup

protected class CameraViewGroup.CameraViewGroupOrientationChangeListener extends BaseCameraView.BaseOrientationChangeListener

- ## Constructor Summary

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

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

  - ### CameraViewGroupOrientationChangeListener

    protected CameraViewGroupOrientationChangeListener()

- ## Method Details

  - ### onOrientationChange

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