public class PublishExportOption : BaseExportOption
Publish export option configuration. Defines a publish/export button that sends content back to the host application.
## Properties
label: Display label for the button
[init(id:style:action:label:)](#/s:9embed_sdk19PublishExportOptionC2id5style6action5labelACSS_AA5StyleCAA0C6ActionVSStcfc)
Creates a publish export option.
Swift
public init(id: String, style: Style, action: PublishAction, label: String)
id | Unique identifier |
style | Button style |
action | Publish action configuration |
label | Display label |
[init(from:)](#/s:9embed_sdk19PublishExportOptionC4fromACs7Decoder_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