For the complete documentation index, see llms.txt. This page is also available as Markdown.

NamiCampaign

The campaign object represents the live campaigns configured in the Nami Control Center that are available to the device after all campaign filtering and ordering rules are applied.

@objc public class NamiCampaign : NSObject, Codable, Identifiable {
    public var id: String { rule }
    public var rule: String
    public var segment: String
    public var paywall : String
    public var type: NamiCampaignRuleType = .unknown
    public var value: String?
}

Last updated