SOSUIAgentStreamReceivable
@protocol SOSUIAgentStreamReceivable
The SOSUIAgentStreamReceivable protocol allows your view controller implementation to handle an agent video stream.
-
Asks your delegate whether it can handle an agent video stream.
Declaration
Objective-C
- (BOOL)willHandleAgentStream;Swift
func willHandleAgentStream() -> BoolReturn Value
YESif the class can handle agent streams. -
Asks your delegate whether it can handle remote movement of the video stream.
Declaration
Objective-C
- (BOOL)willHandleRemoteMovement;Swift
func willHandleRemoteMovement() -> BoolReturn Value
YESif the class can handle remote movement. -
Asks your delegate whether it can handle audio level adjustments.
Declaration
Objective-C
- (BOOL)willHandleAudioLevel;Swift
func willHandleAudioLevel() -> BoolReturn Value
YESif the class can handle audio levels. -
Tells your delegate when there is an agent video stream.
Declaration
Objective-C
- (void)didReceiveAgentStreamView:(UIView *_Nonnull)agentStreamView;Swift
optional func didReceiveAgentStreamView(_ agentStreamView: UIView)Parameters
agentStreamViewThe view containing the agent stream.
-
Tells your delegate the new location coordinates of an agent stream.
Declaration
Objective-C
- (void)didReceiveAgentStreamScreenCoordinate:(CGPoint)coordinate;Swift
optional func didReceiveAgentStreamScreenCoordinate(_ coordinate: CGPoint)Parameters
coordinateThe new location coordinates.
-
Tells your delegate when the audio level has changed.
Declaration
Objective-C
- (void)didReceiveAudioLevelUpdate:(CGFloat)audioLevel;Swift
optional func didReceiveAudioLevelUpdate(_ audioLevel: CGFloat)Parameters
audioLevelThe new audio level.
-
Tells your delegate when the recording of the session has changed.
Declaration
Objective-C
- (void)didReceiveRecordingUpdate:(BOOL)recording;Swift
optional func didReceiveRecordingUpdate(_ recording: Bool)Parameters
recordingThe recording value.
Install in Dash
SOSUIAgentStreamReceivable Protocol Reference