This user has opted out. Any cached events have been discarded and no more will be collected.

Hello

I dont know how / from where this message

(1)This user has opted out. Any cached events have been discarded and no more will be collected.

comes up. I think after i call this

consentIdentifiers = await AnalyticsService.Instance.CheckForRequiredConsents();

because i called this “AnalyticsService.Instance.OptOut()” before.

**AnalyticsService.Instance.**OptOut() and AnalyticsService.Instance.Flush() these methods have no response as i know . So is there any way to check so that i can be sure that time calling **AnalyticsService.Instance.**OptOut() worked well. some thing like i got message**(1).**

I do like this: i call OptOut() in try/catch block if nothing wrong i write PlayerPrefs userOptOut = true. Is there any possibility i call OptOut() and no problem in try/catch but that attemp did not worked at serverside.

Regards!

Yes the “user has opted out message” does indeed follow the OptOut call, as you might expect. I will check on your specific question how to confirm if the call is successful or not, as it returns void. If no network, I believe we retry.