@Immutable public static class StandardResponse.ErrorResponse extends StandardResponse
StandardResponse.AppAvailabilityResponse, StandardResponse.CloseResponse, StandardResponse.DetailedErrorCode, StandardResponse.DeviceAddedResponse, StandardResponse.DeviceRemovedResponse, StandardResponse.DeviceUpdatedResponse, StandardResponse.ErrorReason, StandardResponse.ErrorResponse, StandardResponse.ErrorType, StandardResponse.LaunchErrorResponse, StandardResponse.MediaStatusResponse, StandardResponse.MultizoneStatusResponse, StandardResponse.PingResponse, StandardResponse.PongResponse, StandardResponse.ReceiverStatusResponse| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
customData
Application specific data
|
protected StandardResponse.DetailedErrorCode |
detailedErrorCode
|
protected Integer |
itemId
The item ID
|
protected StandardResponse.ErrorReason |
reason
|
protected StandardResponse.ErrorType |
type
|
requestId| Constructor and Description |
|---|
ErrorResponse(Map<String,Object> customData,
StandardResponse.DetailedErrorCode detailedErrorCode,
Integer itemId,
StandardResponse.ErrorReason reason,
long requestId,
StandardResponse.ErrorType type)
Creates a new instance using the specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Map<String,Object> |
getCustomData() |
StandardResponse.DetailedErrorCode |
getDetailedErrorCode() |
CastEvent.CastEventType |
getEventType() |
Integer |
getItemId() |
StandardResponse.ErrorReason |
getReason() |
StandardResponse.ErrorType |
getType() |
int |
hashCode() |
String |
toString() |
getRequestId@Nullable protected final StandardResponse.DetailedErrorCode detailedErrorCode
@Nullable protected final StandardResponse.ErrorReason reason
@Nullable protected final StandardResponse.ErrorType type
public ErrorResponse(@Nullable Map<String,Object> customData, @Nullable StandardResponse.DetailedErrorCode detailedErrorCode, @Nullable Integer itemId, @Nullable StandardResponse.ErrorReason reason, long requestId, @Nullable StandardResponse.ErrorType type)
customData - the application specific data.detailedErrorCode - the StandardResponse.DetailedErrorCode.itemId - the item ID.reason - the StandardResponse.ErrorReason.requestId - the request ID.type - the StandardResponse.ErrorType.@Nullable public Map<String,Object> getCustomData()
null.@Nullable public StandardResponse.DetailedErrorCode getDetailedErrorCode()
StandardResponse.DetailedErrorCode or null.@Nullable public StandardResponse.ErrorReason getReason()
StandardResponse.ErrorReason or null.@Nullable public StandardResponse.ErrorType getType()
StandardResponse.ErrorType or null.public CastEvent.CastEventType getEventType()
getEventType in class StandardResponseCastEvent.CastEventType to use when receiving this
StandardResponse.Copyright © 2022. All rights reserved.