isLinear

open val isLinear: Boolean = false

Defines whether this API requires features from LinearOpMode.

If set to true, init can only be called from within a LinearOpMode. This is useful if you require methods such as LinearOpMode.opModeInInit or LinearOpMode.sleep.

See also

API.linearOpMode