com.google.android.gms.cast.tv
Stay organized with collections
Save and categorize content based on your preferences.
Annotations
Sender disconnect reasons.
Interfaces
Classes
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."],[[["\u003cp\u003eThis package provides classes and interfaces for building Cast Receiver applications on Android TV.\u003c/p\u003e\n"],["\u003cp\u003eIt includes tools for managing sender communication, handling launch requests, and responding to system events.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the \u003ccode\u003eCastReceiverContext\u003c/code\u003e as the entry point to access the Cast TV SDK functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe package offers utilities for tasks like handling messages and sender information.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCastReceiverOptions\u003c/code\u003e allows for customizing the receiver's behavior and configuration.\u003c/p\u003e\n"]]],[],null,["# com.google.android.gms.cast.tv\n\n### Annotations\n\n|------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------|\n| [SenderDisconnectedEventInfo.DisconnectReason](/android/reference/com/google/android/gms/cast/tv/SenderDisconnectedEventInfo.DisconnectReason) | Sender disconnect reasons. |\n\n### Interfaces\n\n|----------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|\n| [CastReceiverContext.MessageReceivedListener](/android/reference/com/google/android/gms/cast/tv/CastReceiverContext.MessageReceivedListener) | Listener for listening messages that come from the sender. |\n| [CastReceiverOptions.LaunchRequestChecker](/android/reference/com/google/android/gms/cast/tv/CastReceiverOptions.LaunchRequestChecker) | Interface for checking if a launch request is supported. |\n| [ReceiverOptionsProvider](/android/reference/com/google/android/gms/cast/tv/ReceiverOptionsProvider) | Provider of [CastReceiverOptions](/android/reference/com/google/android/gms/cast/tv/CastReceiverOptions). |\n\n### Classes\n\n|--------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|\n| [CastLaunchRequest](/android/reference/com/google/android/gms/cast/tv/CastLaunchRequest) | The information about an request to launch or join the application. |\n| [CastReceiverContext](/android/reference/com/google/android/gms/cast/tv/CastReceiverContext) | The singleton class as the entry point of the Cast TV SDK. |\n| [CastReceiverContext.EventCallback](/android/reference/com/google/android/gms/cast/tv/CastReceiverContext.EventCallback) | Callback class for observing various events. |\n| [CastReceiverOptions](/android/reference/com/google/android/gms/cast/tv/CastReceiverOptions) | Options of Cast ATV receiver library. |\n| [CastReceiverOptions.Builder](/android/reference/com/google/android/gms/cast/tv/CastReceiverOptions.Builder) | Builder for [CastReceiverOptions](/android/reference/com/google/android/gms/cast/tv/CastReceiverOptions). |\n| [CastReceiverUtils](/android/reference/com/google/android/gms/cast/tv/CastReceiverUtils) | Utility class for miscellaneous helper methods. |\n| [SenderDisconnectedEventInfo](/android/reference/com/google/android/gms/cast/tv/SenderDisconnectedEventInfo) | Information about a sender disconnected event. |\n| [SenderInfo](/android/reference/com/google/android/gms/cast/tv/SenderInfo) | The information about a sender. |"]]