TeyaAllInOneSDK

@JvmName(name = "init")
fun TeyaAllInOneSDK(onMissedResponseListener: MissedResponseListener, logger: Logger? = null, eposInstanceId: String? = null): AllInOneSDK

Android specific entry point to the "All In One" integration SDK APIs. Returns AllInOneSDK instance.

Parameters

onMissedResponseListener

The MissedResponseListener for missed responses.

logger

used for SDK logs. If none is provided, no logs will be generated.

eposInstanceId

unique identifier for the ePOS instance

fun TeyaAllInOneSDK(logger: Logger? = null, eposInstanceId: String? = null): IOSAllInOneSDK

iOS specific entry point to the "All In One" integration SDK APIs. Returns IOSAllInOneSDKImpl instance that extends AllInOneSDK with iOS-specific methods.

Parameters

logger

used for SDK logs. If none is provided, no logs will be generated.

eposInstanceId

unique identifier for the ePOS instance