public interface OobUnregistrationManager
| Modifier and Type | Method and Description |
|---|---|
OobResponse |
unregister()
Performs the unregistration of the user from the OOBS: The synchronous variant.
|
OobResponse |
unregister(OobRequestParameter requestParameter)
Performs the unregistration of the user from the OOB: The synchronous variant.
|
void |
unregister(OobUnregistrationCallback callback)
Performs the unregistration of the user to the OOBS: The asynchronous variant.
|
void |
unregister(OobUnregistrationCallback callback,
OobRequestParameter requestParameter)
Performs the unregistration of the user to the OOBS: The asynchronous variant.
|
OobResponse unregister()
NetworkOnMainThreadException - as
it is very bad habit to obstacle the main UI thread with the blocking calls (the same is done for instance by the
Android HTTP library).null.OobResponse unregister(OobRequestParameter requestParameter)
NetworkOnMainThreadException - as
it is very bad habit to obstacle the main UI thread with the blocking calls (the same is done for instance by the
Android HTTP library).requestParameter - The request parameter carrying custom header.
null.java.lang.IllegalArgumentException - When the collection of headers passed in is null, or adding a header prohibited in the headers
customization or containing illegal characters.void unregister(OobUnregistrationCallback callback)
callback - The callback to be triggered as soon as the operation completes with any result. Must never be
null. Note that the callback is always called from within the main UI thread context and
always after this method returns to its caller.void unregister(OobUnregistrationCallback callback, OobRequestParameter requestParameter)
callback - The callback to be triggered as soon as the operation completes with any result. Must never be
null. Note that the callback is always called from within the main UI thread context and
always after this method returns to its caller.requestParameter - The request parameter carrying custom header.