public class GLVideoOverlayLayer extends GLAbstractLayer implements VideoOverlayLayer.VideoFrameListener
| Modifier and Type | Field and Description |
|---|---|
static GLLayerSpi2 |
SPI2 |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawImpl(GLMapView view) |
protected void |
init() |
void |
release() |
void |
start() |
void |
stop() |
void |
videoFrame(GeoPoint upperLeft,
GeoPoint upperRight,
GeoPoint lowerRight,
GeoPoint lowerLeft)
The video frame callback function.
|
void |
videoFrameSizeChange(int w,
int h)
Inform listener that source video size has changed.
|
public void start()
public void stop()
protected void init()
protected void drawImpl(GLMapView view)
public void release()
public void videoFrameSizeChange(int w,
int h)
VideoOverlayLayer.VideoFrameListenervideoFrameSizeChange in interface VideoOverlayLayer.VideoFrameListenerw - video widthh - video heightpublic void videoFrame(GeoPoint upperLeft,
GeoPoint upperRight,
GeoPoint lowerRight,
GeoPoint lowerLeft)
VideoOverlayLayer.VideoFrameListenerDouble.NaN,
indicating that the information is not available.
IMPORTANT: The object contents are only valid during invocation of the callback; if any of the coordinate objects are going to be used outside of the scope of the callback copies must be created.
videoFrame in interface VideoOverlayLayer.VideoFrameListenerupperLeft - The coordinate associated with the upper-left
corner of the frame; may not be
null. Either or both latitude and
longitude may be Double.NaN if the data
is not available.upperRight - The coordinate associated with the upper-right
corner of the frame; may not be
null. Either or both latitude and
longitude may be Double.NaN if the data
is not available.lowerRight - The coordinate associated with the lower-right
corner of the frame; may not be
null. Either or both latitude and
longitude may be Double.NaN if the data
is not available.lowerLeft - The coordinate associated with the lower-left
corner of the frame; may not be
null. Either or both latitude and
longitude may be Double.NaN if the data
is not available.