EventType
public enum EventType : BoxEnum
Undocumented
-
A folder or file was created.
Declaration
Swift
case itemCreated -
A folder or file was uploaded.
Declaration
Swift
case itemUploaded -
A comment was created on a folder, file, or other comment.
Declaration
Swift
case commentCreated -
A comment was deleted on folder, file, or other comment.
Declaration
Swift
case commentDeleted -
A file or folder was downloaded.
Declaration
Swift
case itemDownloaded -
A file was previewed.
Declaration
Swift
case itemPreviewed -
A file or folder was moved.
Declaration
Swift
case itemMoved -
A file or folder was copied.
Declaration
Swift
case itemCopied -
A task was assigned.
Declaration
Swift
case taskAssigned -
A task was created.
Declaration
Swift
case taskCreated -
A file was locked.
Declaration
Swift
case fileLocked -
A file was unlocked. If a locked file is deleted, the source file will be null.
Declaration
Swift
case fileUnlocked -
A file or folder was marked as deleted.
Declaration
Swift
case itemDeleted -
A file or folder was recovered out of the trash.
Declaration
Swift
case itemRecovered -
A collaborator was added to a folder.
Declaration
Swift
case collaboratorAdded -
A collaborator had their role changed.
Declaration
Swift
case collaboratorRoleChanged -
A collaborator was invited on a folder.
Declaration
Swift
case collaboratorInvited -
A collaborator was removed from a folder.
Declaration
Swift
case collaboratorRemoved -
A folder was marked for sync.
Declaration
Swift
case itemSync -
A folder was un-marked for sync.
Declaration
Swift
case itemUnsync -
A file or folder was renamed.
Declaration
Swift
case itemRenamed -
A file or folder was enabled for sharing.
Declaration
Swift
case itemEnabledForSharing -
A file or folder was disabled for sharing.
Declaration
Swift
case itemDisabledForSharing -
A folder was shared.
Declaration
Swift
case itemShared -
A previous version of a file was promoted to the current version.
Declaration
Swift
case itemMadeCurrentVersion -
A Tag was added to a file or folder.
Declaration
Swift
case tagAdded -
2 factor authentication enabled by user.
Declaration
Swift
case twoFactorEnabled -
Free user accepts invitation to become a managed user.
Declaration
Swift
case masterInviteAccepted -
Free user rejects invitation to become a managed user.
Declaration
Swift
case masterInviteRejected -
Granted Box access to account.
Declaration
Swift
case accessGranted -
Revoke Box access to account.
Declaration
Swift
case accessRevoked -
Added user to group.
Declaration
Swift
case addedUserToGroup -
Removed user from group.
Declaration
Swift
case removedUserFromGroup
-
Created user.
Declaration
Swift
case createdUser -
Created new group.
Declaration
Swift
case createdGroup -
Deleted group.
Declaration
Swift
case deletedGroup -
Deleted user.
Declaration
Swift
case deletedUser -
Edited group.
Declaration
Swift
case editedGroup -
Edited user.
Declaration
Swift
case editedUser -
Admin login
Declaration
Swift
case adminLogin -
Added device association
Declaration
Swift
case addedDeviceAssocation -
Edit the permissions on a folder
Declaration
Swift
case changeFolderPermission -
Failed login
Declaration
Swift
case failedLogin -
Login
Declaration
Swift
case login -
Removed device association
Declaration
Swift
case removedDeviceAssociation -
Device Trust check failed
Declaration
Swift
case deviceTrustCheckFailed -
Accepted terms
Declaration
Swift
case termsOfServiceAccepted -
Rejected terms
Declaration
Swift
case termsOfServiceRejected -
Virus found on a file. Event is only received by enterprises that have opted in to be notified.
Declaration
Swift
case fileMarkedMalicious -
Copied
Declaration
Swift
case copied -
Deleted
Declaration
Swift
case deleted -
Downloaded
Declaration
Swift
case downloaded -
Edited
Declaration
Swift
case edited -
Locked
Declaration
Swift
case locked -
Moved
Declaration
Swift
case moved -
Previewed
Declaration
Swift
case previewed -
A file or folder name or description is changed.
Declaration
Swift
case renamed -
Set file auto-delete
Declaration
Swift
case storageExpiration -
Undeleted
Declaration
Swift
case undeleted -
Unlocked
Declaration
Swift
case unlocked -
Uploaded
Declaration
Swift
case uploaded -
Enabled shared links
Declaration
Swift
case shareEnabled -
Share links settings updated
Declaration
Swift
case itemShareUpdated -
Extend shared link expiration
Declaration
Swift
case shareExpirationUpdated -
Set shared link expiration
Declaration
Swift
case shareExpiration -
Unshared shared link
Declaration
Swift
case unshared -
Accepted invites
Declaration
Swift
case collaborationAccepted -
Changed user roles
Declaration
Swift
case collaborationRoleChanged -
Extend collaborator expiration
Declaration
Swift
case collaborationExpirationExtended -
Removed collaborators
Declaration
Swift
case collaborationRemoved -
Invited
Declaration
Swift
case invitedToCollaboration -
Set collaborator expiration
Declaration
Swift
case collaborationExpiration -
A user is logging in from a device we haven’t seen before.
Declaration
Swift
case loginActivityDeviceAdded -
We invalidated a user session associated with an app.
Declaration
Swift
case loginActivityDeviceRemoved -
An OAuth 2.0 access token has been created
Declaration
Swift
case userOAuth2AccessTokenCreated -
When an admin role changes for a user
Declaration
Swift
case userAdminRoleChanged -
A collaborator violated an admin-set upload policy
Declaration
Swift
case contentWorkflowUploadPolicyViolated -
Undocumented
Declaration
Swift
case metadataInstanceCreated -
Update of metadata instance.
Declaration
Swift
case matadataInstanceUpdated -
Deletion of metadata instance.
Declaration
Swift
case matadataInstanceDeleted -
Update of a task assignment.
Declaration
Swift
case taskAssignmentUpdated -
A task assignment is deleted.
Declaration
Swift
case taskAssignmentDeleted -
A task’s comment was edited.
Declaration
Swift
case taskUpdated -
An item is added to a group.
Declaration
Swift
case itemAddedToGroup -
Retention is removed.
Declaration
Swift
case dataRetentionRemoved -
Retention is created.
Declaration
Swift
case dataRetentionCreated -
A retention policy assignment is added.
Declaration
Swift
case dataRetentionPolicyAssignmentAdded -
A legal hold assignment is created.
Declaration
Swift
case legalHoldAssignmentCreated -
A legal hold assignment is deleted.
Declaration
Swift
case legalHoldAssignmentDeleted -
A legal hold policy is created.
Declaration
Swift
case legalHoldPolicyCreated -
A legal hold policy is updated.
Declaration
Swift
case legalHoldPolicyUpdated -
A legal hold policy is deleted.
Declaration
Swift
case legalHoldPolicyDeleted -
There is a sharing policy violation.
Declaration
Swift
case sharingPolicyViolation -
An application public key is added.
Declaration
Swift
case applicationPublicKeyAdded -
An application public key is deleted.
Declaration
Swift
case applicationPublicKeyDeleted -
A new application was created in the Box developer console.
Declaration
Swift
case applicationCreated -
A content policy is added.
Declaration
Swift
case contentPolicyAdded -
An automation is added.
Declaration
Swift
case automationAdded -
An automation is deleted.
Declaration
Swift
case automationDeleted -
A user email alias is confirmed.
Declaration
Swift
case userEmailAliasConfirmed -
A user email alias is removed.
Declaration
Swift
case userEmailAliasRemoved -
A watermark is added to a file.
Declaration
Swift
case watermarkAdded -
A watermark is removed from a file.
Declaration
Swift
case watermarkRemoved -
Creation of metadata template instance.
Declaration
Swift
case metadataTemplateCreated -
Update of metadata template instance.
Declaration
Swift
case metadataTemplateUpdated -
Deletion of metadata template instance.
Declaration
Swift
case metadataTemplateDeleted -
Item was opened.
Declaration
Swift
case itemOpened -
Item was modified.
Declaration
Swift
case itemModified -
When a policy set in the Admin console is triggered.
Declaration
Swift
case abnormalDownloadActivity -
Folders were removed from a group in the Admin console.
Declaration
Swift
case itemsRemovedFromGroup -
Folders were added to a group in the Admin console.
Declaration
Swift
case itemsAddedToGroup -
A watermarked file was downloaded.
Declaration
Swift
case watermarkedFileDownloaded
-
Custom event type, that is not yet implemented in this SDK version.
Declaration
Swift
case customValue(String) -
Initializer
Declaration
Swift
public init(_ value: String)Parameters
valueThe string value of the event type
-
String representation of sync state.
Declaration
Swift
public var description: String { get }
EventType Enumeration Reference