Config

Configuration to be utilized with Factory, or on a per-instance basis via TorServiceConfig.Foreground.newEnvironment.

See also

Constructors

Link copied to clipboard
constructor(iconReady: Int, iconNotReady: Int)

Create a new Config with the default options.

constructor(iconReady: Int, iconNotReady: Int, block: ThisBlock<KmpTorServiceUI.Config.BuilderScope>)

Create and new Config and configure options via block.

Types

Link copied to clipboard

Configure optionals for Config.

Properties

Link copied to clipboard
@JvmField
val colorReady: Int?
Link copied to clipboard
Link copied to clipboard
@JvmField
val enableActionRestart: Boolean
Link copied to clipboard
@JvmField
val enableActionStop: Boolean
Link copied to clipboard
@JvmField
val iconData: Int
Link copied to clipboard
Link copied to clipboard
@JvmField
val iconReady: Int

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard

Configure a new Config.BuilderScope which inherits all settings from this one.

fun newConfig(iconReady: Int?, iconNotReady: Int?, block: ThisBlock<KmpTorServiceUI.Config.BuilderScope>): KmpTorServiceUI.Config

Configure a new Config.BuilderScope which inherits all options from this one.

Link copied to clipboard
override fun toString(): String