express-embed-mobile-sdk-android-release

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

Package-level declarations

Types

Name Summary
FeatureState
sealed interface FeatureState
Base sealed class for all feature operation states.
NativeAppConfig
interface NativeAppConfig
Application configuration for the native workflows.
NativeButtonStyle
data class NativeButtonStyle(val iconRes: Int? = null)
Visual configuration for a top-bar button. When iconRes is set the button renders as an icon; otherwise it renders the option’s label as text.
NativeCallbackOption
data class NativeCallbackOption(val id: String, val label: String, val style: NativeButtonStyle = NativeButtonStyle(), val actionTarget: NativeExportActionTarget = NativeExportActionTarget.CALLBACK, val publishFileType: NativeExportFileType = NativeExportFileType.PNG, val closeOnPublish: Boolean = true, val enableByDefault: Boolean = true) : NativeExportOption
Invokes a host-defined callback identified by id. No export is performed automatically; the host handles the action from com.adobe.express.embedsdk.Callbacks.onEvent.
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.
NativeDesignConfig
class NativeDesignConfig<D : NativeDocConfig, A : NativeAppConfig>(val docConfig: D, val appConfig: A, val exportConfig: NativeExportConfig? = null)
Consolidated configuration for native workflows, bundling document, app, and export settings into a single object (mirrors the com.adobe.express.embedsdk.DesignConfig pattern used by web workflows).
NativeDocConfig
interface NativeDocConfig
Document configuration for the native workflows.
NativeEditImageIntent
enum NativeEditImageIntent : Enum<NativeEditImageIntent>
NativeEditorExportOptionId
enum NativeEditorExportOptionId : Enum<NativeEditorExportOptionId>
Well-known export option ids for native editor top-bar buttons.
NativeExportActionTarget
enum NativeExportActionTarget : Enum<NativeExportActionTarget>
Wire action.target values that route native editor top-bar button clicks.
NativeExportConfig
typealias NativeExportConfig = List<NativeExportOption>
NativeExportFileType
enum NativeExportFileType : Enum<NativeExportFileType>
Output image format for NativePublishOption.publishFileType / NativeCallbackOption.publishFileType.
NativeExportOption
sealed interface NativeExportOption
One top-bar button in the native image editor.
NativeMobileToolbarOption
data class NativeMobileToolbarOption(val id: String, val label: String, val icon: Int, val badge: NativeMobileToolbarOptionBadgeConfig? = null)
Host-provided toolbar entry for native workflows.
NativeMobileToolbarOptionBadgeConfig
data class NativeMobileToolbarOptionBadgeConfig(val icon: Int, val size: Int? = null, val placement: MobileToolbarOptionBadgePlacement? = null)
NativePublishOption
data class NativePublishOption(val id: String, val label: String, val style: NativeButtonStyle = NativeButtonStyle(), val actionTarget: NativeExportActionTarget = NativeExportActionTarget.PUBLISH, val publishFileType: NativeExportFileType = NativeExportFileType.PNG, val closeOnPublish: Boolean = true, val enableByDefault: Boolean = false, val outputType: AssetDataType? = null) : NativeExportOption
Triggers an export of the current edit and reports the result through com.adobe.express.embedsdk.Callbacks.onPublish.
RemoveOrReplaceBackgroundState
sealed class RemoveOrReplaceBackgroundState : FeatureState
Common state for image background modification operations (remove and replace background). Both features share the same subject mask preparation pipeline and thus have identical states.