Table of Contents

Class ChildProtectionModule

Namespace
KasaTapoClient
Assembly
KasaTapoClient.dll

Provides typed child-protection information for a child thermostat device.

public sealed class ChildProtectionModule
Inheritance
ChildProtectionModule
Inherited Members

Properties

Enabled

Gets whether child protection is enabled.

public bool? Enabled { get; }

Property Value

bool?

State

Gets the latest typed child-protection state for the child device.

public ChildProtectionState? State { get; }

Property Value

ChildProtectionState

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.