LocalNotifications plugin Cordova

Hi

I want to make an application with notifications.
I’m using it doing it like this :

$cordovaLocalNotification.schedule({
                    id: 1,
                    title: '',
                    text: $scope.data.name + ' , ben je er klaar voor om samen op zoek te gaan naar een job?',
                    every:'weekly',
                    data: {
                        customProperty: 'custom value'
                    }
                }).then(function (result) {
                    // ...
                }); 

It works, but I have a question about the .then part.
What function has that part?

Thanks in advance

It will trigger when you dismiss a notification.

Hm oke. Thank you very much