MomentsAPISettingsBuilder Class Reference
public class MomentsAPISettingsBuilder : ModuleSettingsBuilder
Builder for Moments API module settings.
-
Sets the region for the Moments API.
Declaration
Swift
public func setRegion(_ region: MomentsAPIRegion) -> SelfParameter Description regionThe Moments API region
Return Value
The builder instance for method chaining
-
Sets the referrer for the Moments API requests.
Declaration
Swift
public func setReferrer(_ referrer: String) -> SelfParameter Description referrerThe referrer URL
Return Value
The builder instance for method chaining