PreviewModeToken

data class PreviewModeToken(val accessToken: String, val expirationTime: Instant) : Parcelable

Represents a registration token for Alexa Preview Mode (Alexa Instant Device Registration).

Constructors

Link copied to clipboard
constructor(accessToken: String, expirationTime: Instant)

Properties

Link copied to clipboard

The token that is received from AVS (Alexa Voice Service) upon successful registration for Preview Mode.

Link copied to clipboard

The Instant when this token will expire. After expirationTime, accessToken is not valid anymore and needs to be refreshed.

Inherited functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)