presentationActiveTimelineOperation method

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

presentationActiveTimelineOperation -> /v1/presentation/active/timeline/{operation}

Performs the requested timeline operation for the active 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> presentationActiveTimelineOperation(String operation) async {
  String url = '/v1/presentation/active/timeline/$operation';

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