How to change the integration time ?

Can I change the  integration time  when using near windows with sunlight ?
Did not find that in either GUI/SDK API.
Did not see any settings except the near/mid/long range.