Protocols
The following protocols are available globally.
-
Defines methods for communication with Box APIs
See moreDeclaration
Swift
public protocol BoxClientProtocol : AnyObject
-
General BoxEnum protocol specifying response model enum behaviour
See moreDeclaration
Swift
public protocol BoxEnum : QueryParameterConvertible, Decodable, Encodable, Equatable, LosslessStringConvertible
-
Defines main log destination behaviour
See moreDeclaration
Swift
public protocol LogDestination
-
Defines networking layer interface
See moreDeclaration
Swift
public protocol NetworkAgentProtocol
-
Defines an interface for cancelling API calls.
See moreDeclaration
Swift
public protocol Cancellable
-
Defines items convertible to query parameter
See moreDeclaration
Swift
public protocol QueryParameterConvertible
-
Represents simple resource type abstraction
See moreDeclaration
Swift
public protocol ResourceTypeEntity : Encodable
-
Defines Box SDK model behavior
See moreDeclaration
Swift
public protocol BoxModel
-
Box inner model
Declaration
Swift
public protocol BoxInnerModel : Decodable, Encodable
-
Defines methods for managing session token.
See moreDeclaration
Swift
public protocol SessionProtocol
-
Defines handler for expired token.
See moreDeclaration
Swift
public protocol ExpiredTokenHandling
-
Defines an interface for managing token.
See moreDeclaration
Swift
public protocol TokenStore