setSegmentData(segmentData, singleUse = false) {
    this.segmentData = segmentData;
    this.removeSegmentDataOnGet = singleUse;
  }
Set the segment data.

@param {!BufferSource} segmentData
@param {boolean=} singleUse
@export