In the Ionic Native Media plugin documentation found here, it mentions that there are both static and instance members, such as status.
I am looking for an example related to the file status in the media plugin.
I attempted to do this:
console.log(this.file.status);
which resulted in {"_isScalar":false}
this.file.status.then((status)=>{
console.log('status 2 :' + status)
});
yielded the error message this.file.status.then is not a function
this.file.status.subscribe((status)=>{
console.log('status 3 :' + status)
});
No output was logged from the subscribe method.
How can I successfully retrieve the file status? Additionally, how can the static members be utilized to achieve this?