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

View File

@@ -653,26 +653,6 @@ export class LocalNotifications extends IonicNativePlugin {
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
* @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>>}
*/
@Cordova()
getAllScheduled(): Promise<ILocalNotification[]> {
getScheduled(): Promise<ILocalNotification[]> {
return;
}
/**
* Get all triggered notification objects
* List of all triggered notifications
* @returns {Promise<Array<ILocalNotification>>}
*/
@Cordova()
getAllTriggered(): Promise<ILocalNotification[]> {
getTriggered(): Promise<ILocalNotification[]> {
return;
}