capture

fun capture(instrumentation: Instrumentation, uiAutomation: UiAutomation, 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