OfflinePathImage

@SerialName(value = "m.std.img.offline.path")
data class OfflinePathImage(val path: Path) : OfflineResourceImage(source)

基于 PathOfflineImage 实现。

path 的序列化会通过 Path.pathString 作为字符串进行。

Constructors

Link copied to clipboard
constructor(path: Path)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
open override val resource: PathResource

关联的资源对象

Functions

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

字节数据。默认通过 Resource.data 获取。

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Inherited functions

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

合并两个 MessageMessages