Android APP SDK / Set Orientation

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);
				
			

Copyright © Green World FinTech Service Co., Ltd. All rights reserved.

Green World