PTCollaborationManager
@interface PTCollaborationManager : PTBaseCollaborationManager
The object that is responsible for sending local changes to the remote server, and for receiving remote changes from the server.
-
Initializes a newly created
PTCollaborationManagerinstance.Declaration
Objective-C
- (nonnull instancetype)initWithToolManager:(nonnull PTToolManager *)toolManager userId:(nonnull NSString *)userId mode:(PTExternalAnnotManagerMode)mode;Swift
init(toolManager: PTToolManager, userId: String, mode: PTExternalAnnotManagerMode)Parameters
toolManagerThe tool manager used by this object to register for annotation change events that occur locally, and to push back changes that happen remotely (via its annotManager).
userIdThe identifier for the current collaboration user.
modeThe mode to use for the
PTExternalAnnotManager.Return Value
an initialized
PTCollaborationManagerinstance. -
The mode used by the
PTExternalAnnotManager.Declaration
Objective-C
@property (nonatomic, readonly) PTExternalAnnotManagerMode mode;Swift
var mode: PTExternalAnnotManagerMode { get }
PTCollaborationManager Class Reference