PcTouchView Class Reference

Inherits from UIView
Declared in PcTouchView.h

– setCursorTouchMode:

Set the mouse control mode

- (void)setCursorTouchMode:(TCRMouseCursorTouchMode)mode

Parameters

mode

For details, see the definition of TCRMouseCursorTouchMode

Declared In

PcTouchView.h

– setCursorIsShow:

Set whether the mouse is visible

- (void)setCursorIsShow:(BOOL)isShow

Parameters

isShow

YES to display, NO to hide

Declared In

PcTouchView.h

– setCursorSensitive:

Set the sensitivity when moving the mouse, valid in relative movement mode

- (void)setCursorSensitive:(CGFloat)sensitive

Parameters

sensitive

The default 1.0 is the same as the manual sliding range

Declared In

PcTouchView.h

– setCursorImage:andRemoteFrame:

Set the default mouse icon, valid in local rendering mode

- (void)setCursorImage:(UIImage *)image andRemoteFrame:(CGRect)remoteFrame

Parameters

image

cursor pointer icon

remoteFrame

The size and position of the cursor view, in the video source coordinate system

Declared In

PcTouchView.h

– setClickTypeIsLeft:

Set the click type that triggers the mouse when clicking. The default triggers left click.

- (void)setClickTypeIsLeft:(BOOL)isLeft

Parameters

isLeft

YES, triggers the left mouse button; NO, triggers the right mouse button

Declared In

PcTouchView.h

– moveCursorWithDiffX:diffY:

Move the mouse pointer through the interface (valid in local rendering mode)

- (void)moveCursorWithDiffX:(CGFloat)diffX diffY:(CGFloat)diffY

Parameters

diffX

On the X-axis of the current mouse view, the mouse pointer moves diffX points.

diffY

On the Y axis of the current mouse view, the mouse pointer moves diffY points.

Declared In

PcTouchView.h