Class HomeKitModule
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Provides module-style access to HomeKit setup information.
public sealed class HomeKitModule
- Inheritance
-
HomeKitModule
- Inherited Members
Properties
Info
Gets the latest HomeKit setup information.
public HomeKitSetupInfo? Info { get; }
Property Value
IsAvailable
Gets a value indicating whether HomeKit setup information is currently available.
public bool IsAvailable { get; }
Property Value
SetupCode
Gets the HomeKit setup code.
public string? SetupCode { get; }
Property Value
SetupPayload
Gets the HomeKit setup payload.
public string? SetupPayload { get; }
Property Value
Methods
UpdateAsync(CancellationToken)
Refreshes HomeKit-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.