HeadlessSetup

Functions

Link copied to clipboard
fun getCapks(): List<CapkParam>
Link copied to clipboard
fun getEmvParams(): List<EmvParam>
Link copied to clipboard
fun getTermParam(): TerminalParam
Link copied to clipboard
suspend fun initialSetup(context: Context, builderAction: SetupOptionBuilder.() -> Unit? = null): SetupResp

Performs the initial setup for the SoftPOS. Only require called once per app installation.

Link copied to clipboard
fun initialSetupCallback(context: Context, builderAction: SetupOptionBuilder.() -> Unit? = null, callback: (SetupResp) -> Unit)
Link copied to clipboard
suspend fun initSoftPos(app: Application, licenseFileName: String): WrappedResult<SdkInitResp>

Init the SoftPOS SDK in the application. Require called each time application starts up (app onCreate)

Link copied to clipboard
fun initSoftPosCallBack(app: Application, licenseFileName: String, callback: (WrappedResult<SdkInitResp>) -> Unit)

non-suspending version for calling from java