Interface OrientationAllowedListener


public interface OrientationAllowedListener
Created by dodo on 07/10/14.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Called in onOrientationChange.
  • Method Details

    • isOrientationAllowed

      boolean isOrientationAllowed(@NonNull Orientation orientation)
      Called in onOrientationChange. Use it to determine if given orientation is allowed.
      Parameters:
      orientation - Orientation of the device.
      Returns:
      true if orientation is allowed, otherwise false