@wwdrew/expo-spotify-sdk
Version:
Expo module wrapping the native Spotify iOS (v5) and Android (v4) SDKs for OAuth authentication and App Remote playback control
28 lines • 1.44 kB
JavaScript
// ---------------------------------------------------------------------------
// Hooks (v1 public API)
// ---------------------------------------------------------------------------
export { useSession, useConnectionState, usePlayerState, useCurrentTrack, useIsPlaying, usePlaybackPosition, useCapabilities, useLibraryState, } from "./hooks";
// ---------------------------------------------------------------------------
// Namespaces (v1 public API)
// ---------------------------------------------------------------------------
export { Auth } from "./auth";
export { AppRemote } from "./app-remote";
export { Player } from "./player";
export { User } from "./user";
export { Content } from "./content";
export { Images } from "./images";
// ---------------------------------------------------------------------------
// Error hierarchy
// ---------------------------------------------------------------------------
export { SpotifyError } from "./error";
export { AuthError } from "./auth";
export { AppRemoteError } from "./app-remote";
export { PlayerError } from "./player";
export { UserError } from "./user";
export { ContentError } from "./content";
export { ImagesError } from "./images";
// ---------------------------------------------------------------------------
// URI helpers
// ---------------------------------------------------------------------------
export { SpotifyURI } from "./uri";
//# sourceMappingURL=index.js.map