Class MatterModule
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Provides module-style access to Matter setup information.
public sealed class MatterModule
- Inheritance
-
MatterModule
- Inherited Members
Properties
Info
Gets the latest Matter setup information.
public MatterSetupInfo? Info { get; }
Property Value
IsAvailable
Gets a value indicating whether Matter setup information is currently available.
public bool IsAvailable { get; }
Property Value
SetupCode
Gets the Matter setup code.
public string? SetupCode { get; }
Property Value
SetupPayload
Gets the Matter setup payload.
public string? SetupPayload { get; }
Property Value
Methods
UpdateAsync(CancellationToken)
Refreshes Matter-related state.
public Task UpdateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe cancellation token for the operation.
Returns
- Task
A task that completes when the device state has been refreshed.