capture

@RequiresApi(value = 33)
fun capture(instrumentation: Instrumentation, packageName: String): Locales?

Captures the locales configured for the specified application package.

Return

A snapshot representing the configured locales

Parameters

instrumentation

The instrumentation object

packageName

The package name of the application to query