public void invokeInfoListener ( int what , int extra ) { if ( infoListener != null ) { infoListener . onInfo ( player , what , extra ) ; } }
Allows test cases to directly simulate invocation of the OnInfo event .