Skip to content
Taku Docs
API referenceGenerated API referenceKeep working in the background

Version 1.4.0 (current)

Ordinary background tasks, boot notifications, and recovery · runtime.background-public

Periodic organization, synchronization, and restoration of owned tasks

Purpose and status

Periodic organization, synchronization, and restoration of owned tasks

Inventory status as of 2026-10-10: Research record; no runtime pass recorded here (research).

Not tested. The example is a research entry point, not an installed Taku API.

Before calling

Source descriptions below retain their original language; identifiers and commands are unchanged.

FieldSource value
apiMin21
minimumBasisKey methods used by the example / this project’s target version
publicSdkClasstrue
exampleApiMin23
declaredVersionNotesAPI declarations are not device guarantees; recheck per targetSdk / OEM branch.
Device conditions (source record as of 2026-10-10)Historical source wording, 2026-10-10: Public APIs need matching hardware / OEM support; this project has only AgentOS_ImageCheck ARM64, with no verified physical device
Environments recorded as of 2026-10-10[]

ROM requirement: The basic form of this capability needs no flashing; the current experimental implementation may use higher privileges

Permissions and authorization

Permission or qualificationAuthorization condition
RECEIVE_BOOT_COMPLETED; BIND_JOB_SERVICE service binding; FGS types and permissionsImplement JobService/BootReceiver; tasks can persist but are subject to Doze/quota/OEM limits; DirectBoot data needs separate design

Entry points

Entry pointAvailability
JobScheduler / BOOT_COMPLETEDUpstream API / research implementation entry point; not an available Taku SDK method

Call examples

android_api_snippet

Environment: Kotlin method snippet for a regular Android project; complete the Manifest/permissions/lifecycle per the docs; not a directly executable CLI

Prerequisites: Implement JobService/BootReceiver; tasks can persist but are subject to Doze/quota/OEM limits; DirectBoot data needs separate design

val info = JobInfo.Builder(42, ComponentName(this, ProbeJobService::class.java)).setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY).build()
val result = getSystemService(JobScheduler::class.java).schedule(info)

Expected result: RESULT_SUCCESS means the job entered system scheduling, not that it runs immediately

Executed in the source record’s run: Not executed in that run; see the validation scope below.

Limitations

  • Ordinary background execution does not guarantee constant operation or exact timing; background FGS launches have constraints.
  • A running broker and restart persistence of light-app JSON do not establish automatic recovery of all tasks.

Validation records

Research

FieldSource value
statusdocumented
scopeUpstream mechanism and research variants; see limitations for unimplemented parts

Emulator

FieldSource value
statusnot_verified
targetAgentOS_ImageCheck / API36 / ARM64
scopeNot tested. The example is a research entry point, not an installed Taku API.
date2026-10-10

Physical device

FieldSource value
statusnot_verified
date—
devices[]

Not yet verified on a physical device as of 2026-10-10. See current progress for later status.

Look up runtime.background-public in capabilities.en.json for the complete record. See current progress for later project evidence.

Upstream references

Chinese version.

Version and sources

Generated from the Taku OS specification 0.1.0. The inventory records 2026-10-10; see Current progress for later device support. Detailed source prose can remain in its original language.

Research preview · Current availability

Documentation retrieval

Search the published documentation for excerpts and citations. This uses full-text retrieval, not LLM-generated answers.

Every result links to the original article. Read research ideas separately from verified capabilities.

Help and troubleshooting →
Was this article helpful?
Report an issue or give feedback

Delivery to the maintenance queue does not mean it has been handled. Feedback is retained for 90 days.

Built with Fumadocs

On this page