private void configureDisplayView ( ) { if ( mDisplayView instanceof GLCameraEncoderView ) ( ( GLCameraEncoderView ) mDisplayView ) . setCameraEncoder ( this ) ; else if ( mDisplayView instanceof GLCameraView ) ( ( GLCameraView ) mDisplayView ) . setCamera ( mCamera ) ; }
Communicate camera - ready state to our display view . This method allows us to handle custom subclasses