public boolean addWebcamListener ( WebcamListener l ) { if ( l == null ) { throw new IllegalArgumentException ( "Webcam listener cannot be null!" ) ; } assert listeners != null ; return listeners . add ( l ) ; }
Add webcam listener .