Protocols
The following protocols are available globally.
-
Implement this protocol to receive callbacks from a scanning session
See moreDeclaration
Objective-C
@protocol BRScanResultsDelegate <NSObject>
Swift
protocol BRScanResultsDelegate : NSObjectProtocol
-
All BlinkReceipt results objects implement this protocol in order to provide an easy method for serializing results into JSON (or other formats). You can call
See moredictionaryForSerializing
on any results object or sub-object and get anNSDictionary*
that is suitable for serialization (i.e. contains no custom classes)Declaration
Objective-C
@protocol BRSerializable
Swift
protocol BRSerializable