OrtcClientDelegate Protocol Reference

Conforms to NSObject
Declared in OrtcClient.h

Instance Methods

– onConnected: required method

Occurs when the client connects.

- (void)onConnected:(OrtcClient *)ortc

Parameters

ortc

The ORTC object.

Discussion

Occurs when the client connects.

Declared In

OrtcClient.h

– onDisconnected: required method

Occurs when the client disconnects.

- (void)onDisconnected:(OrtcClient *)ortc

Parameters

ortc

The ORTC object.

Discussion

Occurs when the client disconnects.

Declared In

OrtcClient.h

– onSubscribed:channel: required method

Occurs when the client subscribes to a channel.

- (void)onSubscribed:(OrtcClient *)ortc channel:(NSString *)channel

Parameters

ortc

The ORTC object.

channel

The channel name.

Discussion

Occurs when the client subscribes to a channel.

Declared In

OrtcClient.h

– onUnsubscribed:channel: required method

Occurs when the client unsubscribes from a channel.

- (void)onUnsubscribed:(OrtcClient *)ortc channel:(NSString *)channel

Parameters

ortc

The ORTC object.

channel

The channel name.

Discussion

Occurs when the client unsubscribes from a channel.

Declared In

OrtcClient.h

– onException:error: required method

Occurs when there is an exception.

- (void)onException:(OrtcClient *)ortc error:(NSError *)error

Parameters

ortc

The ORTC object.

error

The occurred exception.

Discussion

Occurs when there is an exception.

Declared In

OrtcClient.h

– onReconnecting: required method

Occurs when the client attempts to reconnect.

- (void)onReconnecting:(OrtcClient *)ortc

Parameters

ortc

The ORTC object.

Discussion

Occurs when the client attempts to reconnect.

Declared In

OrtcClient.h

– onReconnected: required method

Occurs when the client reconnects.

- (void)onReconnected:(OrtcClient *)ortc

Parameters

ortc

The ORTC object.

Discussion

Occurs when the client reconnects.

Declared In

OrtcClient.h