ALScanViewPluginFactory Class Reference
Inherits from | NSObject |
---|---|
Declared in | ALScanViewPluginFactory.h |
+ withJSONDictionary:error:
Creates a scan view plugin (ALScanViewPlugin
or ALViewPluginComposite
) from a JSON
dictionary
+ (NSObject<ALScanViewPluginBase> *_Nullable)withJSONDictionary:(NSDictionary *)JSONDictionary error:(NSError *_Nullable *_Nullable)error
Parameters
JSONDictionary |
a suitably-formatted JSON |
---|---|
error |
an NSError object that will contain error information if creation of the scan view plugin is unsuccessful |
Return Value
an object of type NSObject
ALScanViewPluginBase *
(ALScanViewPlugin
or
ALViewPluginComposite
),
or null if the JSON object could not be deserialized
Declared In
ALScanViewPluginFactory.h