UseCaseEventConfig

@RequiresApi(21) interface UseCaseEventConfig : ReadableConfig
androidx.camera.core.internal.UseCaseEventConfig

Configuration containing options pertaining to EventCallback object.

Summary

Nested classes
abstract

Builder for a UseCaseEventConfig.

Public methods
open EventCallback?
getUseCaseEventCallback(@Nullable valueIfMissing: EventCallback?)

Returns the EventCallback.

open EventCallback

Returns the EventCallback.

Inherited functions
Properties
static Config.Option<EventCallback!>!

Option: camerax.

Public methods

getUseCaseEventCallback

@Nullable open fun getUseCaseEventCallback(@Nullable valueIfMissing: EventCallback?): EventCallback?

Returns the EventCallback.

Parameters
valueIfMissing EventCallback?: The value to return if this configuration option has not been set.
Return
EventCallback? The stored value or valueIfMissing if the value does not exist in this configuration.

getUseCaseEventCallback

@NonNull open fun getUseCaseEventCallback(): EventCallback

Returns the EventCallback.

Return
EventCallback The stored value, if it exists in this configuration.

Properties

OPTION_USE_CASE_EVENT_CALLBACK

static val OPTION_USE_CASE_EVENT_CALLBACK: Config.Option<EventCallback!>!

Option: camerax.core.useCaseEventCallback