Class ChildDoubleClickModule
- Namespace
- KasaTapoClient
- Assembly
- KasaTapoClient.dll
Provides typed double-click information for a child button device.
public sealed class ChildDoubleClickModule
- Inheritance
-
ChildDoubleClickModule
- Inherited Members
Properties
Enabled
Gets whether double-click is enabled.
public bool? Enabled { get; }
Property Value
- bool?
State
Gets the latest typed double-click state for the child device.
public ChildDoubleClickState? State { get; }
Property Value
Methods
UpdateAsync(CancellationToken)
Refreshes the parent device state and child module data.
public Task UpdateAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenThe cancellation token for the operation.
Returns
- Task
A task that completes when the parent device state has been refreshed.