qisdk / com.aldebaran.qi.sdk.object.power / FlapState

FlapState

@QiStruct open class FlapState

Description of a flap sensor state.

Since
6

Constructors

<init>

Create a new FlapState

FlapState(open: Boolean, time: Long)

Functions

equals

open fun equals(other: Any?): Boolean

getOpen

The current state of the flap: open or not.

open fun getOpen(): Boolean

getTime

The time the flap state changed to this value.

open fun getTime(): Long

hashCode

open fun hashCode(): Int

setOpen

Setter for open The current state of the flap: open or not.

open fun setOpen(open: Boolean): Unit

setTime

Setter for time The time the flap state changed to this value.

open fun setTime(time: Long): Unit

toString

open fun toString(): String