O número de segundos que o player permaneceu nesse estado. Se esta for a última
entrada na lista, o jogador ainda estará nesse estado, então a duração
continuará aumentando.
state
string
O estado em que o jogador entrou. Pode ser "armazenando em buffer", "tocando",
"pausado" ou "encerrado".
carimbo de data/hora
number
O carimbo de data/hora em que o estado foi inserido, em segundos desde 1970 (ou seja, Date.now() / 1000).
[null,null,["Última atualização 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003ecast.framework.stats.StateChange\u003c/code\u003e interface represents changes in a Cast player's state, such as buffering, playing, paused, or ended.\u003c/p\u003e\n"],["\u003cp\u003eEach state change record includes the state, the duration spent in that state, and the timestamp of when the state was entered.\u003c/p\u003e\n"]]],[],null,["# Interface: StateChange\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).stats.StateChange\n====================================================================================\n\ninterface static\n\nRepresents a player state change.\n\nProperties\n----------\n\n### duration\n\nnumber\n\nThe number of seconds the player was in this state. If this is the last\nentry in the list, the player is still in this state, so the duration\nwill continue to increase.\n\n### state\n\nstring\n\nThe state the player entered. This could be 'buffering', 'playing',\n'paused', or 'ended'.\n\n### timestamp\n\nnumber\n\nThe timestamp the state was entered, in seconds since 1970 (i.e.\nDate.now() / 1000)."]]