Builder
@objc(TrackingPermissionTextElementBuilder)
public class Builder : NSObject
Builder class for a TrackingPermissionUIElement object.
-
The text element font.
Declaration
Swift
@objc public func with(font: UIFont) -> BuilderParameters
fontfont for the text element
Return Value
the same builder object
-
The text element color.
Declaration
Swift
@objc public func with(color: UIColor) -> BuilderParameters
colorcolor for the text element
Return Value
the same builder object
-
The text element content.
Declaration
Swift
@objc public func with(content: String) -> BuilderParameters
contentvalue for the text element
Return Value
the same builder object
-
Builds a
TrackingPermissionUIElementobject.Declaration
Swift
@objc public func build() -> TrackingPermissionUIElementReturn Value
a valid
TrackingPermissionUIElementobject