Class SpeakerModule
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Provides module-style access to speaker capability state.
public sealed class SpeakerModule
- Inheritance
-
SpeakerModule
- Inherited Members
Properties
Available
Gets whether speaker capability is available.
public bool? Available { get; }
Property Value
- bool?
IsAvailable
Gets a value indicating whether speaker state is currently available.
public bool IsAvailable { get; }
Property Value
State
Gets the latest speaker state.
public SpeakerState? State { get; }
Property Value
Methods
UpdateAsync(CancellationToken)
Refreshes speaker state.
public Task UpdateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationToken