public interface MarvinVideoInterface
| 限定符和类型 | 方法和说明 |
|---|---|
void |
connect(int deviceIndex) |
void |
connect(int deviceIndex,
int width,
int height) |
void |
disconnect() |
MarvinImage |
getFrame() |
int |
getFrameNumber() |
int |
getImageHeight() |
int |
getImageWidth() |
void |
loadResource(String path) |
void |
setFrameNumber(int number) |
void connect(int deviceIndex)
throws MarvinVideoInterfaceException
void connect(int deviceIndex,
int width,
int height)
throws MarvinVideoInterfaceException
void loadResource(String path) throws MarvinVideoInterfaceException
void disconnect()
throws MarvinVideoInterfaceException
int getFrameNumber()
void setFrameNumber(int number)
throws MarvinVideoInterfaceException
int getImageWidth()
int getImageHeight()
MarvinImage getFrame() throws MarvinVideoInterfaceException
Copyright © 2018. All rights reserved.