Table of Contents

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

HomeKitSetupInfo

IsAvailable

Gets a value indicating whether HomeKit setup information is currently available.

public bool IsAvailable { get; }

Property Value

bool

SetupCode

Gets the HomeKit setup code.

public string? SetupCode { get; }

Property Value

string

SetupPayload

Gets the HomeKit setup payload.

public string? SetupPayload { get; }

Property Value

string

Methods

UpdateAsync(CancellationToken)

Refreshes HomeKit-related state.

public Task UpdateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token for the operation.

Returns

Task

A task that completes when the device state has been refreshed.