Avaya Client Services API Reference (OS X)
|
CSScreenSharingListener is a class that is responsible for two things: More...
#import <CSScreenSharingListener.h>
Inherits NSObject.
Instance Methods | |
(void) | - drawSharingBlock: |
Draws CSSharingBlock object received from collaboration server on layer. More... | |
(void) | - displayLayer: |
Implementation of informal CALayer drawing protocol. More... | |
(instancetype) | - initWithFrame: |
Inits CSScreenSharingListener with frame size which is used to properly set a pause screen size. More... | |
(void) | - setViewSize: |
Sets drawing layer frame to rect which origin is {0,0} and given size. More... | |
(CGSize) | - contentSize |
Properties | |
CALayer * | drawingLayer |
The layer that drawing will be performed on. More... | |
CSView * | drawingView |
A view, that a drawingLayer is assigned as content. More... | |
CSScreenSharingListener is a class that is responsible for two things:
Proper use of this class:
Client doesn't need to invoke methods of this class in order to make content sharing work unless custom screen sharing view is developed.
- (CGSize) contentSize |
- (void) displayLayer: | (CALayer *) | layer |
Implementation of informal CALayer drawing protocol.
It puts content on layer. It is called, when needsDisplay is set to YES on drawingLayer
layer | Layer to display |
- (void) drawSharingBlock: | (CSSharingBlock *) | bitmapBlock |
Draws CSSharingBlock object received from collaboration server on layer.
bitmapBlock | Block to draw on drawing layer |
- (instancetype) initWithFrame: | (CGRect) | frame |
Inits CSScreenSharingListener with frame size which is used to properly set a pause screen size.
frame | Frame of screen sharing view |
- (void) setViewSize: | (CGSize) | size |
Sets drawing layer frame to rect which origin is {0,0} and given size.
size | Size of frame to be set. |
|
readwritenonatomicstrong |
The layer that drawing will be performed on.
Initialized internally by CSScreenSharingListener.
|
readwritenonatomicweak |
A view, that a drawingLayer is assigned as content.
Here, it's used to apply any sharing screen viewport size changes. Initialized internally by CSScreenSharingListener.