public class

CameraLiveView

extends RelativeLayout
implements VideoSurfaceView.DJIGLSurfaceViewListener
java.lang.Object
   ↳ RelativeLayout
     ↳ dji.sdk.camera.view.CameraLiveView

Class Overview

CameraLiveView provides a simplified FPV live view. To show the FPV live view in your activity, include it in XML file directly. No need for any configuration.

Summary

Constants
String TAG
Public Constructors
CameraLiveView(Context context)
CameraLiveView(Context context, AttributeSet attrs)
Public Methods
DJIVideoDecoderController onRenderCreated(SurfaceInterface surface)
void onRenderCreatedPrepared()
void onRenderDestroy()
void oneFrameComeIn()
void resetVideoSurface(int videoWidth, int videoHeight)
[Expand]
Inherited Methods
From class java.lang.Object
From interface dji.internal.view.VideoSurfaceView.DJIGLSurfaceViewListener

Constants

public static final String TAG

Constant Value: "CameraLiveView"

Public Constructors

public CameraLiveView (Context context)

public CameraLiveView (Context context, AttributeSet attrs)

Public Methods

public DJIVideoDecoderController onRenderCreated (SurfaceInterface surface)

public void onRenderCreatedPrepared ()

public void onRenderDestroy ()

public void oneFrameComeIn ()

public void resetVideoSurface (int videoWidth, int videoHeight)