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) -> Builder
Parameters
font
font for the text element
Return Value
the same builder object
-
The text element color.
Declaration
Swift
@objc public func with(color: UIColor) -> Builder
Parameters
color
color for the text element
Return Value
the same builder object
-
The text element content.
Declaration
Swift
@objc public func with(content: String) -> Builder
Parameters
content
value for the text element
Return Value
the same builder object
-
Builds a
TrackingPermissionUIElement
object.Declaration
Swift
@objc public func build() -> TrackingPermissionUIElement
Return Value
a valid
TrackingPermissionUIElement
object