chore(package): bump dependencies and lint rules

This commit is contained in:
Daniel
2018-03-16 22:04:01 +01:00
parent 7547a94c80
commit 21ad4734fa
178 changed files with 10565 additions and 4194 deletions
@@ -1,5 +1,6 @@
import { Injectable } from '@angular/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';
/**
* @name Native Audio
* @description Native Audio Playback
@@ -45,7 +46,9 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
preloadSimple(id: string, assetPath: string): Promise<any> {return; }
preloadSimple(id: string, assetPath: string): Promise<any> {
return;
}
/**
* Loads an audio file into memory. Optimized for background music / ambient sound. Uses highlevel native APIs with a larger footprint. (iOS: AVAudioPlayer). Can be stopped / looped and used with multiple voices. Can be faded in and out using the delay parameter.
@@ -57,7 +60,15 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
preloadComplex(id: string, assetPath: string, volume: number, voices: number, delay: number): Promise<any> {return; }
preloadComplex(
id: string,
assetPath: string,
volume: number,
voices: number,
delay: number
): Promise<any> {
return;
}
/**
* Plays an audio asset
@@ -69,7 +80,9 @@ export class NativeAudio extends IonicNativePlugin {
successIndex: 1,
errorIndex: 2
})
play(id: string, completeCallback?: Function): Promise<any> {return; }
play(id: string, completeCallback?: Function): Promise<any> {
return;
}
/**
* Stops playing an audio
@@ -77,7 +90,9 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
stop(id: string): Promise<any> {return; }
stop(id: string): Promise<any> {
return;
}
/**
* Loops an audio asset infinitely, this only works for complex assets
@@ -85,7 +100,9 @@ export class NativeAudio extends IonicNativePlugin {
* @return {Promise<any>}
*/
@Cordova()
loop(id: string): Promise<any> {return; }
loop(id: string): Promise<any> {
return;
}
/**
* Unloads an audio file from memory
@@ -93,7 +110,9 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
unload(id: string): Promise<any> {return; }
unload(id: string): Promise<any> {
return;
}
/**
* Changes the volume for preloaded complex assets.
@@ -102,6 +121,7 @@ export class NativeAudio extends IonicNativePlugin {
* @returns {Promise<any>}
*/
@Cordova()
setVolumeForComplexAsset(id: string, volume: number): Promise<any> {return; }
setVolumeForComplexAsset(id: string, volume: number): Promise<any> {
return;
}
}