Classes
The following classes are available globally.
-
A concrete implementation of
See moreOAuthAuthorizationFlowView
based on UIKit.Declaration
Swift
public final class WebViewControllerPresenterMobile : OAuthAuthorizationFlowView
-
A view controller with a web view and a cancel button in the navigation bar. It forwards its navigation actions and cancel button taps to blocks. The controller does not allow the user to type an address. An initial address is instead provided to instances of this class which is loaded when an instance is shown.
See moreDeclaration
Swift
public final class WebViewControllerMobile : UIViewController
extension WebViewControllerMobile: WKNavigationDelegate
-
Concrete type-erased implementation of
See moreCancellable
. It forwards itscancel()
invocation to a block.Declaration
-
Executes a network call to the pCloud API.
See moreDeclaration
Swift
public final class CallTask<Method> : Cancellable where Method : PCloudAPIMethod
extension CallTask: CustomStringConvertible
-
A wrapper around
See moreDownloadOperation
. Downloads a file to disk.Declaration
-
Utility class providing convenient interface to common API methods.
See moreDeclaration
Swift
public final class PCloudClient
-
Concrete implementation of
See moreCallOperation
backed by aURLSessionDataTask
.Declaration
Swift
public final class URLSessionBasedCallOperation : URLSessionBasedNetworkOperation<Call.Response>
extension URLSessionBasedCallOperation: CallOperation
extension URLSessionBasedCallOperation: CustomStringConvertible
-
Concrete implementation of
See moreDownloadOperation
backed by aURLSessionDownloadTask
.Declaration
Swift
public final class URLSessionBasedDownloadOperation : URLSessionBasedNetworkOperation<Download.Response>
extension URLSessionBasedDownloadOperation: DownloadOperation
extension URLSessionBasedDownloadOperation: CustomStringConvertible
-
Base class for network operations backed by
See moreURLSessionTask
. Conforms toNetworkOperation
. ForwardsURLSessionObserver
callbacks to blocks.Declaration
Swift
public class URLSessionBasedNetworkOperation<T>
extension URLSessionBasedNetworkOperation: NetworkOperation
extension URLSessionBasedNetworkOperation: URLSessionObserver
-
Concrete implementation of
See moreUploadOperation
backed by aURLSessionUploadTask
.Declaration
Swift
public final class URLSessionBasedUploadOperation : URLSessionBasedNetworkOperation<Upload.Response>
extension URLSessionBasedUploadOperation: UploadOperation
extension URLSessionBasedUploadOperation: CustomStringConvertible
-
Forwards callbacks from a
See moreURLSession
to objects implementingURLSessionObserver
. Assigns a single observer perURLSessionTask
and that observer receives all callbacks associated with that task.Declaration
Swift
public final class URLSessionEventHub : NSObject
extension URLSessionEventHub: URLSessionTaskDelegate
extension URLSessionEventHub: URLSessionDataDelegate
extension URLSessionEventHub: URLSessionDownloadDelegate
-
Executes an upload to the pCloud API.
See moreDeclaration
Swift
public final class UploadTask<Method> : Cancellable where Method : PCloudAPIMethod
extension UploadTask: CustomStringConvertible