transportPlay method

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

transportPlay -> /v1/transport/{layer}/play

Plays 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> transportPlay(String layer) async {
  String url = '/v1/transport/$layer/play';

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