OnAttachEndpointOperationDelegate Protocol Reference

Declared in EventDelegates.h

Overview

Callback interface for attached endpoint notifications.

Use this interface to receive result of next operations:

Attach endpoint to user by EndpointAccessToken

Once result from Operations server is received, listener is notified with string representation of operation name, result of the operation and additional data if available.

– onAttachResult:withEndpointKeyHash: required method

Callback on endpoint attach response
For AttachEndpoint operation is populated with EndpointKeyHash of attached endpoint.

- (void)onAttachResult:(SyncResponseResultType)result withEndpointKeyHash:(EndpointKeyHash *)endpointKeyHash

Parameters

endpointKeyHash

Additional data of operation result, may be nil.

Discussion

Callback on endpoint attach response
For AttachEndpoint operation is populated with EndpointKeyHash of attached endpoint.

NOTE: endpointKeyHash is not null for endpoint attach operation and contains EndpointKeyHash object with key hash of attached endpoint.

Declared In

EventDelegates.h