public class Camera2VideoSourceImpl implements VideoSource
Modifier and Type | Class and Description |
---|---|
static class |
Camera2VideoSourceImpl.Companion |
Modifier and Type | Field and Description |
---|---|
static Camera2VideoSourceImpl.Companion |
Companion |
static int |
MIN_FRAME_HEIGHT |
static int |
MIN_FRAME_WIDTH |
static java.lang.String |
TAG |
Constructor and Description |
---|
Camera2VideoSourceImpl(android.app.Application application,
int desiredWidth,
int desiredHeight,
boolean useAutofocus) |
Modifier and Type | Method and Description |
---|---|
void |
attach(VideoSourceListener videoSourceListener) |
void |
detach() |
ImageSize |
getPreviewSize() |
attach, detach
public static java.lang.String TAG
public static int MIN_FRAME_WIDTH
public static int MIN_FRAME_HEIGHT
public static Camera2VideoSourceImpl.Companion Companion
public Camera2VideoSourceImpl(android.app.Application application, int desiredWidth, int desiredHeight, boolean useAutofocus)
public ImageSize getPreviewSize()
public void attach(VideoSourceListener videoSourceListener)
public void detach()