Classes

The following classes are available globally.

  • Provides methods for creating BoxSDKClient

    See more

    Declaration

    Swift

    public class BoxSDK
  • Provides communication with Box APIs. Defines methods for communication with Box APIs

    See more

    Declaration

    Swift

    public class BoxClient
  • General SDK constants and static helper methods

    See more

    Declaration

    Swift

    public class Constants
  • Management of collections of files and folders. The only collection available is the Favorites.

    See more

    Declaration

    Swift

    public class CollectionsModule
  • Defines methods for metadata management

    See more

    Declaration

    Swift

    public class MetadataModule
  • Provides functionality to search for content.

    See more

    Declaration

    Swift

    public class SearchModule
  • Represents Box SDK API request.

    See more

    Declaration

    Swift

    public class BoxRequest
  • Collections contain information about the items contained inside of them, including files and folders. The only collection available is the “Favorites” collection. The contents of the collection are discovered in a similar way in which the contents of a folder are discovered.

    See more

    Declaration

    Swift

    public class BoxCollection : BoxModel
  • Defines access permissions for users and groups to files and folders, similar to access control lists. A collaboration object grants a user or group access to a file or folder with permissions defined by a specific role.

    See more

    Declaration

    Swift

    public class Collaboration : BoxModel
  • Message generated by Box users. Each message is tied to a specific file. You can create comments independently or create them as responses to other comments.

    See more

    Declaration

    Swift

    public class Comment : BoxModel
  • File objects in Box, with attributes like who created the file, when it was last modified, and other information.

    See more

    Declaration

    Swift

    public class File : BoxModel
  • File objects in Box, with attributes like who created the file, when it was last modified, and other information.

    See more

    Declaration

    Swift

    public class Folder : BoxModel
  • Files, folders, or web links contained within a folder.

    See more

    Declaration

    Swift

    public class FolderItem : BoxModel
  • Contain a set of users, and can be used in place of users in some operations, such as collaborations.

    See more

    Declaration

    Swift

    public class Group : BoxModel
  • Defines invitation for a user to join enterprise

    See more

    Declaration

    Swift

    public class Invite : BoxModel
  • Locks a file to prevent it from being modified

    See more

    Declaration

    Swift

    public class Lock : BoxModel
  • Metadata that belongs to a file or folder is grouped by templates. Templates allow the metadata service to provide a multitude of services, such as pre-defining sets of key:value pairs or schema enforcement on specific fields.

    See more

    Declaration

    Swift

    public class MetadataTemplate : BoxModel
  • Provides direct, read-only access to files or folder on Box using a URL

    See more

    Declaration

    Swift

    public class SharedLink : BoxModel
  • Enables file-centric workflows in Box. User can create tasks on files and assign them to collaborators on Box. You can read more about tasks in Box here.

    See more

    Declaration

    Swift

    public class Task : BoxModel
  • Task assignment to a single user. There can be multiple assignments on a given task.

    See more

    Declaration

    Swift

    public class TaskAssignment : BoxModel
  • Info about the tokens used by the SDK for authentication.

    See more

    Declaration

    Swift

    public class TokenInfo : Codable
  • Object that points to URLs. These objects are also known as bookmarks within the Box web application.

    See more

    Declaration

    Swift

    public class WebLink : BoxModel