CastRemoteDisplay.CastRemoteDisplaySessionResult
Stay organized with collections
Save and categorize content based on your preferences.
This interface is deprecated.
Use the CastRemoteDisplayClient
via
CastRemoteDisplay.getClient(Context)
instead.
When a remote display session to a device has been established, this object contains
information about the session, including its virtual display and current status. If the
connection fails, then all values except getStatus() will be invalid.
Inherited Method Summary
From interface com.google.android.gms.common.api.Result
Public Methods
public abstract Display
getPresentationDisplay ()
Returns the virtual display of the current remote display session.
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."],[[["`CastRemoteDisplay.CastRemoteDisplaySessionResult` is deprecated and developers should use `CastRemoteDisplayClient` instead."],["This interface provides information about a remote display session, including its virtual display and status, if successfully established."],["If the connection fails, only the status information will be valid, other values will be invalid."],["The `getPresentationDisplay()` method returns the virtual display of the current remote display session."],["You can access the status of the session through the inherited `getStatus()` method from `com.google.android.gms.common.api.Result`."]]],[]]