Mark Carney was sworn in as Canada's 24th prime minister on Friday and delivered his first remarks in the role before taking questions from the media.