EMOobUnregistrationManager
Objective-C
@protocol EMOobUnregistrationManager
Swift
protocol EMOobUnregistrationManager
Interface for unregistering the user from the OOBS.
Since
3.0-
Performs the unregistration of the user from the OOBS: The synchronous variant.
Since
3.0
Declaration
Objective-C
- (id<EMOobResponse>)unregisterWithError:(NSError **)anError;Swift
func unregister() throws -> any EMOobResponseParameters
anErrorIf an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in
NULL.Return Value
The unregistration response object.
-
Performs the unregistration of the user from the OOBS: The synchronous variant.
Since
4.7
Declaration
Objective-C
- (id<EMOobResponse>)unregisterWithRequestParameter: (EMOobRequestParameter *)aParam error:(NSError **)anError;Swift
func unregister(with aParam: EMOobRequestParameter!) throws -> any EMOobResponseParameters
aParamThe request parameter object carrying the additional parameters, i.e. custom HTTP headers.
anErrorIf an error occurs, upon return contains an NSError object that describes the problem. If you are not interested in possible errors, you may pass in
NULL.Return Value
The unregistration response object.
-
Performs the unregistration of the user to the OOBS
Warning
This method is executed asynchronously
Since
3.0
Declaration
Objective-C
- (void)unregisterWithCompletionHandler:(void (^)(id<EMOobResponse>, NSError *))aCompletionHandler;Swift
func unregister() async throws -> (any EMOobResponse)?Parameters
aCompletionHandlerThe block to invoke on the main thread upon completion which contains the response and error information if any.
-
Performs the unregistration of the user to the OOBS
Warning
This method is executed asynchronously
Since
4.7
Declaration
Objective-C
- (void)unregisterWithRequestParameter:(EMOobRequestParameter *)aParam completionHandler:(void (^)(id<EMOobResponse>, NSError *))aCompletionHandler;Swift
func unregister(with aParam: EMOobRequestParameter!) async throws -> (any EMOobResponse)?Parameters
aParamThe request parameter object carrying the additional parameters, i.e. custom HTTP headers.
aCompletionHandlerThe block to invoke on the main thread upon completion which contains the response and error information if any.
EMOobUnregistrationManager Protocol Reference