Skip to main content

BlinkReceiptLinkingSdk

Singleton object for initializing the account-linking SDK. Call initialize() before using AccountLinkingClient.

Package: com.microblink.linking

Declaration

object BlinkReceiptLinkingSdk

Quick Reference​

Properties​

PropertyDescription
licenseKey()Returns the currently configured BlinkReceipt license key
productIntelligenceKeyProduct Intelligence key for enriched product data
versionName(context)SDK version name string
versionCode(context)SDK version code identifier

Methods​

MethodDescription
initialize(context, complete, license)Initializes the account-linking SDK

Initialization​

initialize(context, complete, license)​

@JvmOverloads
fun initialize(
context: Context,
complete: InitializeCallback? = null,
license: String? = null
)

Initializes the account-linking SDK. complete is notified when initialization finishes. Pass license to supply the key inline; otherwise set licenseKey before calling.


Properties​

licenseKey()​

fun licenseKey(): String?

Returns the currently configured BlinkReceipt license key.


productIntelligenceKey​

var productIntelligenceKey: String?

Product Intelligence key. Required for enriched product data on order results.


versionName(context)​

fun versionName(context: Context): String

SDK version name string.


versionCode(context)​

fun versionCode(context: Context): String?

SDK version code identifier.