Example snippets in documentation

To help snap developers better understand both Plugins and Interfaces, we’re going add at least one snippet/example to each element’s respective documentation page.

To better coordinate this effort, we’re using the two simple tables (below) to list all the plugins and interfaces alongside a date for when an example was added/updated.

For more details on Plugins and Interfaces, see Snapcraft plugins and Supported interfaces.

ⓘ Anyone is free to add an example they think helps better explain the functionality of a given topic.

Plugin examples
Interface examples
Interface Date updated
account-control
accounts-service
adb-support
alsa
appstream-metadata
audio-playback
audio-record
autopilot-introspection
avahi-control
avahi-observe
block-devices
bluetooth-control
bluez
bool-file
broadcom-asic-control
browser-support
calendar-services
camera
can-bus
cifs-mount
classic-support
contacts-service
content
core-support
cpu-control
cups-control
daemon-notify
dbus
dcdbas-control
desktop
desktop-legacy
device-buttons
display-control
docker
docker-support
dummy
dvb
firewall-control
framebuffer
fuse-support
fwupd
gpg-keys
gpg-public-keys
gpio
gpio-control
gpio-memory-control
greengrass-support
gsettings
hardware-observe
hardware-random-control
hardware-random-observe
hidraw
home
hostname-control
i2c
iio
intel-mei
io-ports-control
jack1
joystick
juju-client-observe
kernel-module-control
kernel-module-observe
kubernetes-support
kvm
libvirt
locale-control
location-control
location-observe
login-session-control
login-session-observe
log-observe
lxd
lxd-support
maliit
media-hub
mir
modem-manager
mount-observe
mpris
multipass-support
netlink-audit
netlink-connector
network
network-bind
network-control
network-manager
network-manager-observe
network-observe
network-setup-control
network-setup-observe
network-status
ofono
online-accounts-service
opengl
openvswitch
openvswitch-support
optical-drive
packagekit-control
password-manager-service
personal-files
physical-memory-control
physical-memory-observe
ppp
process-control
pulseaudio
raw-usb
raw-volume
removable-media
screencast-legacy
screen-inhibit-control
serial-port
shutdown
snapd-control
spi
ssh-keys
ssh-public-keys
storage-framework-service
system-backup
system-files
system-observe
system-trace
thumbnailer-service
time-control
timeserver-control
timezone-control
tpm
u2f-devices
ubuntu-download-manager
udisks2
uhid
uio
unity7
unity8
unity8-calendar
unity8-contacts
upower-observe
wayland
x11