Interface

PrefetchRequestScope

Scope for PrefetchRequest.execute, supplying info about how much time it has to execute requests and the type of execution mode.

Source set: Common
public interface PrefetchRequestScope

Scope for PrefetchRequest.execute, supplying info about how much time it has to execute requests and the type of execution mode.

Functions

availableTimeNanos

Source set: Common
public fun availableTimeNanos(): Long

How much time is available to do prefetch work. Implementations of PrefetchRequest should do their best to fit their work into this time without going over.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: