public class ReceiptPrintingPref
extends java.lang.Object
Constants.ReceiptPreference
.Constructor and Description |
---|
ReceiptPrintingPref() |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<java.lang.String> |
readReceiptPrefsFromDb(android.content.Context context,
java.lang.String receipt_type)
Read the receipt preference from db using content provider.
|
static int |
writeReceiptPrefsToDb(android.content.Context context,
java.lang.String receipt_type,
java.util.Set<java.lang.String> printers)
Write the receipt preference to db using content provider.
|
public static int writeReceiptPrefsToDb(android.content.Context context, java.lang.String receipt_type, java.util.Set<java.lang.String> printers)
context
- receipt_type
- printers:
- list of printers that support this receipt type.public static java.util.Set<java.lang.String> readReceiptPrefsFromDb(android.content.Context context, java.lang.String receipt_type)
context
- receipt_type
-