optical-drive allows read/write access to optical drives, suitable for CD/DVD/Blu-Ray playback and burning. This interface is not currently available to use on Ubuntu Core, only classic systems can use this interface.
Auto-Connect: by default, yes; when write: true, no
Attributes:
write:true|false, defaults tofalse.
write available in snap versions 2.33+.
ⓘ This is a snap interface. See Interface management and Supported interfaces for further details on how interfaces are used.