mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-31 18:49:43 +08:00
fix(call-log): update getCallLog signature
This commit is contained in:
parent
4b9cf17cbb
commit
61c0ecfa4f
@ -28,15 +28,13 @@ export class CallLog extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* This function return the call logs
|
||||
* @param dateFrom {string} get logs from this date (format yyyy-MM-dd)
|
||||
* @param dateTo {string} get logs until this date (format yyyy-MM-dd)
|
||||
* @param filters {object[]} array of object to filter the query
|
||||
* Object must respect this structure {'name':'...', 'value': '...', 'operator': '=='}
|
||||
* (see https://github.com/creacore-team/cordova-plugin-calllog for more details)
|
||||
* @return {Promise<any>}
|
||||
*/
|
||||
@Cordova()
|
||||
getCallLog(dateFrom: string, dateTo: string, filters: object[]): Promise<any> { return; }
|
||||
getCallLog(filters: object[]): Promise<any> { return; }
|
||||
|
||||
/**
|
||||
* Check permission
|
||||
|
Loading…
Reference in New Issue
Block a user