public abstract class StandardRequest extends StandardMessage implements Request
| Modifier and Type | Class and Description |
|---|---|
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.ResumeState
States of the media player after resuming.
|
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.
|
StandardMessage.CloseConnection, StandardMessage.Connect, StandardMessage.Origin, StandardMessage.Ping, StandardMessage.Pong| Modifier and Type | Field and Description |
|---|---|
protected long |
requestId
The request ID
|
| Constructor and Description |
|---|
StandardRequest() |
| Modifier and Type | Method and Description |
|---|---|
long |
getRequestId() |
void |
setRequestId(long requestId)
Sets the request ID.
|
public void setRequestId(long requestId)
RequestChannel.setRequestId in interface RequestrequestId - the request ID to set.public long getRequestId()
getRequestId in interface RequestCopyright © 2022. All rights reserved.