Initialization
The method for initializing the Wepin iOS PIN Pad Library is as follows.
Before creating an instance of WepinPin
, please pass the App ID and App Key to the WepinPinParams
object as shown below.
Please create a WepinPin
instance by passing the previously created WepinPinParams
.
After creating the WepinPin
instance, call the initialize
method to complete the initialization.
parameters
attributes
<WepinPinAttributes>
language
<String> The default language setting for the PIN pad screen is'en'
. Currently supported languages are'ko'
,'en'
, and'ja'
.
Return value
<Boolean>
Returns true if successful, and false if it fails.
Example
isInitialized
You can use the isInitialized
method to check if the WepinPin
instance has been successfully initialized.
<Bool> Returns true if initialization was successful and false if it failed.
changeLanguage
Changes the language displayed on the PIN pad screen. Currently, only 'ko'
, 'en'
, and 'ja'
are supported.
Parameters
language
<String>
Return value
<Void>
Example
Last updated