Avaya Client Services API Reference (OS X)

- Main Page
- Classes
- Files
- Related Pages

- Class List
- Class Index
- Class Hierarchy
- Class Members

Instance Methods | List of all members
<CSContentSharingDelegate> Protocol Reference

CSContentSharingDelegate is registered as an observer of content sharing status update notifications. More...

`#import <CSContentSharing.h>`

Inherits <NSObjectNSObject>.

Inherited by CSScreenSharingView.

## Instance Methods
(void) | - contentSharing:didStartByParticipant:
| Reports that content sharing session has been started by other collaboration participant. More...
(void) | - contentSharingDidEnd:
| Reports that content sharing session has been ended by other collaboration participant. More...
(void) | - contentSharingDidPause:
| Reports that content sharing session has been paused by other collaboration participant. More...
(void) | - contentSharingDidResume:
| Reports that content sharing session has been resumed by other collaboration participant. More...
(void) | - contentSharing:didReceiveCursorPosition:
| Sends information about cursor position with received content sharing. More...
(void) | - contentSharing:didReceiveSharingFrame:
| Reports that entire content sharing frame was received from server. More...
(void) | - contentSharing:didChangeSharingFrame:
| Reports that sent sharing frame has changed. More...
(void) | - contentSharing:didChangeApplicationWindowState:
| Reports change of state of sharing application window. More...
(void) | - contentSharingDidChangeCapabilities:
| Called when content sharing capabilities have changed. More...

## Detailed Description

CSContentSharingDelegate is registered as an observer of content sharing status update notifications.

The client application is notified about content sharing status updates reported by the collaboration server through the CSContentSharingDelegate object. These updates may be the result of local operations on the CSContentSharing object as well as remote changes initiated by either the server or other users on the collaboration call.

See also
  CSOSXScreenSharingView

## Method Documentation

- (void) contentSharing: |  | (CSContentSharing *) | content
didChangeApplicationWindowState: |  | (CSSharingApplicationWindowState) | applicationWindowState
| optional

Reports change of state of sharing application window.

Invoked solely during application window sharing session (also when application sharing is paused). See CSSharingWindow::CSSharingApplicationWindowState because it can change state of sharing.

Parameters

  content | CSContentSharing sending the message.
  applicationWindowState | Updated state of shared application window.

See also
  CSSharingWindow::CSSharingApplicationWindowState

- (void) contentSharing: |  | (CSContentSharing *) | content
didChangeSharingFrame: |  | (CGRect) | frame
| optional

Reports that sent sharing frame has changed.

Invoked when local user changes shared area (e.g. sharing type is changed, shared application window is resized)

Parameters

  content | CSContentSharing sending the message.
  frame | Updated frame of shared area.

- (void) contentSharing: |  | (CSContentSharing *) | content
didReceiveCursorPosition: |  | (CGPoint) | position
| optional

Sends information about cursor position with received content sharing.

Parameters

  content | CSContentSharing sending the message.
  position | Cursor coordinates of the received content sharing.

- (void) contentSharing: |  | (CSContentSharing *) | content
didReceiveSharingFrame: |  | (CGSize) | frameSize
| optional

Reports that entire content sharing frame was received from server.

It indicates that client screen sharing is ready to be shown to user. Size parameter lets client properly update UI with sharing size if needed.

Parameters

  content | CSContentSharing sending the message.
  frameSize | Size of received sharing frame.

- (void) contentSharing: |  | (CSContentSharing *) | content
didStartByParticipant: |  | (CSParticipant *) | participant
| optional

Reports that content sharing session has been started by other collaboration participant.

When this delegate method is triggered in the client application, CSContentSharing::isRemoteControlOn flag is set to true.

Parameters

  content | CSContentSharing sending the message.
  participant | CSParticipant object indicating participant who started content sharing.

- (void) contentSharingDidChangeCapabilities: |  | (CSContentSharing *) | content |
| optional

Called when content sharing capabilities have changed.

- (void) contentSharingDidEnd: |  | (CSContentSharing *) | content |
| optional

Reports that content sharing session has been ended by other collaboration participant.

Cab be also called so as to indicate that remote control ended between other collaboration participant wihout local user being involved.

Parameters

  content | CSContentSharing sending the message.

- (void) contentSharingDidPause: |  | (CSContentSharing *) | content |
| optional

Reports that content sharing session has been paused by other collaboration participant.

Parameters

  content | CSContentSharing sending the message.

- (void) contentSharingDidResume: |  | (CSContentSharing *) | content |
| optional

Reports that content sharing session has been resumed by other collaboration participant.

Parameters

  content | CSContentSharing sending the message.

The documentation for this protocol was generated from the following file:

- CSContentSharing.h