import { Smartlook, SmartlookSetupConfig } from '@awesome-cordova-plugins/smartlook/ngx';
...
@Component( ... )
export class AppComponent {
constructor(private smartlook: Smartlook) {
this.platform.ready().then(() => {
this.smartlook.setupAndStartRecording(new SmartlookSetupConfig("YOUR API KEY"));
}
}
}