Module matrix_sdk::media
source · Expand description
High-level media API.
Structs§
- A high-level API to interact with the media API.
- MediaFileHandleNon-WebAssemblyA file handle that takes ownership of a media file on disk. When the handle is dropped, the file will be removed from the disk.
- Parameters for a request for retrieve media data.
- The desired settings of a media thumbnail.
- PersistErrorNon-WebAssemblyError returned when
MediaFileHandle::persist
fails. - A preallocated MXC URI created by
Media::create_content_uri()
, and to be used withMedia::upload_preallocated()
.
Enums§
- An error that happened in the realm of media.
- The requested format of a media file.
Traits§
- Trait for media event content.
- A trait to uniquely identify values of the same type.
Type Aliases§
IntoFuture
returned byMedia::upload
.