There is no method (no function) that tells you, but you can figure it out by looking at the provided data. If you get the activity info (var info = Activity.getActivityInfo()) and info.timerTime is 0, the recording has not yet started. You can tell if the activity is paused by comparing the new value of info.timerTime with the previous value. If they are the same, then the activity is paused.