getFarmIdWithError:(NSError **) method

Retrieves the farm ID to which the SUP server belongs.

Syntax

public static virtual NSString * getFarmIdWithError: (NSError ** error)

Parameters

Returns

Farm ID as a string object. Usage NSError* error = nil; NSString* farmId = [ODPAppSettings getFarmIdWithError:&error]; if (!error) { // Further processing }