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
Effect
Gets the active light strip effect.
public LightEffectState? Effect { get; }
Property Value
IsAvailable
Gets a value indicating whether light strip effect state is currently available.
public bool IsAvailable { get; }
Property Value
State
Gets the latest light strip effect module state.
public LightStripEffectState? State { get; }
Property Value
Methods
UpdateAsync(CancellationToken)
Refreshes light strip effect state.
public Task UpdateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken