How do i make expo AV stop playing at an exact position? For example stop playing at 2 seconds?

This question is in regards to the following API: import {Audio} from ‘expo-av’;

I am building an audio trimmer. I want the audio to start playing from the selected region to the end of the selected region. Right now I can play from the start of the selected region by using playFromPositionAsync function. Is there a function to stop playing at a certain time? Thank you