Set Orientation
Merchants can determine the direction of the payment screen.
PaymentkitManager.setOrientation(Context, Orientation);
Input
Context Context
Required
Android Context
Orientation Int
Required
Default is 0.
- 0: portrait
- 1: landscape
- 2: unspecified
Example
PaymentkitManager.setOrientation(context, 0);