Parameters for tray.setContextMenu.
Replace the user rows of one menu zone (config.customPosition, default top); the other zones are left as they are. Nothing is stored when any row is rejected or the resource limits are exceeded. An ordinary row reports its click through tray:menuItemClicked; the built-in playback and system rows, and rows declaring playbackAction, run natively and do not. To replace every zone at once, use setMenuZones.
Parameters for
tray.setContextMenu. Replace the user rows of one menu zone (config.customPosition, defaulttop); the other zones are left as they are. Nothing is stored when any row is rejected or the resource limits are exceeded. An ordinary row reports its click throughtray:menuItemClicked; the built-in playback and system rows, and rows declaringplaybackAction, run natively and do not. To replace every zone at once, usesetMenuZones.