SFSDKAnalyticsPublisher Protocol Reference

Conforms to NSObject
Declared in SFSDKAnalyticsPublisher.h

– publish:user:publishCompleteBlock: required method

Publishes events to a network endpoint.

- (void)publish:(nonnull NSArray *)events user:(nonnull SFUserAccount *)user publishCompleteBlock:(nonnull PublishCompleteBlock)publishCompleteBlock

Parameters

events

Events to be published.

user

SFUserAccount to use to determine where events are to be published.

publishCompleteBlock

Completion block invoked once network publish is complete.

Declared In

SFSDKAnalyticsPublisher.h