package com.broadcastreceiver object IntentConfiguration { private val filterMap: MutableMap = mutableMapOf( "com.cipherlab.barcodebaseapi.PASS_DATA_2_APP" to "Decoder_Data", "com.barcodeservice.broadcast.string" to "barcodedata", "BROADCAST_BARCODE" to "BROADCAST_BARCODE_STRING", "zebra.barcode" to "com.motorolasolutions.emdk.datawedge.data_string", "com.honeywell.scantointent.intent.action.BARCODE" to "data" ) fun getMap(): MutableMap { return filterMap } fun addToMap(args: List>) { args.forEach { filterMap[it.first] = it.second } } }