getCurrentState

open fun getCurrentState(): Promise<PlaybackState?>

Collect metadata on local playback.

Return

Returns a Promise. It will return either a WebPlaybackState object or null depending on if the user is successfully connected.

Sources

(source)
Link copied to clipboard