Conforms to NSObject
Declared in RespokeEndpoint.h

Overview

A delegate protocol to notify the receiver of events occurring with the endpoint

Tasks

  • – onMessage:endpoint:timestamp:didSend:

    A notification that a message has been sent. The notification indicates that the specified endpoint sent a message to the logged in user if didSend is YES. The notification indicates that the specified endpoint received a message sent by the logged in user from another device (ccSelf).

    required method
  • – onPresence:sender:

    A notification that the presence for an endpoint has changed

    required method

Instance Methods

onMessage:endpoint:timestamp:didSend:

- (void)onMessage:(NSString *)message endpoint:(RespokeEndpoint *)endpoint timestamp:(NSDate *)timestamp didSend:(BOOL)didSend
Discussion

A notification that a message has been sent. The notification indicates that the specified endpoint sent a message to the logged in user if didSend is YES. The notification indicates that the specified endpoint received a message sent by the logged in user from another device (ccSelf).

Parameters

message

The message

endpoint

The endpoint that sent or received the message

timestamp

The message timestamp

didSend

YES if the specified endpoint sent the message, NO if the endpoint received the message

Declared In

RespokeEndpoint.h

onPresence:sender:

- (void)onPresence:(NSObject *)presence sender:(RespokeEndpoint *)sender
Discussion

A notification that the presence for an endpoint has changed

Parameters

presence

The new presence

sender

The endpoint

Declared In

RespokeEndpoint.h