The SDK by default opts-in users for UXCam recording on app installs. You can now disable and enable recording at runtime by the following API.
Opt out a User
This methods stops and deletes the session in progress (if any) and disables the recording of future sessions from this user.
UXCam.optOutOverall: () => void
The optIn/optOut setting resets to opt-In if the user un-installs and re-installs the app or clears app data.
Opt in a User
The SDK by default opts-in users for UXCam recording on app installs. If the user has been disabled for UXCam recording by using the optOut method, you can use this method to enable recording at runtime.
UXCam.optInOverall: () => void
Opt in Status
This method returns the status of the user indicating whether they are currently opted in or opted out.