VocServiceFactory(AkaWebAccelerator)
IntroductionIt is a category of VocServiceFactory with MAP SDK specific APIs. Methods
createAkaWebAcceleratorWithDelegate:delegateQueue:options:error:Creates instance of web accelerator. + (nullable id<AkaWebAccelerator>) createAkaWebAcceleratorWithDelegate:(nonnull id<VocServiceDelegate>)delegate delegateQueue:(nonnull NSOperationQueue *)delegateQueue options:(nullable NSDictionary *)options error:(NSError * __nullable __autoreleasing * __nullable) error; Parameters
DiscussionThis factory method creates instance of web accelerator. 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. setupSessionConfiguration:Sets up NSURLSession configurations to pass requests through the SDK's URL handler. + (void)setupSessionConfiguration:(nonnull NSURLSessionConfiguration *)sessionConfig; Parameters |