types

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AudioSkipRetryPeriod added in v0.2.0

type AudioSkipRetryPeriod string
const AudioSkipRetryPeriodDaily AudioSkipRetryPeriod = "DAILY"
const AudioSkipRetryPeriodHourly AudioSkipRetryPeriod = "HOURLY"
const AudioSkipRetryPeriodUnknown AudioSkipRetryPeriod = "UNKNOWN"

type EntityType

type EntityType string

EntityType represents EntityTypes supported by the Music Kill API.

const ALBUM EntityType = "ALBUM"

ALBUM – an album like Lady Gaga's "ARTPOP"

const ARTIST EntityType = "ARTIST"

ARTIST – an artist like "Lady Gaga"

const FOLLOW_STATUS EntityType = "FOLLOW_STATUS"

FOLLOW_STATUS – (Podcast only) indicates whether the user follows or subscribes to a program series

const GENRE EntityType = "GENRE"

GENRE – a genre like "Jazz"

const MEDIA_TYPE EntityType = "MEDIA_TYPE"

MEDIA_TYPE – describes different types of audio content, for example, SONG or PROGRAM_SERIES

const PLAYLIST EntityType = "PLAYLIST"

PLAYLIST – a playlist like "Relaxing Sounds"

const RELEASE_WINDOW EntityType = "RELEASE_WINDOW"

RELEASE_WINDOW – (Podcast only) the release date window

const SORT_TYPE EntityType = "SORT_TYPE"

SORT_TYPE – describes whether audio contents or selection criteria should be ranked by POPULARITY or RECENCY before being returned to Alexa

const STATION EntityType = "STATION"

STATION – a station like "C.N.N."

const TOPIC_NAME EntityType = "TOPIC_NAME"

TOPIC_NAME - (Podcast only) describes the topic of a program series. See Implement episode search by topic.

const TRACK EntityType = "TRACK"

TRACK – a song like Lady Gaga's "Gypsy"

type ErrorType added in v0.2.0

type ErrorType string

ErrorType represents both the type and subtype errors.

const AccountProblemInactiveSubscription ErrorType = "INACTIVE_SUBSCRIPTION"

AccountProblemInactiveSubscription subtype of ErrorAccountProblem

const AccountProblemNotSubscribed ErrorType = "NOT_SUBSCRIBED"

AccountProblemNotSubscribed subtype of ErrorAccountProblem

const AccountProblemPaymentProblem ErrorType = "PAYMENT_PROBLEM"

AccountProblemPaymentProblem subtype of ErrorAccountProblem

const AudioSkipLimitReached ErrorType = "SKIP_LIMIT_REACHED"
const ErrorAccountProblem ErrorType = "ACCOUNT_PROBLEM"
const ErrorExpiredAuthorizationCredential ErrorType = "EXPIRED_AUTHORIZATION_CREDENTIAL"
const ErrorInternalError ErrorType = "INTERNAL_ERROR"
const ErrorInvalidAuthorizationCredential ErrorType = "INVALID_AUTHORIZATION_CREDENTIAL"
const ErrorInvalidDirective ErrorType = "INVALID_DIRECTIVE"
const ErrorRateLimitExceeded ErrorType = "RATE_LIMIT_EXCEEDED"
const MediaContentFiltered ErrorType = "CONTENT_FILTERED"
const MediaContentFilteredExplicit ErrorType = "EXPLICIT_LANGUAGE_FILTER"

MediaContentFilteredExplicit subtype of MediaContentFiltered

const MediaContentNotFound ErrorType = "CONTENT_NOT_FOUND"
const MediaContentNotFoundNoFollowed ErrorType = "NO_FOLLOWED_CONTENT"

MediaContentNotFoundNoFollowed subtype of MediaCriteriaNotFound

const MediaCriteriaNotFound ErrorType = "CRITERIA_NOT_FOUND"
const MediaDeviceLimitReached ErrorType = "DEVICE_LIMIT_REACHED"
const MediaGeographicalRestrictionError ErrorType = "GEOGRAPHICAL_RESTRICTION_ERROR"
const MediaInsufficientUserSubscription ErrorType = "INSUFFICIENT_USER_SUBSCRIPTION"
const MediaInvalidItem ErrorType = "INVALID_ITEM"
const MediaItemNotFound ErrorType = "ITEM_NOT_FOUND"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL