Table of Contents

Class ChildTriggerLogModule

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Provides typed trigger-log information for a child device.

public sealed class ChildTriggerLogModule
Inheritance
ChildTriggerLogModule
Inherited Members

Properties

Logs

Gets the latest trigger log entries reported for the child device.

public IReadOnlyList<ChildTriggerLogEntry> Logs { get; }

Property Value

IReadOnlyList<ChildTriggerLogEntry>

State

Gets the latest typed trigger-log state for the child device.

public ChildTriggerLogState? State { get; }

Property Value

ChildTriggerLogState

Methods

UpdateAsync(CancellationToken)

Refreshes the parent device state and child module data.

public Task UpdateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token for the operation.

Returns

Task

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