ALScanViewPluginFactory Class Reference

Inherits from NSObject
Declared in ALScanViewPluginFactory.h

Overview

Creates scan view plugins (ALScanViewPlugin or ALViewPluginComposite) from JSON objects

+ 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 NSDictionary

error

an NSError object that will contain error information if creation of the scan view plugin is unsuccessful

Return Value

an object of type NSObjectALScanViewPluginBase * (ALScanViewPlugin or ALViewPluginComposite), or null if the JSON object could not be deserialized

Declared In

ALScanViewPluginFactory.h