Table of Contents

Class LightStripEffectModule

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Provides module-style access to light strip effects.

public sealed class LightStripEffectModule
Inheritance
LightStripEffectModule
Inherited Members

Properties

AvailableEffects

Gets the available light strip effects.

public IReadOnlyList<LightEffectDefinition> AvailableEffects { get; }

Property Value

IReadOnlyList<LightEffectDefinition>

Effect

Gets the active light strip effect.

public LightEffectState? Effect { get; }

Property Value

LightEffectState

IsAvailable

Gets a value indicating whether light strip effect state is currently available.

public bool IsAvailable { get; }

Property Value

bool

State

Gets the latest light strip effect module state.

public LightStripEffectState? State { get; }

Property Value

LightStripEffectState

Methods

UpdateAsync(CancellationToken)

Refreshes light strip effect state.

public Task UpdateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task