SKYContainer

@interface SKYContainer : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (nonnull SKYContainer *)defaultContainer;

    Swift

    class func `default`() -> SKYContainer
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, nonatomic) SKYAuthContainer *_Nonnull auth;

    Swift

    var auth: SKYAuthContainer { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, nonatomic) SKYPubsubContainer *_Nonnull pubsub;

    Swift

    var pubsub: SKYPubsubContainer { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, nonatomic) SKYPushContainer *_Nonnull push;

    Swift

    var push: SKYPushContainer { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readwrite, nonatomic) id<SKYContainerDelegate> _Nullable delegate;

    Swift

    weak var delegate: SKYContainerDelegate? { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSURL *_Nonnull endPointAddress;

    Swift

    var endPointAddress: URL { get set }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, nonatomic) SKYPublicDatabase *_Nonnull publicCloudDatabase;

    Swift

    var publicCloudDatabase: SKYPublicDatabase { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, nonatomic) SKYDatabase *_Nonnull privateCloudDatabase;

    Swift

    var privateCloudDatabase: SKYDatabase { get }
  • Undocumented

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nullable containerIdentifier;

    Swift

    var containerIdentifier: String? { get }
  • Returns the API key of the container.

    Declaration

    Objective-C

    @property (readonly, nonatomic) NSString *_Nullable APIKey;

    Swift

    var apiKey: String? { get }
  • The maximum amount of time to wait before the request is considered timed out.

    The default time interval is 60 seconds.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSTimeInterval defaultTimeoutInterval;

    Swift

    var defaultTimeoutInterval: TimeInterval { get set }
  • Deprecated

    Use -configure: instead

    Configuration on the container End-Point, API-Token

    Declaration

    Objective-C

    - (void)configAddress:(nonnull NSString *)address;

    Swift

    func configAddress(_ address: String)
  • Deprecated

    Use -configure: instead

    Set a new API key to the container.

    Declaration

    Objective-C

    - (void)configureWithAPIKey:(NSString *_Nullable)APIKey;

    Swift

    func configure(withAPIKey APIKey: String?)
  • Updates configuration of the container

    Declaration

    Objective-C

    - (void)configure:(nonnull SKYConfiguration *)config;

    Swift

    func configure(_ config: SKYConfiguration)
  • Undocumented

    Declaration

    Objective-C

    - (void)addOperation:(nonnull SKYOperation *)operation;

    Swift

    func add(_ operation: SKYOperation)
  • Calls a registered lambda function without arguments.

    Declaration

    Objective-C

    - (void)callLambda:(nonnull NSString *)action
        completionHandler:
            (void (^_Nullable)(id _Nullable, NSError *_Nullable))completionHandler;

    Swift

    func callLambda(_ action: String, completionHandler: ((Any?, Error?) -> Void)? = nil)
  • Calls a registered lambda function with arguments.

    Declaration

    Objective-C

    - (void)callLambda:(nonnull NSString *)action
                arguments:(NSArray *_Nullable)arguments
        completionHandler:
            (void (^_Nullable)(id _Nullable, NSError *_Nullable))completionHandler;

    Swift

    func callLambda(_ action: String, arguments: [Any]?, completionHandler: ((Any?, Error?) -> Void)? = nil)
  • Calls a registered lambda function with array arguments.

    Declaration

    Objective-C

    - (void)callLambda:(nonnull NSString *)action
           arrayArguments:(NSArray *_Nullable)arguments
        completionHandler:
            (void (^_Nullable)(id _Nullable, NSError *_Nullable))completionHandler;

    Swift

    func callLambda(_ action: String, arrayArguments arguments: [Any]?, completionHandler: ((Any?, Error?) -> Void)? = nil)
  • Calls a registered lambda function with dictionay arguments.

    Declaration

    Objective-C

    - (void)callLambda:(nonnull NSString *)action
        dictionaryArguments:(NSDictionary *_Nullable)arguments
          completionHandler:(void (^_Nullable)(id _Nullable, NSError *_Nullable))
                                completionHandler;

    Swift

    func callLambda(_ action: String, dictionaryArguments arguments: [AnyHashable : Any]?, completionHandler: ((Any?, Error?) -> Void)? = nil)