The current SoundCloudContextValue.
import { useSoundCloudContext } from "soundcloud-api-ts-next";
function DebugPanel() {
const { apiPrefix, isAuthenticated } = useSoundCloudContext();
return <pre>API: {apiPrefix}, Auth: {String(isAuthenticated)}</pre>;
}
Access the SoundCloud context value (API prefix, auth state, login/logout).
Must be called within a SoundCloudProvider. Prefer using higher-level hooks like useSCAuth for auth or data hooks like useTrack for fetching.