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.
Use this if:
- The user has chosen not to enable analytics (screen recording)
UXCam.optOutOverall()
UXCam.optOutOverall();
void UXCam.OptOutOverall()
RNUxcam.optOutOverall: () => void
UXCam.optOutOverall: () => void
void optOutOverall()
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()
UXCam.optInOverall();
void UXCam.OptInOverall()
RNUxcam.optInOverall: () => void
UXCam.optInOverall: () => void
void optInOverall()
Opt in Status
This method returns the status of the user indicating whether they are currently opted in or opted out.