Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

ExperimentalCustomizableThreads

class ExperimentalCustomizableThreads
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 androidx.core.content.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

Public constructors

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

Public constructors

<init>

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 androidx.core.content.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.