Skip to content

API Overview ​

The methods a page calls with fb2k.invoke('namespace.method', params), by namespace. Events are listed in Events API. The SDK wraps these methods as fb.*; see SDK namespaces.

471 methods in 42 namespaces.

NamespaceMethodsDocumented on
artwork13Artwork API
audio17Audio API
clipboard4Clipboard API
config29Config API
console3Console API
cursor2Cursor API
dialog4Dialog API
discovery15Discovery API
dnd4Drag and Drop API
dsp8DSP API
event2Event API
file14File API
http8Http API
jitQueue8JIT Queue API
jitSession17JIT Session API
keyboard5Keyboard API
library27Library API
log3Log API
lyrics3Lyrics API
media2Media API
menu8Menu API
metadata12Metadata API
misc9Misc API
output3Output API
panel2Panel API
playback27Playback API
playcount4Playcount API
playlist54Playlist API
port5Port API
queue11Queue API
rating2Rating API
replaygain8ReplayGain API
selection6Selection API
shell5Shell API
state4State API
system9System API
taskbar5Taskbar API
titleformat5Titleformat API
tray16Tray API
ui5UI API
webview1WebView API
window82Window API

Two further methods, test.echo and test.ping, exist for testing the bridge itself and are described under Test API.

Conventions ​

  • Method names use dot format (playback.play); event names use colon format (playback:trackChanged). Event names cannot be invoked.
  • Names of the form namespace.__method belong to private internal pages (such as the system tray menu) and are not public APIs.