public interface

CameraStateRegistry.OnOpenAvailableListener

 androidx.camera.core.impl.CameraStateRegistry.OnOpenAvailableListener

Overview

A listener that is notified when a camera slot becomes available for opening.

Summary

Methods
public voidonOpenAvailable()

Called when a camera slot becomes available for opening.

Methods

public void onOpenAvailable()

Called when a camera slot becomes available for opening.

Listeners can attempt to open a slot with CameraStateRegistry.tryOpenCamera(Camera) after receiving this signal.

Only cameras that are in a CameraInternal.State.PENDING_OPEN state will receive this signal.