public class Camera1Session
extends java.lang.Object
限定符和类型 | 类和说明 |
---|---|
static interface |
tee3.webrtc.CameraSession.CreateSessionCallback |
static interface |
tee3.webrtc.CameraSession.Events |
static class |
tee3.webrtc.CameraSession.FailureType |
限定符和类型 | 方法和说明 |
---|---|
static void |
create(tee3.webrtc.CameraSession.CreateSessionCallback callback,
tee3.webrtc.CameraSession.Events events,
boolean captureToTexture,
Context applicationContext,
SurfaceTextureHelper surfaceTextureHelper,
int cameraId,
int width,
int height,
int framerate) |
static Camera1Session |
getInstance() |
static int |
getMaxZoom() |
static int |
getOrgZoom() |
boolean |
isSupportZoom() |
static void |
setCameraOrientation(int orientation) |
int |
setCameraZoom(int zoom) |
void |
stop()
Stops the capture.
|
int |
turnOffFlash() |
int |
turnOnFlash() |
public static void create(tee3.webrtc.CameraSession.CreateSessionCallback callback, tee3.webrtc.CameraSession.Events events, boolean captureToTexture, Context applicationContext, SurfaceTextureHelper surfaceTextureHelper, int cameraId, int width, int height, int framerate)
public void stop()
public static Camera1Session getInstance()
public boolean isSupportZoom()
public int setCameraZoom(int zoom)
public static int getMaxZoom()
public static int getOrgZoom()
public int turnOnFlash()
public int turnOffFlash()
public static void setCameraOrientation(int orientation)