opt Out And Wipe Data
Opt Out from Batch SDK Usage. Requires Batch to be started.
Same as optOut but also wipes data.
Note that calling this method will stop Batch, effectively simulating calls to onStop, onDestroy and onServiceDestroy. Your app should be prepared to handle these cases.
See also
Opt Out from Batch SDK Usage. Requires Batch to be started.
Same as optOut but also wipes data.
Note that calling this method will stop Batch, effectively simulating calls to onStop, onDestroy and onServiceDestroy. Your app should be prepared to handle these cases.
Use the listener to be informed about whether the opt-out request has been successfully sent to the server or not. You'll also be able to control what to do in case of failure.
Note: if the SDK has already been opted-out from, this method will instantly call the listener with a *failure* state.