Expand description
High-level media API.
Structs§
- Media
- A high-level API to interact with the media API.
- Media
File Handle Non-WebAssembly - A file handle that takes ownership of a media file on disk. When the handle is dropped, the file will be removed from the disk.
- Media
Request Parameters - Parameters for a request for retrieve media data.
- Media
Retention Policy - The retention policy for media content used by the
EventCacheStore
. - Media
Thumbnail Settings - The desired settings of a media thumbnail.
- Persist
Error Non-WebAssembly - Error returned when
MediaFileHandle::persist
fails. - Preallocated
MxcUri - A preallocated MXC URI created by
Media::create_content_uri()
, and to be used withMedia::upload_preallocated()
.
Enums§
- Media
Error - An error that happened in the realm of media.
- Media
Format - The requested format of a media file.
Traits§
- Media
Event Content - Trait for media event content.
- Unique
Key - A trait to uniquely identify values of the same type.
Type Aliases§
- Send
Upload Request IntoFuture
returned byMedia::upload
.