RRContentUploadAPIConfig

Objective-C

@interface RRContentUploadAPIConfig : NSOperation

Swift

class RRContentUploadAPIConfig : Operation

RRContentUploadAPIConfig needed for the server connection to transfer captured data

  • API server base url

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSURL *_Nonnull baseUrl;

    Swift

    var baseUrl: URL { get }
  • Unique string provided by the ReactiveReality team

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull customerId;

    Swift

    var customerId: String { get }
  • JWT token obtained with the authorization service

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSString *_Nonnull accessToken;

    Swift

    var accessToken: String { get }
  • Instantiates configuration with given parameters

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithBaseUrl:(NSURL *_Nonnull)url
                                  customerId:(NSString *_Nonnull)identifier
                                 accessToken:(NSString *_Nonnull)token;

    Swift

    init(baseUrl url: URL, customerId identifier: String, accessToken token: String)

    Parameters

    url

    API server base url

    identifier

    API server base url

    token

    API server base url

    Return Value

    an instance of RRContentUploadAPIConfig

  • Unavailable

    Undocumented

    Declaration

    Objective-C

    - (instancetype _Nonnull)init NS_UNAVAILABLE;