Classe: BufferingEvent
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-25 UTC.
[null,null,["Ultimo aggiornamento 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003ecast.framework.events.BufferingEvent\u003c/code\u003e provides data for the \u003ccode\u003ecast.framework.events.EventType.BUFFERING\u003c/code\u003e event, indicating changes in the player's buffering state.\u003c/p\u003e\n"],["\u003cp\u003eIt includes the \u003ccode\u003eisBuffering\u003c/code\u003e property, a boolean value that signifies whether the player is entering (true) or exiting (false) a buffering state.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this event to display UI indicators or handle buffering logic within their web receiver application.\u003c/p\u003e\n"]]],[],null,["# Class: BufferingEvent\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[events](/cast/docs/reference/web_receiver/cast.framework.events).BufferingEvent\n===================================================================================================================================================\n\nclass static\n\nEvent data for the `cast.framework.events.EventType.BUFFERING` event.\n\nConstructor\n-----------\n\n### BufferingEvent\n\nnew\nBufferingEvent(isBuffering)\n\n| #### Parameter ||\n|-------------|---------|\n| isBuffering | boolean |\n\nProperty\n--------\n\n### isBuffering\n\nconstant\n\nboolean\n\nTrue if the player is entering a buffering state."]]