Resolve a device plugin slot's image source to display information.
slot_index is the plugin's slot (0 = system, 1 = user); since a device's
plugins are reported in slot order, the caller can pass the plugin's index
within the plugins list. source is the image source the device recorded.
fetch_callback is a JS async function (url: string) => Promise<Uint8Array>,
used only for official plugins, to fetch the release manifest for the display
name and description.
The manifest fetch is best-effort: on any failure the label falls back to the
slug, so this never rejects on a network error. Returns JS null only when
slot_index is not a plugin slot.
Resolve a device plugin slot's image source to display information.
slot_indexis the plugin's slot (0 = system, 1 = user); since a device's plugins are reported in slot order, the caller can pass the plugin's index within the plugins list.sourceis the image source the device recorded.fetch_callbackis a JS async function(url: string) => Promise<Uint8Array>, used only for official plugins, to fetch the release manifest for the display name and description.The manifest fetch is best-effort: on any failure the label falls back to the slug, so this never rejects on a network error. Returns JS
nullonly whenslot_indexis not a plugin slot.