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.
- Since
- 4.14.0
Member Function Documentation
void PropertyChanged | ( | BarcodePicker | picker, |
NSString | property, | ||
NSObject | value | ||
) |
Method invoked when a property changed to a new value.
- Parameters
-
picker The barcode picker whose property changed. property The property that changed. The property can be any of "torchOn", "recognitionMode", "relativeZoom", "switchCamera". value The 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.