ResourceOptionsManager

Convenience class that manages a global ResourceOptions It's possible to create ResourceOptionsManager instances as you need them, however it's convenient to use the default object (default).

data class ResourceOptionsManager(resourceOptions: ResourceOptions)

Constructors

ResourceOptionsManager
Link copied to clipboard
fun ResourceOptionsManager(resourceOptions: ResourceOptions)

Types

Companion
Link copied to clipboard

Static variables and methods.

object Companion

Functions

component1
Link copied to clipboard
operator fun component1(): ResourceOptions
copy
Link copied to clipboard
fun copy(resourceOptions: ResourceOptions): ResourceOptionsManager
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String
update
Link copied to clipboard

Update specific resource options in a closure.

fun update(block: ResourceOptions.Builder.() -> Unit)

Properties

resourceOptions
Link copied to clipboard

the initial resource options.

var resourceOptions: ResourceOptions