EMOobRegistrationManager Protocol Reference

Declared in EMOobRegistrationManager.h

Overview

Interface for registering the user to the OOBS.

– registerWithRequest:error: required method

Performs the registration of the user to the OOBS: The synchronous variant.

- (id<EMOobRegistrationResponse>)registerWithRequest:(EMOobRegistrationRequest *)aRequest error:(NSError **)anError

Parameters

aRequest

The request object carrying all the data required by the OOBS in order to register the user to it.

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 registration response object.

Availability

3.0

Declared In

EMOobRegistrationManager.h

– registerWithRequest:requestParameter:error: required method

Performs the registration of the user to the OOBS: The synchronous variant.

- (id<EMOobRegistrationResponse>)registerWithRequest:(EMOobRegistrationRequest *)aRequest requestParameter:(EMOobRequestParameter *)aParam error:(NSError **)anError

Parameters

aRequest

The request object carrying all the data required by the OOBS in order to register the user to it.

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 registration response object.

Availability

4.7

Declared In

EMOobRegistrationManager.h

– registerWithRequest:completionHandler: required method

Performs the registration of the user to the OOBS: The asynchronous variant.

- (void)registerWithRequest:(EMOobRegistrationRequest *)aRequest completionHandler:(void ( ^ ) ( id<EMOobRegistrationResponse> aResponse , NSError *anError ))aCompletionHandler

Parameters

aRequest

The request object carrying all the data required by the OOBS in order to register the user to it.

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

EMOobRegistrationManager.h

– registerWithRequest:requestParameter:completionHandler: required method

Performs the registration of the user to the OOBS: The asynchronous variant.

- (void)registerWithRequest:(EMOobRegistrationRequest *)aRequest requestParameter:(EMOobRequestParameter *)aParam completionHandler:(void ( ^ ) ( id<EMOobRegistrationResponse> aResponse , NSError *anError ))aCompletionHandler

Parameters

aRequest

The request object carrying all the data required by the OOBS in order to register the user to it.

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

EMOobRegistrationManager.h