transportPause method

Future<bool> transportPause(
  1. String layer
)
inherited

transportPause -> /v1/transport/{layer}/pause

Pauses the content on the specified layer (presentation, announcement, audio).

PARAMETERS

layer : The layer to perform the transport operation on

  • Should be one of: presentation, announcement, audio

RESPONSE 204:

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

content-type: NONE

Implementation

Future<bool> transportPause(String layer) async {
  String url = '/v1/transport/$layer/pause';

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