Pack

enum Pack : Enum<Pack> (source)

The purpose of this enum class is to serve as the categorization distinction between different Trainer implementations, as to control how many of each kind can be used by the Bark system.

Since

0.0.1

Entries

Link copied to clipboard

Denotes that logs will print to the native logger (e.g., android.util.log or NSLog).

Link copied to clipboard

Denotes that logs will be used on test runs only.

Link copied to clipboard

Denotes that logs will print to a file.

Link copied to clipboard

Denotes that logs will print to a custom destination.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): Pack

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Pack>

Returns an array containing the constants of this enum type, in the order they're declared.