SOSUIAgentStreamReceivable Protocol Reference

Declared in SOSUIAgentStreamReceivable.h

Overview

The SOSUIAgentStreamReceivable protocol allows your view controller implementation to handle an agent video stream.

– willHandleAgentStream required method

Asks your delegate whether it can handle an agent video stream.

- (BOOL)willHandleAgentStream

Return Value

YES if the class can handle agent streams.

Declared In

SOSUIAgentStreamReceivable.h

– willHandleRemoteMovement required method

Asks your delegate whether it can handle remote movement of the video stream.

- (BOOL)willHandleRemoteMovement

Return Value

YES if the class can handle remote movement.

Declared In

SOSUIAgentStreamReceivable.h

– willHandleAudioLevel required method

Asks your delegate whether it can handle audio level adjustments.

- (BOOL)willHandleAudioLevel

Return Value

YES if the class can handle audio levels.

Declared In

SOSUIAgentStreamReceivable.h

– didReceiveAgentStreamView:

Tells your delegate when there is an agent video stream.

- (void)didReceiveAgentStreamView:(__weak UIView *)agentStreamView

Parameters

agentStreamView

The view containing the agent stream.

Declared In

SOSUIAgentStreamReceivable.h

– didReceiveAgentStreamScreenCoordinate:

Tells your delegate the new location coordinates of an agent stream.

- (void)didReceiveAgentStreamScreenCoordinate:(CGPoint)coordinate

Parameters

coordinate

The new location coordinates.

Declared In

SOSUIAgentStreamReceivable.h

– didReceiveAudioLevelUpdate:

Tells your delegate when the audio level has changed.

- (void)didReceiveAudioLevelUpdate:(CGFloat)audioLevel

Parameters

audioLevel

The new audio level.

Declared In

SOSUIAgentStreamReceivable.h

– didReceiveRecordingUpdate:

Tells your delegate when the recording of the session has changed.

- (void)didReceiveRecordingUpdate:(BOOL)recording

Parameters

recording

The recording value.

Declared In

SOSUIAgentStreamReceivable.h