mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
refactor: update lint rules
This commit is contained in:
@@ -293,41 +293,41 @@ export class Media extends IonicNativePlugin {
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
MEDIA_NONE: number = 0;
|
||||
MEDIA_NONE = 0;
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
MEDIA_STARTING: number = 1;
|
||||
MEDIA_STARTING = 1;
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
MEDIA_RUNNING: number = 2;
|
||||
MEDIA_RUNNING = 2;
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
MEDIA_PAUSED: number = 3;
|
||||
MEDIA_PAUSED = 3;
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
MEDIA_STOPPED: number = 4;
|
||||
MEDIA_STOPPED = 4;
|
||||
|
||||
// error codes
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
MEDIA_ERR_ABORTED: number = 1;
|
||||
MEDIA_ERR_ABORTED = 1;
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
MEDIA_ERR_NETWORK: number = 2;
|
||||
MEDIA_ERR_NETWORK = 2;
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
MEDIA_ERR_DECODE: number = 3;
|
||||
MEDIA_ERR_DECODE = 3;
|
||||
/**
|
||||
* @hidden
|
||||
*/
|
||||
MEDIA_ERR_NONE_SUPPORTED: number = 4;
|
||||
MEDIA_ERR_NONE_SUPPORTED = 4;
|
||||
|
||||
/**
|
||||
* Open a media file
|
||||
|
||||
Reference in New Issue
Block a user