CategorySignals
public struct CategorySignals : Equatable, Sendable
Privacy signals specific to a single data category.
-
The data category these signals apply to.
Declaration
Swift
public let category: DataCategory -
Whether this category of data is collected.
Declaration
Swift
public let collected: SignalValue -
Specific data labels collected within this category.
Declaration
Swift
public let dataLabels: [String] -
Whether this category is shared with third parties.
Declaration
Swift
public let sharedWithThirdParties: ShareStyle -
Whether this category is monetized (used for advertising/monetization).
Declaration
Swift
public let monetized: SignalValue -
Whether this category is retained.
Declaration
Swift
public let retained: SignalValue -
Retention details, when
retainedis.yes.Declaration
Swift
public let retention: RetentionInfo? -
Whether the user can opt out of this category’s collection.
Declaration
Swift
public let userCanOptOut: SignalValue -
Whether this data is required for the core service to function.
Declaration
Swift
public let requiredForService: SignalValue? -
Whether this data is required for legal or regulatory compliance.
Declaration
Swift
public let requiredForLaw: SignalValue? -
init(category:collected: dataLabels: sharedWithThirdParties: monetized: retained: retention: userCanOptOut: requiredForService: requiredForLaw: ) Declaration
Swift
public init( category: DataCategory, collected: SignalValue, dataLabels: [String], sharedWithThirdParties: ShareStyle, monetized: SignalValue, retained: SignalValue, retention: RetentionInfo?, userCanOptOut: SignalValue, requiredForService: SignalValue?, requiredForLaw: SignalValue? )
CategorySignals Structure Reference