GenericAudioEntity


class GenericAudioEntity : Entity


An object representing a generic audio entity.

There are bespoke entity types for audio entities, but this entity type can be used to represent any audio entity which does not fit into one of the bespoke types.

Summary

Nested types

Builder class for GenericAudioEntity.

Public functions

Optional<String!>!

Returns the callout of the entity.

Optional<String!>!

Returns the callout fine print of the entity.

Optional<String!>!

Returns the id of the entity.

Optional<Long!>!

Returns the last engagement time in milliseconds.

String!

Returns the name of the entity.

(Mutable)List<Image!>!

Returns the poster image of the entity.

Optional<Price!>!

Returns the price of the entity.

Optional<Int!>!

Returns the progress percent complete of the entity.

Optional<Rating!>!

Returns the rating of the entity.

Optional<Boolean!>!

Returns whether the entity is a music artist.

Optional<Boolean!>!

Returns whether the entity is a book.

Optional<Boolean!>!

Returns whether the content is downloaded on device.

Optional<Boolean!>!

Returns whether the content is explicit.

Optional<Boolean!>!

Returns whether the entity is a talk (podcast).

Optional<Boolean!>!

Returns whether the entity is a video.

Bundle!

Public functions

getCallout

fun getCallout(): Optional<String!>!

Returns the callout of the entity.

getCalloutFinePrint

fun getCalloutFinePrint(): Optional<String!>!

Returns the callout fine print of the entity.

getEntityId

fun getEntityId(): Optional<String!>!

Returns the id of the entity.

getLastEngagementTimeMillis

fun getLastEngagementTimeMillis(): Optional<Long!>!

Returns the last engagement time in milliseconds.

getName

fun getName(): String!

Returns the name of the entity.

getPosterImages

fun getPosterImages(): (Mutable)List<Image!>!

Returns the poster image of the entity.

getPrice

fun getPrice(): Optional<Price!>!

Returns the price of the entity.

getProgressPercentComplete

fun getProgressPercentComplete(): Optional<Int!>!

Returns the progress percent complete of the entity.

getRating

fun getRating(): Optional<Rating!>!

Returns the rating of the entity.

isArtist

fun isArtist(): Optional<Boolean!>!

Returns whether the entity is a music artist.

isBook

fun isBook(): Optional<Boolean!>!

Returns whether the entity is a book.

isDownloadedOnDevice

fun isDownloadedOnDevice(): Optional<Boolean!>!

Returns whether the content is downloaded on device.

isExplicitContent

fun isExplicitContent(): Optional<Boolean!>!

Returns whether the content is explicit.

isTalk

fun isTalk(): Optional<Boolean!>!

Returns whether the entity is a talk (podcast).

isVideoSupported

fun isVideoSupported(): Optional<Boolean!>!

Returns whether the entity is a video.

toBundle

fun toBundle(): Bundle!

Public properties

actionUri

val actionUriUri!

displayTimeWindows

val displayTimeWindowsImmutableList<DisplayTimeWindow!>!

listenNextType

@ListenNextType
val listenNextTypeInt

subtitleList

val subtitleListImmutableList<String!>!