Builder
@objc(AASDKTrackingPermissionConfigurationBuilder)
public class Builder : NSObject
Builder class for creating aTrackingPermissionConfiguration instance.
-
The title configuration.
Declaration
Swift
@objc public func with(title: TrackingPermissionUIElement) -> BuilderParameters
titleconfiguration for the title element
Return Value
the same builder object
-
The description configuration.
Declaration
Swift
@objc public func with(description: TrackingPermissionUIElement) -> BuilderParameters
descriptionconfiguration for the description element
Return Value
the same builder object
-
The skip button for the header.
Declaration
Swift
@objc public func with(skip: TrackingPermissionUIElement) -> BuilderParameters
skipconfiguration for the skip element
Return Value
the same builder object
-
The action button.
Declaration
Swift
@objc public func with(action: TrackingPermissionUIElement) -> BuilderParameters
actionconfiguration for the action element
Return Value
the same builder object
-
Set the image for header.
Declaration
Swift
@objc public func with(headerImage: UIImage) -> BuilderParameters
headerImagethe top left header image
Return Value
the same builder object
-
Set the image for main content.
Declaration
Swift
@objc public func with(contentImage: UIImage) -> BuilderParameters
contentImagethe centered content image
Return Value
the same builder object
-
Set the background color for the tracking permission controller.
Declaration
Swift
@objc public func with(backgroundColor: UIColor) -> BuilderParameters
backgroundColorthe background color
Return Value
the same builder object
-
Builds a
TrackingPermissionConfigurationobject.Declaration
Swift
@objc public func build() -> TrackingPermissionConfigurationReturn Value
a valid
TrackingPermissionConfigurationobject