POBDSATransparencyInfo Class Reference
Inherits from | NSObject |
---|---|
Declared in | POBDSATransparencyInfo.h |
Overview
The POBDSATransparencyInfo class represents the transparency information for DSA (Digital Services Act) compliance. It provides the domain name and user parameters for platform or sell-side use.
domainName
Domain of the entity that applied user parameters for DSA.
@property (nonatomic) NSString *domainName
Discussion
Domain of the entity that applied user parameters for DSA.
Declared In
POBDSATransparencyInfo.h
userParams
An array of NSNumber objects representing user parameters for platform or sell-side use. This property stores an array of integers, encapsulated as NSNumber objects, that can be used by the platform or sell-side for DSA compliance.
@property (nonatomic) NSArray<NSNumber*> *userParams
Discussion
An array of NSNumber objects representing user parameters for platform or sell-side use. This property stores an array of integers, encapsulated as NSNumber objects, that can be used by the platform or sell-side for DSA compliance.
Declared In
POBDSATransparencyInfo.h
+ buildWithDictionary:
Creates and returns a POBDSATransparencyInfo instance based on the provided dictionary.
+ (POBDSATransparencyInfo *)buildWithDictionary:(NSDictionary *)dsaInfo
Parameters
dsaInfo |
A dictionary containing the data needed to build a POBDSATransparencyInfo object. |
---|
Return Value
A newly created POBDSATransparencyInfo instance populated with the data from the passed dictionary.
Discussion
Creates and returns a POBDSATransparencyInfo instance based on the provided dictionary.
Declared In
POBDSATransparencyInfo.h
+ uniqueUserParamsStringFromArray:
Creates a unique, comma-separated string of user parameters from an array of transparency info objects.
+ (NSString *)uniqueUserParamsStringFromArray:(NSArray<POBDSATransparencyInfo*> *)transparencyInfoArray
Parameters
transparencyInfoArray |
An array of POBDSATransparencyInfo objects containing user parameters. |
---|
Return Value
A string containing unique user parameters sorted in ascending order and joined by commas. Returns an empty string if the input array is empty or contains no user parameters.
Discussion
Creates a unique, comma-separated string of user parameters from an array of transparency info objects.
Declared In
POBDSATransparencyInfo.h