MBXUploadServiceFactory


@interface MBXUploadServiceFactory : NSObject

Upload service factory.

This class is used to get a pointer/reference to the Upload service platform implementation. In order to set a custom implementation, the client must call setUserDefined() method once before any actual Upload service is required.

  • Replaces the implementation of the Upload service with a custom one. If you define your own HTTP Service we strongly suggest implementing this interface too.

    If a default implementation has been created or a user defined implementation has been set already, it will be replaced. The factory maintains a strong reference to the provided implementation which can be released with the reset() method.

    Declaration

    Objective-C

    + (void)setUserDefinedForCustom:(nonnull id<MBXUploadServiceInterface>)custom;