setCaptureEnabled