TomTimedApi class abstract
API for managing timed/scheduled requests.
All methods throw Exception on bridge communication errors.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
activateTimer(
) → Future< void> - Activate the timer engine.
-
create(
TimedRequestInput input) → Future< TimedRequest> - Create a new timed request entry.
-
deactivateTimer(
) → Future< void> - Deactivate the timer engine.
-
delete(
String entryId) → Future< bool> - Delete a timed request entry.
-
disable(
String entryId) → Future< TimedRequest> - Disable a timed request entry.
-
enable(
String entryId) → Future< TimedRequest> - Enable a timed request entry.
-
get(
String entryId) → Future< TimedRequest?> - Get a specific timed request entry by ID.
-
isTimerActivated(
) → Future< bool> - Get whether the timer engine is activated.
-
list(
) → Future< TimedRequestListResult> - List all timed request entries.
-
setAdapter(
VSCodeAdapter adapter) → void - Set the adapter for API calls.
-
triggerCheck(
) → Future< int> - Trigger immediate check for due entries.
-
update(
String entryId, {String? promptText, String? template, ScheduleMode? scheduleMode, int? intervalMinutes, List< ScheduledTime> ? scheduledTimes, TimedRequestStatus? status}) → Future<TimedRequest> - Update an existing timed request entry.