set Requested Orientation
Change the desired orientation of this activity. If the activity is currently in the foreground or otherwise impacting the screen orientation, the screen will immediately be changed (possibly causing the activity to be restarted). Otherwise, this will be used the next time the activity is visible.
Parameters
requested Orientation
An orientation constant as used in ActivityInfo.screenOrientation.