FileData

@Serializable
data class FileData(val mimeType: String, val fileUri: String)

Encapsulates data about a file, including its MIME type and a URI pointing to its location.

Constructors

Link copied to clipboard
constructor(mimeType: String, fileUri: String)

Properties

Link copied to clipboard
val fileUri: String

A string containing the Uniform Resource Identifier (URI) of the file. This URI specifies where the file can be accessed or downloaded from, providing a reference to the file's location.

Link copied to clipboard
val mimeType: String

A string representing the MIME type of the file, which describes the nature and format of the file content (e.g., "image/jpeg" for JPEG images).