public class ScannerBroadcastReceiver
extends BroadcastEventReceiver
Широковещательный приёмник событий сканера штрихкодов.
Modifier and Type | Class and Description |
---|---|
static class |
ScannerBroadcastReceiver.Companion |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ACTION_BARCODE_RECEIVED |
static ScannerBroadcastReceiver.Companion |
Companion |
static java.lang.String |
RECEIVER_PERMISSION |
static java.lang.String |
SENDER_PERMISSION |
Constructor and Description |
---|
ScannerBroadcastReceiver()
Широковещательный приёмник событий сканера штрихкодов.
|
Modifier and Type | Method and Description |
---|---|
void |
handleBarcodeReceivedEvent(android.content.Context context,
BarcodeReceivedEvent event)
Обработчик событий получения штрихкода.
|
void |
onEvent(android.content.Context context,
java.lang.String action,
android.os.Bundle bundle) |
onEvent, onReceive
public static java.lang.String ACTION_BARCODE_RECEIVED
public static java.lang.String SENDER_PERMISSION
public static java.lang.String RECEIVER_PERMISSION
public static ScannerBroadcastReceiver.Companion Companion
public ScannerBroadcastReceiver()
Широковещательный приёмник событий сканера штрихкодов.
public void handleBarcodeReceivedEvent(android.content.Context context, BarcodeReceivedEvent event)
Обработчик событий получения штрихкода.
public void onEvent(android.content.Context context, java.lang.String action, android.os.Bundle bundle)