Class ScreenOrientationInfo
java.lang.Object
org.vaadin.firitin.devicemotion.ScreenOrientationInfo
Represents screen orientation information.
- Author:
 - mstahv
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOrientation types as defined by the Screen Orientation API - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
ScreenOrientationInfo
public ScreenOrientationInfo() 
 - 
 - 
Method Details
- 
getType
- Returns:
 - the orientation type as a string (e.g., "portrait-primary", "landscape-primary")
 
 - 
getOrientationType
- Returns:
 - the orientation type as an enum
 
 - 
getAngle
- Returns:
 - the angle of the screen orientation in degrees (0, 90, 180, or 270)
 
 - 
setType
 - 
setAngle
 - 
toString
 
 -