Builder

@objc(StorylyShareConfigBuilder)
public class Builder : NSObject

Builder class of StorylyShareConfig

  • This function allows you to customize share url

    • - parameter url String instance to set

    Declaration

    Swift

    @objc(setShareUrl:)
    public func setShareUrl(url: String) -> Builder
  • This function allows you to set Facebook app id to be used in Instagram share to stories .

    Declaration

    Swift

    @objc(setFacebookAppID:)
    public func setFacebookAppID(id: String) -> Builder
  • This function builds StorylyShareConfig with the current properties

    Declaration

    Swift

    @objc
    public func build() -> StorylyShareConfig

    Return Value

    StorylyShareConfig instance