SetLoopCount

Sets the loop count for media file playback.

void SetLoopCount(int32_t count, Error *err = nullptr)
Since
Available since v4.5.1.

Parameters

count
The number of times the media file loops.
  • 1: Play once.
  • 2: Play twice.
  • -1: Loop indefinitely until Stop is called.
err
Output parameter. Status or error information. See Error.
  • kRteOk: Call succeeded.
  • kRteErrorInvalidArgument: Invalid value set for the count parameter.