@Immutable public abstract class StandardResponse extends Object implements Response
| Modifier and Type | Class and Description |
|---|---|
static class |
StandardResponse.AppAvailabilityResponse
Response to "AppAvailability" request.
|
static class |
StandardResponse.CloseResponse
Request to 'Close' connection.
|
static class |
StandardResponse.DetailedErrorCode
Represents detailed error codes.
|
static class |
StandardResponse.DeviceAddedResponse
Received when power is cycled on ChromeCast Audio devices in a group.
|
static class |
StandardResponse.DeviceRemovedResponse
Received when power is cycled on ChromeCast Audio devices in a group.
|
static class |
StandardResponse.DeviceUpdatedResponse
Received when volume is changed.
|
static class |
StandardResponse.ErrorReason
Represents media error message reasons.
|
static class |
StandardResponse.ErrorResponse
An error response from the cast device.
|
static class |
StandardResponse.ErrorType
Represents media error message types.
|
static class |
StandardResponse.LaunchErrorResponse
Application cannot be launched for some
reason. |
static class |
StandardResponse.MediaStatusResponse
Response to "MediaStatus" request.
|
static class |
StandardResponse.MultizoneStatusResponse
Multi-Zone status for the case when there are multiple cast devices in
different zones (rooms).
|
static class |
StandardResponse.PingResponse
Request to send 'Pong' message in reply.
|
static class |
StandardResponse.PongResponse
Response in reply to 'Ping' message.
|
static class |
StandardResponse.ReceiverStatusResponse
Response to "ReceiverStatus" request.
|
| Modifier and Type | Field and Description |
|---|---|
protected long |
requestId
The request ID
|
| Modifier | Constructor and Description |
|---|---|
protected |
StandardResponse(long requestId)
Abstract constructor.
|
| Modifier and Type | Method and Description |
|---|---|
abstract CastEvent.CastEventType |
getEventType() |
long |
getRequestId() |
protected StandardResponse(long requestId)
requestId - the request ID.public long getRequestId()
getRequestId in interface Response@Nullable public abstract CastEvent.CastEventType getEventType()
CastEvent.CastEventType to use when receiving this
StandardResponse.Copyright © 2022. All rights reserved.