express-embed-mobile-sdk-android-release

//sdk/com.adobe.express.embedsdk.nativeeditor.domain.model/NativeCancelOption

NativeCancelOption


data class NativeCancelOption(val id: String = NativeEditorExportOptionId.CANCEL.value, val label: String = "", val style: NativeButtonStyle = NativeButtonStyle(), val actionTarget: NativeExportActionTarget = NativeExportActionTarget.CANCEL, val enableByDefault: Boolean = true) : NativeExportOption

Customises the editor’s back/cancel button (always rendered on the leading edge of the top bar). At most one of these is honoured per config; any extras are ignored.

Constructors

   
NativeCancelOption
constructor(id: String = NativeEditorExportOptionId.CANCEL.value, label: String = "", style: NativeButtonStyle = NativeButtonStyle(), actionTarget: NativeExportActionTarget = NativeExportActionTarget.CANCEL, enableByDefault: Boolean = true)

Properties

Name Summary
actionTarget
open override val actionTarget: NativeExportActionTarget
enableByDefault
val enableByDefault: Boolean = true
Whether the visible back button is enabled. Defaults to true. When false, the button is rendered disabled — the user can still dismiss via the system back gesture / button (those are governed by the host’s lifecycle, not by this flag).
id
open override val id: String
label
open override val label: String
style
open override val style: NativeButtonStyle