public class CallbackExportOption : BaseExportOption
Callback export option configuration. Defines a callback button that invokes a callback in the host application.
[init(id:style:action:label:)](#/s:9embed_sdk20CallbackExportOptionC2id5style6action5labelACSS_AA5StyleCAA0C6ActionVSStcfc)
Creates a callback export option.
Swift
public init(id: String, style: Style, action: CallbackAction, label: String)
id | Unique identifier |
style | Button style |
action | Callback action configuration |
label | Display label (optional) |
[init(from:)](#/s:9embed_sdk20CallbackExportOptionC4fromACs7Decoder_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