mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
docs(): update docs
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user