RemoteMediaPlayer.OnPreloadStatusUpdatedListener
Stay organized with collections
Save and categorize content based on your preferences.
Public Methods
public abstract void onPreloadStatusUpdated ()
Called when updated player queue preload status information is received, e.g. the
next item to play has been preloaded. This gives the caller a chance to response to
preloading related event, such as displaying what will be played next in the UI.
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-10-31 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-10-31 UTC."],[[["`RemoteMediaPlayer.OnPreloadStatusUpdatedListener` is deprecated and developers should refer to the migration guide for updating to Cast SDK v3."],["This interface was used to track the status of media queue preloading."],["`onPreloadStatusUpdated()` is called when there are updates to the preload status, allowing developers to respond accordingly, such as updating the UI."]]],["The `RemoteMediaPlayer.OnPreloadStatusUpdatedListener` interface, now deprecated, was used to track changes in media queue preload status. The core functionality was provided through the `onPreloadStatusUpdated()` method. This method was called when new preload status information was available, such as when the next item in the queue had been preloaded, enabling the application to update the UI accordingly. The migration from v2 to v3 is referenced.\n"]]