public class DownloadExportOption : BaseExportOption
Download export option configuration. Defines a download button that allows users to save content to their device.
## Properties
label: Display label for the button (optional)
[init(id:style:action:label:)](#/s:9embed_sdk20DownloadExportOptionC2id5style6action5labelACSS_AA5StyleCAA0C6ActionVSSSgtcfc)
Creates a download export option.
Swift
public init(id: String, style: Style, action: DownloadAction, label: String?)
id | Unique identifier |
style | Button style |
action | Download action configuration |
label | Display label (optional) |
[init(from:)](#/s:9embed_sdk20DownloadExportOptionC4fromACs7Decoder_p_tKcfc)
Undocumented
Swift
public required init(from decoder: any Decoder) throws
[encode(to:)](#/s:SE6encode2toys7Encoder_p_tKF)
Swift
override public func encode(to encoder: any Encoder) throws