public BitmapWithMetadata getFrameWithMetadata() throws IOException {
    """
	Get frame at current position in AWT image
	
	@return A decoded frame with metadata.
	@throws IOException
    """
        PictureWithMetadata pictureWithMeta = getNativeFrameWithMetadata();
        if (pictureWithMeta == null)
            return null;
        Bitmap bitmap = AndroidUtil.toBitmap(pictureWithMeta.getPicture());
        return new BitmapWithMetadata(bitmap, pictureWithMeta.getTimestamp(), pictureWithMeta.getDuration());
    }
public BitmapWithMetadata getFrameWithMetadata() throws IOException {
        PictureWithMetadata pictureWithMeta = getNativeFrameWithMetadata();
        if (pictureWithMeta == null)
            return null;
        Bitmap bitmap = AndroidUtil.toBitmap(pictureWithMeta.getPicture());
        return new BitmapWithMetadata(bitmap, pictureWithMeta.getTimestamp(), pictureWithMeta.getDuration());
    }
public BitmapWithMetadata getFrameWithMetadata ( ) throws IOException { PictureWithMetadata pictureWithMeta = getNativeFrameWithMetadata ( ) ; if ( pictureWithMeta == null ) return null ; Bitmap bitmap = AndroidUtil . toBitmap ( pictureWithMeta . getPicture ( ) ) ; return new BitmapWithMetadata ( bitmap , pictureWithMeta . getTimestamp ( ) , pictureWithMeta . getDuration ( ) ) ; }
Get frame at current position in AWT image

@return A decoded frame with metadata.
@throws IOException
Get frame at current position in AWT image