| Interface | Description |
|---|---|
| CastEvent<T> |
This interface describes cast device related events.
|
| CastEvent.CastEventListener |
An
EventListener that listens for CastEvents. |
| CastEvent.CastEventListenerList |
A thread-safe
List of CastEvent.CastEventListeners. |
| DeviceDiscoveryListener |
The listener interface for cast device discovery.
|
| Message |
Generic message used in exchange with cast devices.
|
| Request |
Implementation must be a request object, which can be serialized to JSON with
Jackson library.
|
| Response |
Implementation must be a response object, which can be serialized to JSON
with Jackson library.
|
| Session.SessionClosedListener |
An interface defining a callback which is invoked when a
Session
is closed. |
| Class | Description |
|---|---|
| Application |
Application descriptor.
|
| CastDevice |
This class represents a Google cast device.
|
| CastDeviceMonitor |
A class that can be used to keep discover cast devices and create
corresponding
CastDevices while notifying registered listeners of
discovered or disappearing devices. |
| CastEvent.AbstractCastEventListenerList |
An abstract
CastEvent.CastEventListenerList implementation that implements
every method except CastEvent.CastEventListenerList.fire(CastEvent). |
| CastEvent.DefaultCastEvent<T> |
The default
CastEvent implementation. |
| CastEvent.SimpleCastEventListenerList |
A simple (as in not threaded)
CastEvent.CastEventListenerList
implementation that invokes CastEvent.CastEventListeners from the thread
that calls CastEvent.SimpleCastEventListenerList.fire(CastEvent). |
| CastEvent.ThreadedCastEventListenerList |
A threaded
CastEvent.CastEventListenerList implementation that invokes
CastEvent.CastEventListeners using the specified Executor when
CastEvent.ThreadedCastEventListenerList.fire(CastEvent) is called. |
| CastEvent.ThreadedCastEventListenerList.Invoker |
A
Runnable implementation that simply invokes a listener. |
| Channel |
Internal class for low-level communication with cast devices.
|
| CloseMessageEvent |
The event sent when a
CLOSE message that doesn't belong to any known
Session is received. |
| ContainerMetadata |
Common container metadata used as part of QueueData.
|
| CustomMessageEvent |
A custom event sent by a receiver application.
|
| Device |
Device descriptor.
|
| ExtendedMediaStatus |
Extended media status information.
|
| Image |
An image that describes a receiver application or media item.
|
| ImmutableCastMessage |
An immutable implementation of the essential data of a
CastChannel.CastMessage,
which allows incoming messages be passed around to multiple threads without
risking mutation. |
| ImmutableCastMessage.ImmutableBinaryCastMessage |
An
ImmutableCastMessage implementation for binary payloads. |
| ImmutableCastMessage.ImmutableStringCastMessage |
An
ImmutableCastMessage implementation for string payloads. |
| JacksonHelper |
Utility class for creating pre-configured instances of JSON mapper.
|
| LiveSeekableRange |
Provides the live seekable range with start and end time in seconds.
|
| LoadOptions |
Provides additional options for load requests.
|
| Media |
Represents the media information.
|
| Media.MediaBuilder |
A builder class for the
Media class. |
| MediaStatus |
Current media player status - which media is played, volume, time position,
etc.
|
| MediaStatusResponseDeserializer |
A custom deserializer for
StandardResponse.MediaStatusResponse messages to handle the
fact that the "status" field can either contain a single
MediaStatus instance or and array of MediaStatus
instances. |
| MediaVolume |
Represents the volume of a media session stream.
|
| Metadata |
A utility class for working with "cast metadata" with defined constants and
methods for converting dates.
|
| Metadata.AudiobookChapter |
The standard metadata keys defined for "Audiobook chapter" media.
|
| Metadata.Generic |
The standard metadata keys defined for "Generic" media.
|
| Metadata.Movie |
The standard metadata keys defined for "Movie" media.
|
| Metadata.MusicTrack |
The standard metadata keys defined for "Music track" media.
|
| Metadata.Photo |
The standard metadata keys defined for "Photo" media.
|
| Metadata.TvShow |
The standard metadata keys defined for "TV show" media.
|
| MultizoneStatus |
Status received in case there a multiple ChomeCast devices in several "zones"
(multi-zone setup).
|
| Namespace |
The namespace of the a cast application.
|
| QueueData |
Queue data as part of the LOAD request.
|
| QueueItem |
Queue item information.
|
| ReceiverStatus |
A cast device status.
|
| Session |
This class represents a "session" or "virtual connection" with a "remote
application" running on a cast device.
|
| StandardMessage |
Parent class for transport objects used to communicate with cast devices.
|
| StandardMessage.CloseConnection |
Closes a virtual connection with an application.
|
| StandardMessage.Connect |
Establishes a virtual connection with either a cast device or an
application.
|
| StandardMessage.Origin |
Some "Origin" required to be sent with the "Connect" request.
|
| StandardMessage.Ping |
Simple "Ping" message to request a reply with "Pong" message.
|
| StandardMessage.Pong |
Simple "Pong" message to reply to "Ping" message.
|
| StandardRequest |
Parent class for transport objects representing messages sent to cast
devices.
|
| StandardRequest.GetAppAvailability |
A request for availability of applications with specific identifiers.
|
| StandardRequest.GetStatus |
A request for the current status of a cast device.
|
| StandardRequest.Launch |
A request to launch an application with a specific application ID.
|
| StandardRequest.Load |
A request to load media.
|
| StandardRequest.MediaRequest |
An abstract request for an action with a media referenced by a specific
media session ID.
|
| StandardRequest.Pause |
A request to pause playback of a media referenced by a specific media
session ID.
|
| StandardRequest.Play |
A request to start/resume playback of a media referenced by a specific
media session ID.
|
| StandardRequest.Seek |
A request to change current playback position of a media referenced by a
specific media session ID.
|
| StandardRequest.SetVolume |
A request to set the volume level or the mute state of the receiver.
|
| StandardRequest.Stop |
A Request to stop an application associated with a specific session ID.
|
| StandardRequest.StopMedia |
A request to stop and unload a media referenced by a specific media
session ID.
|
| StandardRequest.VolumeRequest |
A request to set the stream volume of a media referenced by a specific
media session ID.
|
| StandardResponse |
Parent class for transport object representing messages received FROM cast
devices.
|
| StandardResponse.AppAvailabilityResponse |
Response to "AppAvailability" request.
|
| StandardResponse.CloseResponse |
Request to 'Close' connection.
|
| StandardResponse.DeviceAddedResponse |
Received when power is cycled on ChromeCast Audio devices in a group.
|
| StandardResponse.DeviceRemovedResponse |
Received when power is cycled on ChromeCast Audio devices in a group.
|
| StandardResponse.DeviceUpdatedResponse |
Received when volume is changed.
|
| StandardResponse.ErrorResponse |
An error response from the cast device.
|
| StandardResponse.LaunchErrorResponse |
Application cannot be launched for some
reason. |
| StandardResponse.MediaStatusResponse |
Response to "MediaStatus" request.
|
| StandardResponse.MultizoneStatusResponse |
Multi-Zone status for the case when there are multiple cast devices in
different zones (rooms).
|
| StandardResponse.PingResponse |
Request to send 'Pong' message in reply.
|
| StandardResponse.PongResponse |
Response in reply to 'Ping' message.
|
| StandardResponse.ReceiverStatusResponse |
Response to "ReceiverStatus" request.
|
| TextTrackStyle |
Describes style information for a text track.
|
| Track |
Track meta data information.
|
| VideoInformation |
Video information such as video resolution and High Dynamic Range (HDR).
|
| Volume |
The volume of a device.
|
| Volume.VolumeBuilder |
A builder class for building
Volume instances. |
| X509TrustAllManager |
Google Cast certificates cannot be validated against a standard keystore, so
use a dummy trust-all manager.
|
| Enum | Description |
|---|---|
| CastDeviceCapability |
This represents the (fundamental) capabilities of a cast device.
|
| CastEvent.CastEventType |
All the
CastEvent types. |
| ContainerMetadata.ContainerType |
Possible types of container metadata.
|
| ExtendedMediaStatus.ExtendedPlayerState |
Extended player state information.
|
| LoadOptions.ContentFilteringMode |
Provides content filtering mode.
|
| Media.HlsSegmentFormat |
The format of a HLS audio segment.
|
| Media.HlsVideoSegmentFormat |
The format of a HLS video segment.
|
| Media.MediaCategory |
The media category.
|
| Media.StreamType |
Represents the stream types.
|
| MediaStatus.IdleReason |
The reason for the player to be in
MediaStatus.PlayerState.IDLE state. |
| MediaStatus.PlayerState |
Represents the player state.
|
| MediaStatus.RepeatMode |
The behavior of the queue when all items have been played.
|
| Metadata.MetadataType |
Describes the type of the data found inside the
metadata. |
| QueueData.QueueType |
Types of media container/queue.
|
| StandardRequest.ResumeState |
States of the media player after resuming.
|
| StandardResponse.DetailedErrorCode |
Represents detailed error codes.
|
| StandardResponse.ErrorReason |
Represents media error message reasons.
|
| StandardResponse.ErrorType |
Represents media error message types.
|
| TextTrackStyle.TextTrackEdgeType |
Defines the text track edge type.
|
| TextTrackStyle.TextTrackFontGenericFamily |
Generic font family to be used if font not defined in text track.
|
| TextTrackStyle.TextTrackFontStyle |
Possible text track font style.
|
| TextTrackStyle.TextTrackWindowType |
Text track window type.
|
| Track.TrackSubType |
The type of text track.
|
| Track.TrackType |
Possible media track type.
|
| VideoInformation.HdrType |
Represents video High Dynamic Range (HDR) types.
|
| VirtualConnectionType |
Represents the type of virtual connections that can be made to cast devices.
|
| Volume.VolumeControlType |
Describes types of volume control.
|
| Exception | Description |
|---|---|
| CastException |
Generic error, which may happen during interaction with a cast device.
|
| CastException.ErrorResponseCastException |
A specialized
CastException used to deliver an
StandardResponse.ErrorResponse if one is returned from the cast device. |
| CastException.LaunchErrorCastException |
A specialized
CastException used when a LAUNCH_ERROR
response is received. |
| CastException.UnprocessedCastException |
A specialized
CastException used to deliver a responses
that could not be deserialized. |
| CastException.UntypedCastException |
A specialized
CastException used to deliver a
StandardResponse if another type than what was expected is
returned from the cast device. |
Copyright © 2022. All rights reserved.