From b01c2ee1fbeece2efe99ff15a3f7c329cc95ba6c Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 18 Jul 2018 22:17:37 +0200 Subject: [PATCH] docs(build): fix lint --- .../plugins/streaming-media/index.ts | 26 +++++++------------ 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/src/@ionic-native/plugins/streaming-media/index.ts b/src/@ionic-native/plugins/streaming-media/index.ts index d9272fac..a9478e5b 100644 --- a/src/@ionic-native/plugins/streaming-media/index.ts +++ b/src/@ionic-native/plugins/streaming-media/index.ts @@ -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,8 +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 @@ -96,28 +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 {} }