ContactSubscription

@objc(UAPreferenceCenterConfigContactSubscription)
public final class ContactSubscription: NSObject, Decodable,
    PreferenceCenterConfigItem
extension PreferenceCenterConfig.ContactSubscription: Encodable

Contact subscription item info.

  • The item’s type.

    Declaration

    Swift

    public let type: PreferenceCenterConfigItemType
  • The item’s identifier.

    Declaration

    Swift

    public let identifier: String
  • The item’s display info.

    Declaration

    Swift

    @objc
    public let display: CommonDisplay?
  • The item’s display conditions.

    Declaration

    Swift

    public let conditions: [Condition]?
  • The item’s subscription ID.

    Declaration

    Swift

    @objc
    public let subscriptionID: String
  • The item’s scopes.

    Declaration

    Swift

    public var scopes: [ChannelScope] { get }

Encodable support for testing

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws