Interface OrientationAllowedListener
-
public interface OrientationAllowedListenerCreated by dodo on 07/10/14.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisOrientationAllowed(Orientation orientation)Called in onOrientationChange.
-
-
-
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
-
-