ExportProfile

open class ExportProfile(val name: String, val fileExtension: String = "zip", val rules: List<ExportRule?>, val requiresPlatform: Platform? = null)

An export profile is used to contain a list of export rules.

Each export profile is independent of each other and will result in one exported file.

An export profile can be exported using the ExportProfile.export() extension function. Multiple export profiles can be exported asynchronously when used as a parameter in the export() function.

Constructors

Link copied to clipboard
constructor(name: String, fileExtension: String = "zip", rules: List<ExportRule?>, requiresPlatform: Platform? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun ExportProfile.export(onError: suspend (profile: ExportProfile, error: ActionError) -> Unit, onSuccess: suspend (profile: ExportProfile, <Error class: unknown class>, <Error class: unknown class>) -> Unit, lockFile: LockFile, configFile: ConfigFile, platforms: List<Platform>, overrides: OverridesDeferred)