public void setMinFrame(final String markerName) {
    if (composition == null) {
      lazyCompositionTasks.add(c -> setMinFrame(markerName));
      return;
    }
    Marker marker = composition.getMarker(markerName);
    if (marker == null) {
      throw new IllegalArgumentException("Cannot find marker with name " + markerName + ".");
    }
    setMinFrame((int) marker.startFrame);
  }
Sets the minimum frame to the start time of the specified marker.

@throws IllegalArgumentException if the marker is not found.
lottie/src/main/java/com/airbnb/lottie/LottieDrawable.java