Media

interface Media

A Media represents media information of a Message in a Conversation.

Functions

Link copied to clipboard
abstract fun getTemporaryContentUrl(listener: CallbackListener<String>): CancellationToken

Returns direct content URL for the media.

Properties

Link copied to clipboard
abstract val category: MediaCategory

Media category, can be one of the MediaCategory values.

Link copied to clipboard
abstract val contentType: String

Content type of media.

Link copied to clipboard
abstract val filename: String?

File name if present, empty string otherwise.

Link copied to clipboard
abstract val sid: String

The server-assigned unique identifier for Media.

Link copied to clipboard
abstract val size: Long

Size of media, bytes.