Interface RefreshSessionParams<T>

Refresh session params

Type parameters

Hierarchy

Index

Properties

appBuildType

appBuildType: "development" | "release"

Set to development or release.

Optional deviceOSType

deviceOSType: "alexa" | "fireos" | "android" | "ios" | "pc" | "mac" | "linux" | "xbox" | "playstation" | "nintendo" | "html"

OS running on the player's device. Set to one of these values: alexa, fireos, android, ios, pc, mac, linux, xbox, playstation, nintendo, or html. Defaults to alexa if not specified

gameApiKey

gameApiKey: string

Game API key. This is provided when you register your game.

player

player: T

Player representation

Optional refreshBufferInMinutes

refreshBufferInMinutes: undefined | number

Number of minutes in advance of the session expiration time to refresh the session. Defaults to 60 minutes.

Brought to you with ❤ by the Alexa Games team at Amazon. © 2019, Amazon.com, Inc. or its affiliates. All Rights Reserved.