docs(build): fix lint

This commit is contained in:
Daniel 2018-07-18 22:17:37 +02:00
parent bea5eaea1a
commit b01c2ee1fb

View File

@ -25,9 +25,9 @@ export interface StreamingAudioOptions {
bgColor?: string; bgColor?: string;
/** Background image for audio player. */ /** Background image for audio player. */
bgImage?: string; bgImage?: string;
/** /**
* Background image scale for audio player. * Background image scale for audio player.
* Valid values are: * Valid values are:
* fit * fit
* stretch * stretch
* aspectStretch. * aspectStretch.
@ -35,9 +35,9 @@ export interface StreamingAudioOptions {
bgImageScale?: string; bgImageScale?: string;
/** Start audio player in full screen. iOS only. */ /** Start audio player in full screen. iOS only. */
initFullscreen?: boolean; initFullscreen?: boolean;
/** /**
* Keeps the screen lit and stops it from locking * Keeps the screen lit and stops it from locking
* while audio is playing. Android only. * while audio is playing. Android only.
*/ */
keepAwake?: boolean; keepAwake?: boolean;
/** Executes after success playing audio. */ /** Executes after success playing audio. */
@ -87,8 +87,7 @@ export class StreamingMedia extends IonicNativePlugin {
* @param options {StreamingVideoOptions} Options * @param options {StreamingVideoOptions} Options
*/ */
@Cordova({ sync: true }) @Cordova({ sync: true })
playVideo(videoUrl: string, options?: StreamingVideoOptions): void { playVideo(videoUrl: string, options?: StreamingVideoOptions): void {}
}
/** /**
* Streams an audio * Streams an audio
@ -96,28 +95,23 @@ export class StreamingMedia extends IonicNativePlugin {
* @param options {StreamingAudioOptions} Options * @param options {StreamingAudioOptions} Options
*/ */
@Cordova({ sync: true }) @Cordova({ sync: true })
playAudio(audioUrl: string, options?: StreamingAudioOptions): void { playAudio(audioUrl: string, options?: StreamingAudioOptions): void {}
}
/** /**
* Stops streaming audio * Stops streaming audio
*/ */
@Cordova({ sync: true }) @Cordova({ sync: true })
stopAudio(): void { stopAudio(): void {}
}
/** /**
* Pauses streaming audio * Pauses streaming audio
*/ */
@Cordova({ sync: true, platforms: ['iOS'] }) @Cordova({ sync: true, platforms: ['iOS'] })
pauseAudio(): void { pauseAudio(): void {}
}
/** /**
* Resumes streaming audio * Resumes streaming audio
*/ */
@Cordova({ sync: true, platforms: ['iOS'] }) @Cordova({ sync: true, platforms: ['iOS'] })
resumeAudio(): void { resumeAudio(): void {}
}
} }