public enum

BufferProvider.State

extends java.lang.Enum<BufferProvider.State>

 java.lang.Object

↳java.lang.Enum<BufferProvider.State>

↳androidx.camera.video.internal.BufferProvider.State

Overview

The state of the BufferProvider.

Summary

Enum Constants
ACTIVEThe state means it is able to acquire a buffer.
INACTIVEThe state means it is not able to acquire buffer.
Methods
public static BufferProvider.StatevalueOf(java.lang.String name)

public static BufferProvider.Statevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

ACTIVE

The state means it is able to acquire a buffer.

INACTIVE

The state means it is not able to acquire buffer.

The acquisition via BufferProvider.acquireBuffer() will get a result with java.lang.IllegalStateException.

Methods

public static BufferProvider.State values()

public static BufferProvider.State valueOf(java.lang.String name)