public class VideoOverlayLayer
extends AbstractLayer
| Modifier and Type | Class and Description |
|---|---|
static interface |
VideoOverlayLayer.VideoFrameListener
Callback interface for receipt of frame with corner coordinates.
|
| Constructor and Description |
|---|
VideoOverlayLayer(java.lang.String name,
VideoMetadata vmd) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispatch() |
void |
dispatchSizeChange(int w,
int h) |
void |
dispose() |
android.graphics.SurfaceTexture |
getDestinationTexture() |
boolean |
getFrameBounds(GeoPoint ul,
GeoPoint ur,
GeoPoint lr,
GeoPoint ll)
get the frame bounds for the image.
|
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
void |
setVideoFrameListener(VideoOverlayLayer.VideoFrameListener l)
Sets the current
VideoOverlayLayer.VideoFrameListener. |
void |
surfaceTextureReady(android.graphics.SurfaceTexture tex) |
public VideoOverlayLayer(java.lang.String name,
VideoMetadata vmd)
public void surfaceTextureReady(android.graphics.SurfaceTexture tex)
public android.graphics.SurfaceTexture getDestinationTexture()
public void dispose()
public void setEnabled(boolean enabled)
public boolean isEnabled()
public void setVideoFrameListener(VideoOverlayLayer.VideoFrameListener l)
VideoOverlayLayer.VideoFrameListener. If null the
current listener is cleared.l - A VideoOverlayLayer.VideoFrameListener or null.public boolean getFrameBounds(GeoPoint ul,
GeoPoint ur,
GeoPoint lr,
GeoPoint ll)
ul - upper left mutable geopointur - upper right mutable geopointlr - lower right mutable geopointll - lower left mutable geopointpublic void dispatch()
public void dispatchSizeChange(int w,
int h)