EMOobUnregistrationManager Protocol Reference

Declared in EMOobUnregistrationManager.h

Overview

Interface for unregistering the user from the OOBS.

– unregisterWithError: required method

Performs the unregistration of the user from the OOBS: The synchronous variant.

- (id<EMOobResponse>)unregisterWithError:(NSError **)anError

Parameters

anError

If 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.

Availability

3.0

Declared In

EMOobUnregistrationManager.h

– unregisterWithRequestParameter:error: required method

Performs the unregistration of the user from the OOBS: The synchronous variant.

- (id<EMOobResponse>)unregisterWithRequestParameter:(EMOobRequestParameter *)aParam error:(NSError **)anError

Parameters

aParam

The request parameter object carrying the additional parameters, i.e. custom HTTP headers.

anError

If 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.

Availability

4.7

Declared In

EMOobUnregistrationManager.h

– unregisterWithCompletionHandler: required method

Performs the unregistration of the user to the OOBS

- (void)unregisterWithCompletionHandler:(void ( ^ ) ( id<EMOobResponse> aResponse , NSError *anError ))aCompletionHandler

Parameters

aCompletionHandler

The block to invoke on the main thread upon completion which contains the response and error information if any.

Availability

3.0

Discussion

Warning: This method is executed asynchronously

Declared In

EMOobUnregistrationManager.h

– unregisterWithRequestParameter:completionHandler: required method

Performs the unregistration of the user to the OOBS

- (void)unregisterWithRequestParameter:(EMOobRequestParameter *)aParam completionHandler:(void ( ^ ) ( id<EMOobResponse> aResponse , NSError *anError ))aCompletionHandler

Parameters

aParam

The request parameter object carrying the additional parameters, i.e. custom HTTP headers.

aCompletionHandler

The block to invoke on the main thread upon completion which contains the response and error information if any.

Availability

4.7

Discussion

Warning: This method is executed asynchronously

Declared In

EMOobUnregistrationManager.h