Package com.avaya.clientservices.media.capture

## Interface RotationEventListener

-     public interface RotationEventListener

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `onRotationChanged​(int rotation)` | Called when the rotation of the device has changed.

- - ### Method Detail

    - #### onRotationChanged

          void onRotationChanged​(int rotation)

      Called when the rotation of the device has changed. The listener will be updated immediately with the current device rotation, and asynchronously thereafter from a thread other than the main thread.
      Parameters:
        `rotation` - The new rotation of the device, one of the Surface.ROTATION_* constants.
      See Also:
        `Surface`