My goal is to disable the select camera button if the user is not in setup mode and enable it if in setup mode.Is there anyway i can detect this from the sdk.
I believe what you are searching for is:
virtual Mode VideoOS.Platform.EnvironmentManager.Mode