ExperimentalCustomizableThreads

public abstract @interface ExperimentalCustomizableThreads
implements Annotation

androidx.camera.core.ExperimentalCustomizableThreads


Denotes that the annotated method uses an experimental API that swaps the default threading implementation with a user-defined threading implementation.

These APIs may not always be compatible with all user-defined implementations. For example. using a main thread executor, such as the one returned by ContextCompat.getMainExecutor(android.content.Context) may cause undesired behavior such as causing the app's UI to stutter.

CameraX often provides default threading implementations that are optimized for the given API, so customizing threads should only be done by advanced users with very specific threading requirements.

Summary

Inherited methods