mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
chore(package): bump dependencies and lint rules
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Cordova, Plugin, IonicNativePlugin } from '@ionic-native/core';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
|
||||
|
||||
/**
|
||||
* @beta
|
||||
@@ -33,13 +33,14 @@ import { Injectable } from '@angular/core';
|
||||
})
|
||||
@Injectable()
|
||||
export class NativeRingtones extends IonicNativePlugin {
|
||||
|
||||
/**
|
||||
* Get the ringtone list of the device
|
||||
* @return {Promise<any>} Returns a promise that resolves when ringtones found successfully
|
||||
*/
|
||||
@Cordova()
|
||||
getRingtone(): Promise<any> { return; }
|
||||
getRingtone(): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function starts playing the ringtone
|
||||
@@ -47,7 +48,9 @@ export class NativeRingtones extends IonicNativePlugin {
|
||||
* @return {Promise<any>} Returns a promise
|
||||
*/
|
||||
@Cordova()
|
||||
playRingtone(ringtoneUri: string): Promise<any> { return; }
|
||||
playRingtone(ringtoneUri: string): Promise<any> {
|
||||
return;
|
||||
}
|
||||
|
||||
/**
|
||||
* This function stops playing the ringtone
|
||||
@@ -55,5 +58,7 @@ export class NativeRingtones extends IonicNativePlugin {
|
||||
* @return {Promise<any>} Returns a promise
|
||||
*/
|
||||
@Cordova()
|
||||
stopRingtone(ringtoneUri: string): Promise<any> { return; }
|
||||
stopRingtone(ringtoneUri: string): Promise<any> {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user