BlinkReceiptDigitalSdk
SDK initialization and configuration for email receipt parsing. Call initialize() in Application.onCreate() before using any client class.
Package: com.microblink.digital
Declaration
class BlinkReceiptDigitalSdk
Quick Reference
Properties
| Property | Description |
|---|---|
licenseKey() | Returns the configured BlinkReceipt license key |
productIntelligenceKey() | Product Intelligence key for enriched product data |
clientUserId() | Optional client-supplied user identifier |
versionName(context) | SDK version name string |
versionCode(context) | SDK version code identifier |
Methods
| Method | Description |
|---|---|
initialize(context) | Initializes the digital SDK |
Initialization
initialize(context)
fun initialize(context: Context)
Initializes the digital SDK.
fun initialize(context: Context, callback: InitializeCallback)
Initializes with a callback notified on completion.
fun initialize(context: Context, licenseKey: String, callback: InitializeCallback)
Initializes with a license key supplied inline.
Properties
licenseKey()
fun licenseKey(): String?
Returns the configured BlinkReceipt license key.
productIntelligenceKey()
fun productIntelligenceKey(): String?
fun productIntelligenceKey(key: String)
Product Intelligence key. Required for enriched product data on parsed e-receipts.
clientUserId()
fun clientUserId(): String?
fun clientUserId(clientUserId: String)
Optional client-supplied user identifier for mapping e-receipt results to your own user records.
versionName(context)
fun versionName(context: Context): String
SDK version name string.
versionCode(context)
fun versionCode(context: Context): String
SDK version code identifier.