Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
ContentSharing Class
ContentSharing Properties
ContentSharing Methods
ContentSharing Events

# ContentSharing Class

The ContentSharing object provides access to content sharing related capabilities and actions.
Inheritance Hierarchy
System
Object
Avaya.ClientServices
ContentSharing

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
Copy

    public class ContentSharing

The ContentSharing type exposes the following members.

Properties

| Name | Description
--- | --- | ---
| CurrentPresenter | Indicates the participant who is currently sharing. In case sharing isn't active it returns NULL.
| Displays | Returns the dictionary of int, String pair of display names and ids.
| IsPresenting | Returns true if the local user is sharing/presenting content.
| IsRemoteControlOn | Returns true if remote control session is currently started and current user is either presenting or remote-controlling the presenter.
| IsSharingApplicationWindow | Returns true if application window sharing is active.
| IsSharingFullScreen | Returns true if full screen sharing is active.
| IsSharingScreenRegion | Returns true if screen region sharing is active.
| OfferRemoteControlCapability | Returns whether the content sharing supports offering a remote control.
| RemoteController | Participant who has remote control over any other collaboration participant. Null in case remote control is not active.
| RequestRemoteControlCapability | Returns whether the content sharing supports requesting for remote control.
| ShareApplicationWindowCapability | Returns whether the content sharing supports application window sharing.
| SharedApplicationWindow | Returns SharingApplicationWindow if application sharing is active.
| ShareFullScreenCapability | Returns whether the content sharing supports full screen sharing.
| ShareScreenRegionCapability | Returns whether the content sharing supports screen region sharing.
| SharingCapabilities | Return the collaboration capabilities.
| SharingFrame | Content sharing frame size and position - System.Drawing.Rectangle
| SupportRemoteControlCapability | Returns whether the content sharing supports remote control.

Top
Methods

| Name | Description
--- | --- | ---
| CopyToRemoteControl |
| DeclineRemoteControl | Decline remote control session (used after remote control session start).
| DenyRemoteControl | Deny incoming remote control request (used before remote control session start).
| End | Ends content sharing session.
| EndRemoteControl | End remote control session or reject incoming offer.
| GetAvailableApplicationWindows | Returns the vector of CSharingApplicationWindow that can be shared.
| GrantRemoteControl | Offer remote control or accept incoming remote control request (used before remote control session start).
| PasteToRemoteControl |
| Pause | Pauses sharing.
| RequestRemoteControl | Send remote control request to presenter (used before remote control session start).
| Resume | Resumes sharing.
| RetrieveRemoteControlParticipants | Obtain the participants that support remote control.
| StartRemoteControl | Start remote control session or accept incoming offer.
| StartSharingApplicationWindow | Starts sharing of an application window.
| StartSharingFullScreen | Starts sharing full screen.
| StartSharingScreenRegion | Starts sharing of a specified screen region.

Top
Events

| Name | Description
--- | --- | ---
| CapabilitiesChanged | Called when content sharing capabilities have changed.
| CursorReceived | Reports received cursor position. Can be outside of bitmap bounds if left screen sharing region.
| Ended | Reports that content sharing session has been ended remotely.
| IncomingRemoteControlDecline | Reports that that your remote control session has just declined.
| IncomingRemoteControlDeny | Reports that your request for remote control was denied by presenter.
| IncomingRemoteControlEnd | Reports that remote control session has just ended.
| IncomingRemoteControlGrant | Reports that local user request for remote control was granted by presenter.
| IncomingRemoteControlOffer | Reports an incoming remote control offer. Local user may accept the request by calling IContentSharing.StartRemoteControl() or deny it by calling ContentSharing.EndRemoteControl().
| IncomingRemoteControlRequest | Reports an incoming remote control request. Local user may accept the request by calling ContentSharing.GrantContentSharingRemoteControl() or deny it by calling ContentSharing.DenyContentSharingRemoteControl().
| IncomingRemoteControlStart | Reports that remote control session has just started.
| Paused | Reports that content sharing session has been paused remotely.
| PresenterUpdated | Reports presenter update based on remote control request or offer.
| Resumed | Reports that content sharing session has been resumed remotely.
| SharingApplicationWindowStateChanged | Called when currently shared application window state have changed (i.e window was minimized or restored).
| SharingFrameChanged | Called after sharing frame size or position has changed.
| SharingFrameReceived | Reports that entire content sharing frame was received from server. It indicates that client screen sharing is ready to be shown to user. Frame parameter lets client properly update UI with sharing size if needed.
| Started | Reports that content sharing session has been started remotely.

Top
Remarks
This class is used for receiving and sending content sharing. This object is accessible via Collaboration.
See Also

#### Reference

Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.