Other Classes

The following classes are available globally.

  • Routes for the authAppAuth namespace For Objective-C compatible routes see DBAuthRoutes

    Declaration

    Swift

    public class AuthAppAuthRoutes : DropboxTransportClientOwning
  • Routes for the checkAppAuth namespace For Objective-C compatible routes see DBCheckRoutes

    See more

    Declaration

    Swift

    public class CheckAppAuthRoutes : DropboxTransportClientOwning
  • Routes for the filesAppAuth namespace For Objective-C compatible routes see DBFilesRoutes

    See more

    Declaration

    Swift

    public class FilesAppAuthRoutes : DropboxTransportClientOwning
  • Routes for the sharingAppAuth namespace For Objective-C compatible routes see DBSharingRoutes

    See more

    Declaration

    Swift

    public class SharingAppAuthRoutes : DropboxTransportClientOwning
  • The client for the App API. Call routes using the namespaces inside this object (inherited from parent).

    See more

    Declaration

    Swift

    public class DropboxAppClient : DropboxAppBase
  • Wrapper for short-lived token.

    See more

    Declaration

    Swift

    public class ShortLivedAccessTokenProvider : AccessTokenProvider
  • An “rpc-style” request

    Declaration

    Swift

    public class RpcRequest<RSerial, ESerial> : Request<RSerial, ESerial> where RSerial : JSONSerializer, ESerial : JSONSerializer
    extension RpcRequest: HasRequestResponse
  • An “upload-style” request

    Declaration

    Swift

    public class UploadRequest<RSerial, ESerial> : Request<RSerial, ESerial> where RSerial : JSONSerializer, ESerial : JSONSerializer
    extension UploadRequest: HasRequestResponse
  • A “download-style” request to a file

    Declaration

    Swift

    public class DownloadRequestFile<RSerial, ESerial> : Request<RSerial, ESerial> where RSerial : JSONSerializer, ESerial : JSONSerializer
    extension DownloadRequestFile: HasRequestResponse
  • A “download-style” request to memory

    Declaration

    Swift

    public class DownloadRequestMemory<RSerial, ESerial> : Request<RSerial, ESerial> where RSerial : JSONSerializer, ESerial : JSONSerializer
    extension DownloadRequestMemory: HasRequestResponse
  • These objects are constructed by the SDK; users of the SDK do not need to create them manually.

    Pass in a closure to the response method to handle a response or error.

    Declaration

    Swift

    public class Request<RSerial, ESerial> where RSerial : JSONSerializer, ESerial : JSONSerializer