BlinkReceiptLinkingSdk
Singleton object for initializing the account-linking SDK. Call initialize() before using AccountLinkingClient.
Package: com.microblink.linking
Declaration
object BlinkReceiptLinkingSdk
Quick Reference
Properties
| Property | Description |
|---|---|
licenseKey() | Returns the currently configured BlinkReceipt license key |
productIntelligenceKey | Product Intelligence key for enriched product data |
versionName(context) | SDK version name string |
versionCode(context) | SDK version code identifier |
Methods
| Method | Description |
|---|---|
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.