| Modifier and Type | Interface and Description |
|---|---|
interface |
Request
Implementation must be a request object, which can be serialized to JSON with
Jackson library.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StandardMessage
Parent class for transport objects used to communicate with cast devices.
|
static class |
StandardMessage.CloseConnection
Closes a virtual connection with an application.
|
static class |
StandardMessage.Connect
Establishes a virtual connection with either a cast device or an
application.
|
static class |
StandardMessage.Ping
Simple "Ping" message to request a reply with "Pong" message.
|
static class |
StandardMessage.Pong
Simple "Pong" message to reply to "Ping" message.
|
class |
StandardRequest
Parent class for transport objects representing messages sent to cast
devices.
|
static class |
StandardRequest.GetAppAvailability
A request for availability of applications with specific identifiers.
|
static class |
StandardRequest.GetStatus
A request for the current status of a cast device.
|
static class |
StandardRequest.Launch
A request to launch an application with a specific application ID.
|
static class |
StandardRequest.Load
A request to load media.
|
static class |
StandardRequest.MediaRequest
An abstract request for an action with a media referenced by a specific
media session ID.
|
static class |
StandardRequest.Pause
A request to pause playback of a media referenced by a specific media
session ID.
|
static class |
StandardRequest.Play
A request to start/resume playback of a media referenced by a specific
media session ID.
|
static class |
StandardRequest.Seek
A request to change current playback position of a media referenced by a
specific media session ID.
|
static class |
StandardRequest.SetVolume
A request to set the volume level or the mute state of the receiver.
|
static class |
StandardRequest.Stop
A Request to stop an application associated with a specific session ID.
|
static class |
StandardRequest.StopMedia
A request to stop and unload a media referenced by a specific media
session ID.
|
static class |
StandardRequest.VolumeRequest
A request to set the stream volume of a media referenced by a specific
media session ID.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Channel.write(String namespace,
Message message,
String sourceId,
String destinationId)
Writes the specified
Message to the socket using the specified
parameters. |
Copyright © 2022. All rights reserved.