0.1.2 • Published 4 years ago

react-native-mediastore v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

react-native-mediastore

React Native Media Store

Installation

npm install react-native-mediastore

Usage

import Mediastore from "react-native-mediastore";

// ...

const result = await Mediastore.readAudioVideoExternalMedias();
type MediastoreFileType = {
  id: number,
  name: string,
  duration: number,
  size: number,
  mime: string,
  title: string,
  album: string,
  artist: string,
  genreId: string,
  genreName: string,
  contentUri: string
}

type MediastoreType = {
  readAudioVideoExternalMedias(): Promise<Array<MediastoreFileType>>;
};

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT