Inherits from NSObject
Declared in QBConnection.h

Tasks

Class Methods

currentApiDomain

+ (NSString *)currentApiDomain
Discussion

Returns Api Domain for current zone

Return Value

NSString value of Api Domain

Declared In

QBConnection.h

currentServiceZone

+ (QBConnectionZoneType)currentServiceZone
Discussion

Return current Service Zone

Parameters

serviceZone
  • Service Zone. One from QBConnectionZoneType. Default - QBConnectionZoneTypeAutomatic

Declared In

QBConnection.h

isNetworkIndicatorVisible

+ (BOOL)isNetworkIndicatorVisible
Discussion

A Boolean value indicating whether the network activity indicator is currently displayed in the status bar.

Declared In

QBConnection.h

registerServiceKey:

+ (void)registerServiceKey:(NSString *)serviceKey
Discussion

Setting API Key for Quickblox API

Parameters

serviceKey
  • NSString value of API Key.

Declared In

QBConnection.h

registerServiceSecret:

+ (void)registerServiceSecret:(NSString *)serviceSecret
Discussion

Setting API Secret for Quickblox API

Parameters

serviceSecret
  • NSString value of API Secret.

Declared In

QBConnection.h

setApiDomain:forServiceZone:

+ (void)setApiDomain:(NSString *)apiDomain forServiceZone:(enum QBConnectionZoneType)zone
Discussion

Allow to set custom domain for specific zone.

Parameters

apiDomain
  • Domain for service i.e. http://my_custom_domain.com. Possible to pass nil to return to default settings
zone
  • Service Zone. One from QBConnectionZoneType. Default - QBConnectionZoneTypeProduction

Declared In

QBConnection.h

setNetworkIndicatorManagerEnabled:

+ (void)setNetworkIndicatorManagerEnabled:(BOOL)enabled
Discussion
  • A Boolean value indicating whether the manager is enabled.

  • If YES, the manager will change status bar network activity indicator according to network operation notifications it receives. The default value is NO.

Declared In

QBConnection.h

setServiceZone:

+ (void)setServiceZone:(QBConnectionZoneType)serviceZone
Discussion

Allow to change Services Zone to work with Development and Staging environments

Parameters

serviceZone
  • Service Zone. One from QBConnectionZoneType. Default - QBConnectionZoneTypeProduction

Declared In

QBConnection.h