SOSScreenAnnotations Class Reference

Inherits from NSObject
Declared in SOSScreenAnnotations.h

Overview

Class to handle screen annotations. This class implements the SOSWebRTCDelegate.

  enabled

If enabled, will allow drawing on the current screen by the service agent.

@property (atomic) BOOL enabled

Discussion

Default: YES

Note: if you set this to NO while screen sharing is active, it will execute stop.

Declared In

SOSScreenAnnotations.h

  clearOnTouches

When enabled all touch events will clear the screen of annotations, unless the Agent is currently drawing.
If you wish to handle clearing annotations yourself set this to NO.

@property (atomic) BOOL clearOnTouches

Discussion

Default: YES

Declared In

SOSScreenAnnotations.h

  lineColor

Customizable color of the line drawing feature. Will not change the color of existing lines on the screen.

@property (nonatomic) UIColor *lineColor

Discussion

Default: [UIColor redColor]

Declared In

SOSScreenAnnotations.h

  lineWidth

Customizable width of the line drawing feature. Does not change the width of existing lines on the screen.

@property (nonatomic) CGFloat lineWidth

Discussion

Default: 5.0f

Declared In

SOSScreenAnnotations.h

– clearDraw

Clears the current annotation by reinitializing the drawer.

- (void)clearDraw

Declared In

SOSScreenAnnotations.h

– start

Initiates the drawing feature.

- (void)start

Declared In

SOSScreenAnnotations.h

– stop

Stops the drawing feature.

- (void)stop

Declared In

SOSScreenAnnotations.h