|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.imgstreaming.DesktopInteractImpl
public class DesktopInteractImpl
Capture desktop screen either via native code (JNI) if available or by using java.awt.Robot.
Robot| Constructor Summary | |
|---|---|
DesktopInteractImpl()
Constructor. |
|
| Method Summary | |
|---|---|
BufferedImage |
captureScreen()
Capture the full desktop screen using java.awt.Robot. |
boolean |
captureScreen(int display,
byte[] output)
Capture the full desktop screen using native grabber. |
BufferedImage |
captureScreen(int x,
int y,
int width,
int height)
Capture a part of the desktop screen using java.awt.Robot. |
boolean |
captureScreen(int display,
int x,
int y,
int width,
int height,
byte[] output)
Capture a part of the desktop screen using native grabber. |
boolean |
captureScreen(int display,
int x,
int y,
int width,
int height,
long buffer,
int bufferLength)
Capture a part of the desktop screen using native grabber. |
boolean |
captureScreen(int display,
long buffer,
int bufferLength)
Capture the full desktop screen using native grabber. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DesktopInteractImpl()
throws AWTException,
SecurityException
AWTException - if platform configuration does not allow low-level
input control
SecurityException - if Robot creation is not permitted| Method Detail |
|---|
public boolean captureScreen(int display,
byte[] output)
captureScreen in interface DesktopInteractdisplay - index of displayoutput - output buffer to store bytes in.
Be sure that output length is sufficient
public boolean captureScreen(int display,
long buffer,
int bufferLength)
captureScreen in interface DesktopInteractdisplay - index of displaybuffer - native output buffer to store bytes in.
Be sure that output length is sufficientbufferLength - length of native buffer
public boolean captureScreen(int display,
int x,
int y,
int width,
int height,
byte[] output)
captureScreen in interface DesktopInteractdisplay - index of displayx - x position to start capturey - y position to start capturewidth - capture widthheight - capture heightoutput - output buffer to store bytes in.
Be sure that output length is sufficient
public boolean captureScreen(int display,
int x,
int y,
int width,
int height,
long buffer,
int bufferLength)
captureScreen in interface DesktopInteractdisplay - index of displayx - x position to start capturey - y position to start capturewidth - capture widthheight - capture heightbuffer - native output buffer to store bytes in.
Be sure that output length is sufficientbufferLength - length of native buffer
public BufferedImage captureScreen()
captureScreen in interface DesktopInteract
public BufferedImage captureScreen(int x,
int y,
int width,
int height)
captureScreen in interface DesktopInteractx - x position to start capturey - y position to start capturewidth - capture widthheight - capture height
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||