Hood

State

Position

Declaration

getPosition()

Example

val state:Hood.State
assertTrue(state.position.value == Hood.Position.OPEN)
// Hood is open

Getters

Get Hood property availability information

Declaration

public GetStateAvailability()

Example

// get all property availabilities
val getAvailability = GetStateAvailability()

Get Hood properties

Declaration

public GetState()

Example

// get all properties
val getState = GetState()