OrientationHelper extension

on
  • NativeDeviceOrientation

Methods

getQuarterTurns() int
Returns the number of clockwise quarter turns the orientation is rotated
isLandscape() bool
Returns true if the orientation is portrait.