Table of Contents

Method Sleep

Namespace
Yeelight
Assembly
YeelightClient.dll

Sleep(TimeSpan)

Makes a step that does nothing for a while.

public static ColorFlowStep Sleep(TimeSpan duration)

Parameters

duration TimeSpan

How long the light sleeps, at least MinFlowStep.

Returns

ColorFlowStep

The step.

Exceptions

ArgumentOutOfRangeException

The duration is shorter than the protocol allows.