getScreenRotation

open fun getScreenRotation(@NonNull() activity: Activity): Int

Return the rotation of screen.

Return

the rotation of screen

Parameters

activity

The activity.