OGMetaData

Represents a OGMetaData of a url. For Specifications, see https://ogp.me/. Currently we only support images.

Since

3.0.139

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A one to two sentence description of the object. ex: "Sean Connery found fame and fortune as the suave, sophisticated British agent, James Bond."

Link copied to clipboard

An ogImage object that contains information about the image that this Open Graph points to.

Link copied to clipboard

The title of the object as it should appear within the graph. ex: "The Rock".

Link copied to clipboard
val url: String?

The canonical URL of the object that can be used as its permanent ID in the graph. ex: "http://www.imdb.com/title/tt0117500/"

Functions

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

Serializes the OGMetaData instance. This byte array can be stored in the database in your application. The instance can be restored by buildFromSerializedData.

Link copied to clipboard
open override fun toString(): String