setReleaseMode method

void setReleaseMode(
  1. ReleaseMode releaseMode
)

Implementation

void setReleaseMode(ReleaseMode releaseMode) {
  currentReleaseMode = releaseMode;
  player?.loop = shouldLoop();
}