fix(local-notifications): add missing functions (#2779)

closes: #2778
This commit is contained in:
Daniel Sogl 2018-10-17 19:53:22 +02:00 committed by GitHub
parent 2aa73b5546
commit 336b3ff89b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -653,26 +653,6 @@ export class LocalNotifications extends IonicNativePlugin {
return; return;
} }
/**
* Get a scheduled notification object
* @param notificationId {any} The id of the notification to get
* @returns {Promise<ILocalNotification>}
*/
@Cordova()
getScheduled(notificationId: any): Promise<ILocalNotification> {
return;
}
/**
* Get a triggered notification object
* @param notificationId The id of the notification to get
* @returns {Promise<ILocalNotification>}
*/
@Cordova()
getTriggered(notificationId: any): Promise<ILocalNotification> {
return;
}
/** /**
* Adds a group of actions * Adds a group of actions
* @param groupId The id of the action group * @param groupId The id of the action group
@ -727,20 +707,20 @@ export class LocalNotifications extends IonicNativePlugin {
} }
/** /**
* Get all scheduled notification objects * List of all scheduled notifications
* @returns {Promise<Array<ILocalNotification>>} * @returns {Promise<Array<ILocalNotification>>}
*/ */
@Cordova() @Cordova()
getAllScheduled(): Promise<ILocalNotification[]> { getScheduled(): Promise<ILocalNotification[]> {
return; return;
} }
/** /**
* Get all triggered notification objects * List of all triggered notifications
* @returns {Promise<Array<ILocalNotification>>} * @returns {Promise<Array<ILocalNotification>>}
*/ */
@Cordova() @Cordova()
getAllTriggered(): Promise<ILocalNotification[]> { getTriggered(): Promise<ILocalNotification[]> {
return; return;
} }