docs(): update docs

This commit is contained in:
Ibby
2016-12-06 09:52:39 -05:00
parent d5ac89996f
commit ae6a3cda7a
16 changed files with 351 additions and 331 deletions
+19 -15
View File
@@ -1,4 +1,20 @@
import { Plugin, Cordova } from './plugin';
export interface StreamingVideoOptions {
successCallback?: Function;
errorCallback?: Function;
orientation?: string;
}
export interface StreamingAudioOptions {
bgColor?: string;
bgImage?: string;
bgImageScale?: string;
initFullscreen?: boolean;
successCallback?: Function;
errorCallback?: Function;
}
/**
* @name StreamingMedia
* @description
@@ -17,6 +33,9 @@ import { Plugin, Cordova } from './plugin';
* StreamingMedia.('https://path/to/video/stream', options);
*
* ```
* @interfaces
* StreamingVideoOptions
* StreamingAudioOptions
*/
@Plugin({
pluginName: 'StreamingMedia',
@@ -61,18 +80,3 @@ export class StreamingMedia {
static resumeAudio(): void { }
}
export interface StreamingVideoOptions {
successCallback?: Function;
errorCallback?: Function;
orientation?: string;
}
export interface StreamingAudioOptions {
bgColor?: string;
bgImage?: string;
bgImageScale?: string;
initFullscreen?: boolean;
successCallback?: Function;
errorCallback?: Function;
}