@Document(name = "builtin:ImageObject")
class ImageObject : Thing


Represents an image file.

See http://schema.org/ImageObject for more context.

Summary

Nested types

Builder for ImageObject.

Public functions

Boolean
equals(o: Any!)
ByteArray<Byte>?

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 sha256 for the thumbnail of this image or video.

Int

Inherited functions

From androidx.appsearch.builtintypes.Thing
(Mutable)List<String!>

Returns an unmodifiable list of aliases, if any, for this item.

Long

Returns the creation timestamp, in milliseconds since Unix epoch, of this item.

String?

Returns a description of this item.

Int

Returns the intrinsic score (or importance) of this item.

Long

Returns the time-to-live timestamp, in milliseconds since getCreationTimestampMillis, for this item.

String

Returns the unique identifier for this item.

String?

Returns the URL for an image of this item.

String?

Returns the name of this item.

String

Returns the namespace (or logical grouping) for this item.

(Mutable)List<PotentialAction!>

Returns the actions that can be taken on this object.

String?

Returns the deeplink URL of this item.

Public functions

equals

fun equals(o: Any!): Boolean

getBytes

Added in 1.1.0-alpha07
fun getBytes(): ByteArray<Byte>?

Returns the byte representation of this image or video. Can be a compressed bitmap (e.g. JPEG or PNG).

getKeywords

Added in 1.1.0-alpha07
fun getKeywords(): (Mutable)List<Keyword!>

Keywords or tags used to describe some item.

See http://schema.org/keywords for more context.

getSha256

Added in 1.1.0-alpha07
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

Added in 1.1.0-alpha07
fun getThumbnailSha256(): String?

Returns the sha256 for the thumbnail of this image or video.

hashCode

fun hashCode(): Int