triggerLibrary method

Future<bool> triggerLibrary(
  1. String libraryId,
  2. String presentationId,
  3. int index
)
inherited

triggerLibrary -> /v1/trigger/library/{library_id}/{presentation_id}/{index}

Triggers the specified slide in the specified presentation in the specified library.

PARAMETERS

libraryId : The ID of the library, either UUID, name, or index, in order of interpretation and search priority.

  • Example (by_uuid): 3C39C433-5C18-4F51-B357-55BB870227C4
  • Example (by_name): Library Name
  • Example (by_index): 3

presentationId : The ID of the presentation, either UUID, name, or index, in order of interpretation and search priority.

  • Example (by_uuid): 3C39C433-5C18-4F51-B357-55BB870227C4
  • Example (by_name): Presentation Name
  • Example (by_index): 3

index : The index of the cue to use. Respects the selected arrangement of cues.

  • Example (index): 0

RESPONSE 204:

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

content-type: NONE

RESPONSE 400:

The request was not valid.

content-type: ``

Implementation

Future<bool> triggerLibrary(String libraryId, String presentationId, int index) async {
  String url = '/v1/trigger/library/$libraryId/$presentationId/$index';

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