Interface
SegmentInterface
Magento\MediaGalleryMetadataApi\Model\SegmentInterface
What it does
This interface defines a data structure for representing metadata segments within media files (like images).
Developers use this when working with media gallery metadata operations to access and manipulate individual segments of file metadata, such as EXIF, IPTC, or XMP data blocks.
It provides methods to retrieve the segment name and its raw data content.
Public Methods
- getName()
- getData()
- getExtensionAttributes()
- setExtensionAttributes()