PDL_SetOrientation
Description
Notifies the system of the application's orientation, allowing it to align pop-up alerts and banner messages accordingly. For example, if you are in landscape mode, call this with PDL_ORIENTATION_270
.
Legal values are:
-
PDL_ORIENTATION_0
— The center button is below the screen. -
PDL_ORIENTATION_90
— The center button is to the left of the screen. -
PDL_ORIENTATION_180
— The center button is above the screen. -
PDL_ORIENTATION_270
— The center button is to the right of the screen.
Syntax
PDL_Err PDL_SetOrientation(PDL_Orientation orientation);
Returns
PDL_INVALIDINPUT — Invalid orientation passed. PDL_ECONNECTION — Unable to communicate with app card. PDL_NOERROR — Success.