Avaya Client Services API Reference (OS X)
|
CSWhiteboardCanvas object provides canvas which can be displayed during whiteboard session. More...
#import <CSWhiteboardCanvas.h>
Inherits NSView.
Inherited by CSPresentationSlideCanvas.
Instance Methods | |
(instancetype) | - initWithFrame: |
Initializes with frame. More... | |
(instancetype) | - initWithCoder: |
Initializes with coder. More... | |
(void) | - clearWhiteboardWithCompletionHandler: |
Clears whiteboard. More... | |
Properties | |
CSWhiteboardSurface * | whiteboardSurface |
Current whiteboard surface of whiteboard. More... | |
NSColor * | color |
Current color of whiteboard. More... | |
CSWhiteboardTool | tool |
Current tool of whiteboard. More... | |
CSWhiteboardCanvas object provides canvas which can be displayed during whiteboard session.
This object allows also user to draw on it. Canvas should have properly set whiteboard surface by client so as to work properly.
- (void) clearWhiteboardWithCompletionHandler: | (void(^)(CSWhiteboardSurface *surface, NSError *error)) | handler |
Clears whiteboard.
Operation is completed on whiteboard canvas (drawings are removed) after response from server. There's also corresponding method for CSWhiteboardSurface class but unless you want to create custom whiteboard canvas, use this one.
handler | A block to be called when the operation is completed.
|
- (instancetype) initWithCoder: | (NSCoder *) | coder |
Initializes with coder.
coder | Coder that CSWhiteboardCanvas is initialized with. |
- (instancetype) initWithFrame: | (NSRect) | frameRect |
Initializes with frame.
frameRect | Rect that CSWhiteboardCanvas is initialized with. |
|
readwritenonatomicstrong |
Current color of whiteboard.
Black is set by default.
|
readwritenonatomicassign |
Current tool of whiteboard.
eMove is set by default.
|
readwritenonatomicstrong |
Current whiteboard surface of whiteboard.