OfflineURIImage

@SerialName(value = "m.std.img.offline.uri")
data class OfflineURIImage(val uri: URI) : OfflineResourceImage(source)

基于 URIOfflineImage 实现。

uri 的序列化会通过 URI.toString 作为字符串进行。

Constructors

Link copied to clipboard
constructor(uri: URI)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val resource: URIResource

关联的资源对象

Link copied to clipboard

Functions

Link copied to clipboard
open override fun data(): ByteArray

Read bytes from uri.

Inherited functions

Link copied to clipboard
operator fun Message.plus(other: Message): Messages

合并两个 MessageMessages