PropertyObserver Interface Reference

Public Member Functions

void PropertyChanged (BarcodePicker picker, NSString property, NSObject value)

Detailed Description

Defines the protocol for an observer of property changes.

This API is experimental. There are no API stability guarantees at this point and the functionality might disappear or change in future releases.


Member Function Documentation

void PropertyChanged ( BarcodePicker  picker,
NSString  property,
NSObject  value 

Method invoked when a property changed to a new value.

pickerThe barcode picker whose property changed.
propertyThe property that changed. The property can be any of "torchOn", "recognitionMode", "relativeZoom", "switchCamera".
valueThe new value of the property.

The property is invoked in the calling thread, so make sure to move any UI work to the main thread.