Interface OrientationAllowedListener


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

      • 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