setConnectionProfileWithHost:port:farm:relayServerUrlTemplate:enableHTTP:(NSString *, NSString *, NSString *, NSString *, BOOL) method

Provides connection properties to the connection class before registration.

Syntax

public virtual BOOL setConnectionProfileWithHost:port:farm:relayServerUrlTemplate:enableHTTP: (NSString * hostName, NSString * portNumber, NSString * farmId, NSString * urlSuffix, BOOL enableHttp)

Parameters

Returns

Returns a BOOL indicating if the operation is successful or not.

Examples

Usage

Provide port as nil if there is no port.

Returns a BOOL indicating if the operation is successful or not.