OTPublisherKitDelegate Protocol Reference
Conforms to | NSObject |
Declared in | OTPublisherKit.h |
Overview
Used for sending messages for an OTPublisher instance. The OTPublisher class
includes a delegate
property. When you send the
[OTPublisherKit initWithDelegate:] message or the
[OTPublisherKit initWithDelegate:name:] message, you specify an
OTSessionDelegate object.
Instance Methods
publisher:didFailWithError:
Sent if the publisher encounters an error. After this message is sent, the publisher can be considered fully detached from a session and may be released.
- (void)publisher:(id)publisher didFailWithError:(id)error
Parameters
- publisher
The publisher that signalled this event.
- error
The error (an OTError object). The
OTPublisherErrorCode
enum (defined in the OTError class) defines values for thecode
property of this object.
Declared In
OTPublisherKit.h