Using sdk how would I know that for a particular video device recording exists, for a specified period of time? if yes what type of this recording is ? i.e. n=bookmark or Alarm based.

Unfortunately it is not possible to know if the recording exists with a specified period of time. Please read this link -

https://developer.milestonesys.com/s/article/sequences-retrieval-with-the-MIP-SDK