Add continuous/once parameter to visibility api