presentationTimelineOperation method

Future<bool> presentationTimelineOperation(
  1. String uuid,
  2. String operation
)
inherited

presentationTimelineOperation -> /v1/presentation/{uuid}/timeline/{operation}

Performs the requested timeline operation for the specified presentation (play, pause, rewind).

PARAMETERS

uuid : The UUID of the presentation to look up.

  • Example (uuid): 3C39C433-5C18-4F51-B357-55BB870227C4

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> presentationTimelineOperation(String uuid, String operation) async {
  String url = '/v1/presentation/$uuid/timeline/$operation';

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