RDK Documentation (Open Sourced RDK Components)
Cancel Recording Message

The client uses this message to request TRM to cancel the recording associated with the supplied reservationToken. After successful cancellation of the recording, the associated token is no longer valid.
The message format,
{
"cancelRecording" : {
"requestId" : [String] requestId,
"reservationToken" : [String] reservationToken,
}
}

The fields are defined as follows:
  • requestId : a GUID to be used for every request.
  • reservationToken: the token whose recording is to be cancelled. The activity of the token must be Record.
Cancel Recording Response Message

The response message to a CancelRecording request.
{
"cancelRecordingResponse" : {
"requestId" : [String] requestId,
<ResponseStatus>
"reservationToken " : [String] reservationToken
"cancelled" : cancelled
}
}

The fields are defined as follows:
  • reservationToken: The reservation that is cancelled.
  • state: state of the tuner after reservation is cancelled.
  • cancelled: if the recording is cancelled. "false" is also returned if the recording does not exist.