public static interface ZebraHud.EventListener
| Modifier and Type | Method and Description |
|---|---|
void |
onCameraImage(Bitmap bitmap)
Called when the HUD camera has captured an image.
|
void |
onCameraImageRawJpeg(byte[] jpeg)
Called when the HUD camera has captured an image, and returning them as raw jpeg frames
(from the motion-jpeg stream on the UVC camera).
|
void |
onConnected(java.lang.Boolean connected)
Called when the HUD connects or disconnects.
|
void |
onImageUpdated(byte[] bytes)
Called when the HUD display content has changed.
|
void onConnected(java.lang.Boolean connected)
connected - True if the HUD has connected, false if it has disconnectedvoid onImageUpdated(byte[] bytes)
The data passed here can be used to restore the HUD display using ZebraHud.showCachedImage(byte[]).
bytes - Array of bytes representing the display contentvoid onCameraImage(Bitmap bitmap)
bitmap - The image captured by the HUD cameravoid onCameraImageRawJpeg(byte[] jpeg)
jpeg - The jpeg image captured by the HUD camera