ZapIlluminance

class ZapIlluminance(val lx: Float) : Zapable

Represent the ambient light level.

+--------------+
| lx (32 bits) |
+--------------+

Constructors

Link copied to clipboard
constructor(lx: Float)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val lx: Float

ambient light level in lx.

Link copied to clipboard
open override val resource: ZapResource

A resource type of the object.

Functions

Link copied to clipboard
open override fun toPayload(): ZappPayload

Convert Zapable to ZappPayload and return it.