VocServiceFactory
IntroductionFactory for VocService. DiscussionVocServiceFactory is used to create instance of VocService. For more details on how VocService works and how to create it see VocService. Methods
createServiceWithDelegate:delegateQueue:options:error:Factory method for VocService. + (nullable id<VocService>)createServiceWithDelegate:(nonnull id<VocServiceDelegate>) delegate delegateQueue:(nonnull NSOperationQueue *) delegateQueue options:(nullable NSDictionary *) options error:(NSError * __nullable __autoreleasing * __nullable) error; Parameters
Return ValueVocService The instance of VocService. DiscussionThis factory method creates instance of VocService. A delegate implementing VocServiceDelegate protocol and delegate queue are required. In most cases the delegate queue will be the main app queue, however there is no restriction what type of queue to use. If the queue is not serial then users of Voc SDK must ensure voc item objects are accessed serially since they are not thread safe. One such way to achieve that would be to add a lock object of some kind to voc item userInfo and use it to serialize access. NS_UNAVAILABLEinit is disabled for VocServiceFactory. - (nonnull instancetype)init NS_UNAVAILABLE; |