transportTimeSet method

Future<bool> transportTimeSet(
  1. String layer,
  2. double postBody
)
inherited

transportTimeSet -> /v1/transport/{layer}/time

Moves to the specified time for the specified layer (presentation, announcement, audio).

PARAMETERS

layer : The layer to perform the transport operation on

  • Should be one of: presentation, announcement, audio

postBody (required) : This is the data that must be sent with this request.

Example:

15.2

RESPONSE 204:

The request was processed successfully. There is no response body.

content-type: NONE

RESPONSE 400:

The request was not valid.

content-type: ``

Implementation

Future<bool> transportTimeSet(String layer, double postBody) async {
  String url = '/v1/transport/$layer/time';

  return await call('put', url, httpAccept: 'application/json');
}