PublishType

View as Markdown

PublishType

PublishType selects the one type of publish event that an initial sync returns. Pass it to the syncPublishType:completion: or syncOnly:locale:from:publishType:completion: method of Stack. The SDK sends your choice as the type parameter of the Initial Sync request.

ContentstackDefinitions.h declares the enum as NS_ENUM(NSUInteger, PublishType). Swift imports it as PublishType with the same case names, for example .ENTRY_PUBLISHED.