setSleepDuration

open fun setSleepDuration(duration: Int)

Set the duration of sleep.

Must hold {@code }

Parameters

duration

The duration.