ImageObject
@Document(name = "builtin:ImageObject")
class ImageObject : Thing
Represents an image file.
See http://schema.org/ImageObject for more context.
Summary
Nested types |
|---|
class ImageObject.BuilderBuilder for |
Public functions |
|
|---|---|
Boolean |
|
ByteArray<Byte>? |
getBytes()Returns the byte representation of this image or video. |
(Mutable)List<Keyword!> |
Keywords or tags used to describe some item. |
String? |
The SHA-2 SHA256 hash of the content of the item. |
String? |
Returns the |
Int |
hashCode() |
Inherited functions |
||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public functions
getBytes
fun getBytes(): ByteArray<Byte>?
Returns the byte representation of this image or video. Can be a compressed bitmap (e.g. JPEG or PNG).
getKeywords
fun getKeywords(): (Mutable)List<Keyword!>
Keywords or tags used to describe some item.
See http://schema.org/keywords for more context.
getSha256
fun getSha256(): String?
The SHA-2 SHA256 hash of the content of the item. For example, a zero-length input has value 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'.
See http://schema.org/sha256 for more context.
getThumbnailSha256
fun getThumbnailSha256(): String?
Returns the sha256 for the thumbnail of this image or video.