For the complete documentation index, see llms.txt. This page is also available as Markdown.

초기화하기

Wepin PIN Pad Library를 초기화하는 방법입니다.

init

Wepin PIN Pad Library 인스턴스를 생성하고 초기화 합니다.

초기화시에 핀 패드 화면에 보여질 언어를 설정합니다.

// 인스턴스 생성
const wepinPin = new WepinPin({
  appKey: 'your-wepin-app-key',
})
// 초기화
await wepinPin.init({
  defaultLanguage: 'ko',
})

Parameters

  • defaultLanguage: <string> 핀 패드화면의 기본 언어 설정, 기본 값은 'en' 입니다. 현재 지원하는 언어는 'ko', 'en' ,'ja'입니다.

Return value

  • Promise<void>

Example

그런 다음 Wepin Login Library 로 위핀에 로그인 하세요.

isInitialized

Wepin PIN Pad Library가 정상적으로 초기화 되었는지 확인할 수 있습니다.

Parameters

  • <void>

Return Value

  • <boolean> 초기화가 정상적으로 잘 된 경우 true , 실패한 경우 false 를 반환합니다.

Example

changeLanguage

핀 패드 화면에 표시되는 언어를 변경합니다. 현재 'ko', 'en', 'ja'만 지원됩니다.

Supported Version

  • 버전 0.0.23 이상에서 지원.

Parameters

  • language <string>

Return value

  • <void>

Example

Last updated

Was this helpful?