CastRemoteDisplay.CastRemoteDisplaySessionCallbacks
Stay organized with collections
Save and categorize content based on your preferences.
AI-generated Key Takeaways
The CastRemoteDisplay.CastRemoteDisplaySessionCallbacks interface is deprecated.
Use a PendingIntent with CastRemoteDisplayClient.startRemoteDisplay to be notified when a remote display session ends.
The interface includes a method onRemoteDisplayEnded which is called when the remote display session terminates and provides a status indicating the reason.
public static interface CastRemoteDisplay.CastRemoteDisplaySessionCallbacks
[[["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."],[],["The `CastRemoteDisplaySessionCallbacks` interface is deprecated. To receive notifications when a remote display session ends, pass a `PendingIntent` to `CastRemoteDisplayClient.startRemoteDisplay`. The `onRemoteDisplayEnded` method, part of this interface, is invoked when the session terminates. It provides a `Status` object, indicating the reason for the session's end. This method is the primary way to receive updates regarding the remote display session's completion.\n"]]