Variables

@:value(cast 0)@:impl@:enuminlineread onlyNONE:ScreenOrientation = 0

@:value(cast 1 << 0)@:impl@:enuminlineread onlyPORTRAIT_UPRIGHT:ScreenOrientation = 1 << 0

@:value(cast 1 << 1)@:impl@:enuminlineread onlyPORTRAIT_UPSIDE_DOWN:ScreenOrientation = 1 << 1

@:value(cast 1 << 2)@:impl@:enuminlineread onlyLANDSCAPE_LEFT:ScreenOrientation = 1 << 2

@:value(cast 1 << 3)@:impl@:enuminlineread onlyLANDSCAPE_RIGHT:ScreenOrientation = 1 << 3

@:value(cast (1 << 0) | (1 << 1))@:impl@:enuminlineread onlyPORTRAIT:ScreenOrientation = (1 << 0) | (1 << 1)

Both PORTRAIT_UPRIGHT and PORTRAIT_UPSIDE_DOWN

@:value(cast (1 << 2) | (1 << 3))@:impl@:enuminlineread onlyLANDSCAPE:ScreenOrientation = (1 << 2) | (1 << 3)

Both LANDSCAPE_LEFT and LANDSCAPE_RIGHT