annoucementActiveTimelineOperation method

Future<bool> annoucementActiveTimelineOperation(
  1. String operation
)
inherited

annoucementActiveTimelineOperation -> /v1/announcement/active/timeline/{operation}

Performs the requested timeline operation for the active announcment presentation.

PARAMETERS

operation : The operation to perform on the timeline

  • Should be one of: play, pause, rewind

RESPONSE 204:

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

content-type: NONE

Implementation

Future<bool> annoucementActiveTimelineOperation(String operation) async {
  String url = '/v1/announcement/active/timeline/$operation';

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