OptionMatcher
Kotlin
|Java
interface OptionMatcher
androidx.camera.core.impl.Config.OptionMatcher |
A callback for retrieving results of a Config.Option
search.
Summary
Public methods | |
---|---|
abstract Boolean |
onOptionMatched(@NonNull option: Config.Option<*>) Receives results from |
Public methods
onOptionMatched
abstract fun onOptionMatched(@NonNull option: Config.Option<*>): Boolean
Receives results from Config#findOptions(String, OptionMatcher)
.
When searching for a specific option in a Config
, Option
s will be sent to onOptionMatched(Option)
in the order in which they are found.
Parameters | |
---|---|
option |
Config.Option<*>: The matched option. |
Return | |
---|---|
Boolean |
false if no further results are needed; true otherwise. |