Applying Lens Camera Position - Rear or Front Programmatically


We are particularly interested in understanding how to control the camera position for lenses, specifically being able to set it to the rear-facing camera, or front-facing camera programmatically.

Could you kindly provide us with information on how to achieve this functionality within the lens development process? Whether it involves specific APIs, code examples, or guidelines, We would greatly appreciate it.

Thank you very much for your time and assistance.