PTCollaborationAnnotation
@interface PTCollaborationAnnotation : NSObject
A class that represents a PTAnnot
for collaboration purposes.
It is typically passed between an instance of a PTCollaborationManager
and an object that
conforms to the PTCollaborationServerCommunication
protocol as a means of describing annotations
that have been created, modified and deleted.
-
The annotation’s unique ID.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *annotationID;
-
The user ID of the annotation’s creator. This is defined by the
PTCollaborationServerCommunication
.Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *userID;
-
The user name of the annotation’s creator.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *userName;
-
The XFDF representation of the annotation.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *xfdf;
-
The annotation’s parent annotation’s annotationID.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *parent;
-
The unique ID of the document with which this annotation is associated.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *documentID;
-
Whether the annotation is valid for an add action.
Declaration
Objective-C
@property (nonatomic, readonly, getter=isValidForAdd) BOOL validForAdd;
-
Whether the annotation is valid for a modify action.
Declaration
Objective-C
@property (nonatomic, readonly, getter=isValidForModify) BOOL validForModify;
-
Whether the annotation is valid for a remove action.
Declaration
Objective-C
@property (nonatomic, readonly, getter=isValidForRemove) BOOL validForRemove;