StorylyDynamicSegmentationCallback
@objc
public protocol StorylyDynamicSegmentationCallback : AnyObject
This protocol is used to target story groups with your own filtering function
-
This function will filter story groups based on your algorithm
Declaration
Swift
func filter(storylyGroupItemSegments: Set<String>?, segments: Set<String>?) -> Bool
Parameters
storylyGroupItemSegments
Story groups to filter
segments
Target labels
Return Value
Return filtering result