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
  • 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

    value

    The string value of the event type

  • String representation of sync state.

    Declaration

    Swift

    public var description: String { get }