PuckBearing

enum PuckBearing : Enum<PuckBearing>

The enum controls how the puck is oriented

Parameters

value

String value of this property

Entries

Link copied to clipboard

Orients the puck to match the direction in which the device is facing.

Link copied to clipboard

Orients the puck to match the direction in which the device is moving.

Functions

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

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<PuckBearing>

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

Properties

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