Class: BufferingEvent
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 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."]]