Skip to main content

Protocols Reference

The following protocols are available globally.

BRScanResultsDelegate

Implement this protocol to receive callbacks from a scanning session.

Declaration

@protocol BRScanResultsDelegate <NSObject>
protocol BRScanResultsDelegate : NSObjectProtocol

BRSerializable

All BlinkReceipt results objects implement this protocol to provide an easy method for serializing results into JSON (or other formats). You can call dictionaryForSerializing on any results object or sub-object and get an NSDictionary * suitable for serialization (contains no custom classes).

Declaration

@protocol BRSerializable
protocol BRSerializable