Inherits from NSObject
Declared in QBSettings.h

Overview

Class for setup framework

Tasks

Class Methods

accountKey

+ (NSString *)accountKey
Discussion

Get account key

Return Value

Current account key

Declared In

QBSettings.h

chatSOCKS5ProxyHost

+ (NSString *)chatSOCKS5ProxyHost
Discussion

Get сhat SOCKS5 proxy host

Return Value

Current сhat SOCKS5 proxy host

Declared In

QBSettings.h

chatSOCKS5ProxyPort

+ (NSUInteger)chatSOCKS5ProxyPort
Discussion

Get сhat SOCKS5 proxy port

Return Value

Current сhat SOCKS5 proxy port

Declared In

QBSettings.h

chatServerMUCDomain

+ (NSString *)chatServerMUCDomain
Discussion

MUC chat server domain

Return Value

Current server’s MUC chat domain

Declared In

QBSettings.h

contentBucket

+ (NSString *)contentBucket
Discussion

Get Content bucket

Warning: Deprecated in 2.3. No need to use this method anymore.

Return Value

Current bucket

Declared In

QBSettings.h

disableXMPPLogging

+ (void)disableXMPPLogging
Discussion

Disables XMPP Framework logging to console.

Declared In

QBSettings.h

enableXMPPLogging

+ (void)enableXMPPLogging
Discussion

Enables XMPP Framework logging to console. By default is disabled.

Declared In

QBSettings.h

isUseTLSForChat

+ (BOOL)isUseTLSForChat
Discussion

Current protocol to work with Chat

Warning: Deprecated in QB iOS SDK 2.3: No need to call this method, TLS is set to YES by default now

Return Value

YES if TLS is enabled;

Declared In

QBSettings.h

logLevel

+ (QBLogLevel)logLevel
Discussion

Get SDK log level

Return Value

SDK current log level

Declared In

QBSettings.h

serverChatDomain

+ (NSString *)serverChatDomain
Discussion

Get server’s Chat domain

Return Value

Current server’s Chat domain

Declared In

QBSettings.h

setAccountKey:

+ (void)setAccountKey:(NSString *)accountKey
Discussion

Set account key

Parameters

accountKey

Account key - from admin.quickblox.com

Declared In

QBSettings.h

setChatSOCKS5ProxyHost:

+ (void)setChatSOCKS5ProxyHost:(NSString *)host
Discussion

Set Chat SOCKS5 proxy host

Parameters

host

SOCKS5 proxy host

Declared In

QBSettings.h

setChatSOCKS5ProxyPort:

+ (void)setChatSOCKS5ProxyPort:(NSUInteger)port
Discussion

Set Chat SOCKS5 proxy port

Parameters

port

SOCKS5 proxy port

Declared In

QBSettings.h

setContentBucket:

+ (void)setContentBucket:(NSString *)bucket
Discussion

Set Content bucket

Warning: Deprecated in 2.3. No need to use this method anymore.

Parameters

bucket

New bucket name

Declared In

QBSettings.h

setLogLevel:

+ (void)setLogLevel:(QBLogLevel)logLevel
Discussion

Set SDK log level (by default: QBLogLevelDebug). Posible values: QBLogLevelDebug, QBLogLevelNothing.

Parameters

logLevel

New log level

Declared In

QBSettings.h

setServerChatDomain:

+ (void)setServerChatDomain:(NSString *)chatDomain
Discussion

Set server’s Chat domain

Parameters

chatDomain

New server’s Chat domain

Declared In

QBSettings.h

useTLSForChat:

+ (void)useTLSForChat:(BOOL)useTLSForChat
Discussion

Enable/disable TLS for chat

Warning: Deprecated in QB iOS SDK 2.3: No need to call this method, TLS is set to YES by default now

Parameters

useTLSForChat

Enable TLS for chat. Default value: NO.

Declared In

QBSettings.h