1
1
import { Injectable } from '@angular/core' ;
2
- import { Cordova , CordovaFunctionOverride , IonicNativePlugin , Plugin } from '@ionic-native/core' ;
2
+ import {
3
+ Cordova ,
4
+ CordovaFunctionOverride ,
5
+ IonicNativePlugin ,
6
+ Plugin
7
+ } from '@ionic-native/core' ;
3
8
import { Observable } from 'rxjs' ;
4
9
5
10
export interface IndexItem {
@@ -16,7 +21,7 @@ export interface IndexItem {
16
21
/**
17
22
* Item keywords
18
23
*/
19
- keywords ?: Array < string > ;
24
+ keywords ?: Array < string > ;
20
25
21
26
/**
22
27
* Lifetime in minutes
@@ -78,7 +83,7 @@ export class IndexAppContent extends IonicNativePlugin {
78
83
* @return {Promise<boolean> } Returns a promise that resolves with true if indexing is available, false if not
79
84
*/
80
85
@Cordova ( )
81
- isIndexingAvailable ( ) : Promise < boolean > {
86
+ isIndexingAvailable ( ) : Promise < boolean > {
82
87
return ;
83
88
}
84
89
@@ -88,7 +93,7 @@ export class IndexAppContent extends IonicNativePlugin {
88
93
* @return {Promise<any> } Returns if index set was successfull
89
94
*/
90
95
@Cordova ( )
91
- setItems ( items : Array < IndexItem > ) : Promise < any > {
96
+ setItems ( items : Array < IndexItem > ) : Promise < any > {
92
97
return ;
93
98
}
94
99
@@ -98,7 +103,7 @@ export class IndexAppContent extends IonicNativePlugin {
98
103
* @return {Promise<any> } Resolve if successfull
99
104
*/
100
105
@Cordova ( )
101
- clearItemsForDomains ( domains : Array < string > ) : Promise < any > {
106
+ clearItemsForDomains ( domains : Array < string > ) : Promise < any > {
102
107
return ;
103
108
}
104
109
@@ -108,7 +113,7 @@ export class IndexAppContent extends IonicNativePlugin {
108
113
* @return {Promise<any> } Resolve if successfull
109
114
*/
110
115
@Cordova ( )
111
- clearItemsForIdentifiers ( identifiers : Array < string > ) : Promise < any > {
116
+ clearItemsForIdentifiers ( identifiers : Array < string > ) : Promise < any > {
112
117
return ;
113
118
}
114
119
@@ -118,7 +123,7 @@ export class IndexAppContent extends IonicNativePlugin {
118
123
* @returns {Observable<any> } returns an observable that notifies you when he user presses on the home screen icon
119
124
*/
120
125
@CordovaFunctionOverride ( )
121
- onItemPressed ( ) : Observable < any > {
126
+ onItemPressed ( ) : Observable < any > {
122
127
return ;
123
128
}
124
129
0 commit comments