refactor: update lint rules

This commit is contained in:
Daniel
2018-09-17 17:09:46 +02:00
parent a7830693af
commit 0c7cfeeeb8
95 changed files with 1603 additions and 994 deletions
@@ -25,9 +25,9 @@ export interface StreamingAudioOptions {
bgColor?: string;
/** Background image for audio player. */
bgImage?: string;
/**
/**
* Background image scale for audio player.
* Valid values are:
* Valid values are:
* fit
* stretch
* aspectStretch.
@@ -35,9 +35,9 @@ export interface StreamingAudioOptions {
bgImageScale?: string;
/** Start audio player in full screen. iOS only. */
initFullscreen?: boolean;
/**
* Keeps the screen lit and stops it from locking
* while audio is playing. Android only.
/**
* Keeps the screen lit and stops it from locking
* while audio is playing. Android only.
*/
keepAwake?: boolean;
/** Executes after success playing audio. */
@@ -87,7 +87,7 @@ export class StreamingMedia extends IonicNativePlugin {
* @param options {StreamingVideoOptions} Options
*/
@Cordova({ sync: true })
playVideo(videoUrl: string, options?: StreamingVideoOptions): void { }
playVideo(videoUrl: string, options?: StreamingVideoOptions): void {}
/**
* Streams an audio
@@ -95,24 +95,23 @@ export class StreamingMedia extends IonicNativePlugin {
* @param options {StreamingAudioOptions} Options
*/
@Cordova({ sync: true })
playAudio(audioUrl: string, options?: StreamingAudioOptions): void { }
playAudio(audioUrl: string, options?: StreamingAudioOptions): void {}
/**
* Stops streaming audio
*/
@Cordova({ sync: true })
stopAudio(): void { }
stopAudio(): void {}
/**
* Pauses streaming audio
*/
@Cordova({ sync: true, platforms: ['iOS'] })
pauseAudio(): void { }
pauseAudio(): void {}
/**
* Resumes streaming audio
*/
@Cordova({ sync: true, platforms: ['iOS'] })
resumeAudio(): void { }
resumeAudio(): void {}
}