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

Known direct subclasses
SportsOrganization

AppSearch document representing a SportsOrganization entity.

Known indirect subclasses
SportsTeam

AppSearch document representing a SportsTeam entity.


AppSearch document representing an Organization entity.

Summary

Public constructors

Constructor for Organization.

Public functions

ImageObject?

Returns the logo of the organization, if set.

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 constructors

Organization

Added in 1.2.0-alpha02
@ExperimentalAppSearchApi
Organization(builder: Organization.BuilderBase<*>)

Constructor for Organization.

Parameters
builder: Organization.BuilderBase<*>

The builder to construct the Organization from.

Public functions

getLogo

Added in 1.2.0-alpha02
fun getLogo(): ImageObject?

Returns the logo of the organization, if set.