AssetConfig

Photo Editor Configuration file.

class AssetConfig constructor(parcel: <ERROR CLASS>?) : ImglySettings

Constructors

AssetConfig
Link copied to clipboard
fun AssetConfig(parcel: <ERROR CLASS>?)

Types

Companion
Link copied to clipboard
object Companion

Functions

addAsset
Link copied to clipboard
fun addAsset(vararg configs: Array<Out AbstractAsset>)
fun addAsset(overrideExisting: Boolean, vararg configs: Array<Out AbstractAsset>)
describeContents
Link copied to clipboard
open fun describeContents(): Int
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getAssetById
Link copied to clipboard
fun <T : AbstractAsset> getAssetById(type: Class<T>, id: String?): T?
getAssetMap
Link copied to clipboard
fun <T : AbstractAsset> getAssetMap(type: Class<T>): ConfigMap<T>
hasChanges
Link copied to clipboard
open fun hasChanges(): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
hasNonDefaults
Link copied to clipboard
open override fun hasNonDefaults(): Boolean
onCreate
Link copied to clipboard
open override fun onCreate()
requireAssetById
Link copied to clipboard
fun <T : AbstractAsset> requireAssetById(type: Class<T>, id: String): T
toString
Link copied to clipboard
open override fun toString(): String
writeToParcel
Link copied to clipboard
open override fun writeToParcel(dest: <ERROR CLASS>, flags: Int)

Properties

hasRevertibleValues
Link copied to clipboard
override var hasRevertibleValues: Boolean
parcelCache
Link copied to clipboard
override var parcelCache: <ERROR CLASS>
values
Link copied to clipboard
override var values: <ERROR CLASS><ImglySettings.Value<*>>

Extensions

requireAssetById
Link copied to clipboard

Created by svennahler on 10.04.18.

fun <T : AbstractAsset> AssetConfig.requireAssetById(classRef: KClass<T>, id: String): T