Ionic 2 :: Camera - Barcode-Scanner

I want to build a application which could read barcodes but there is no documentation how to use the Camera.

Do someone know how to import and use the camera-module?

You could use the ionic native

http://ionicframework.com/docs/v2/native/BarcodeScanner/

But so far, I could not make it work yet. I have a BB10, maybe it is the reason (even if the phonegape plugin is compatible. I always get “undefined”