pause method
Pauses playback.
The operation stops the progression of the playback. Call resume to continue playback from the current position.
Returns
- GemError.success on success.
- GemError.engineNotInitialized if the data source is not available.
- GemError.upToDate if the operation failed because the state is already up-to-date.
See also:
- resume - Resumes playback after a pause.
Implementation
GemError pause() {
final OperationResult resultString = objectMethod(
pointerId,
'PlaybackContainer',
'pause',
);
final int retVal = resultString['result'];
return GemErrorExtension.fromCode(retVal);
}