UNPKG

@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

8 lines 485 B
import { SpotifyError } from "../error"; export type AuthErrorCode = "USER_CANCELLED" | "AUTH_IN_PROGRESS" | "INVALID_CONFIG" | "NETWORK_ERROR" | "TOKEN_SWAP_FAILED" | "TOKEN_SWAP_PARSE_ERROR" | "REFRESH_TOKEN_EXPIRED" | "SPOTIFY_NOT_INSTALLED" | "AUTH_ERROR" | "UNKNOWN"; export declare class AuthError extends SpotifyError { readonly namespace: "Auth"; readonly code: AuthErrorCode; constructor(code: AuthErrorCode, message: string); } //# sourceMappingURL=error.d.ts.map