(1) Whenever any Sessions Judge or Magistrate, after having heard and recorded the whole- or any part of the evidence in an inquiry 'or a trial, ceases to exercise jurisdiction therein, and is succeeded by another Sessions Judge or Magistrate, so succeeding, may act on the evidence so recorded by his predecessor, or partly recorded by his prede...