getCustomizationResourceBundleWithCustomizationResource:error: method

Returns or downloads Customization Resources as binary data.

Syntax

- ( NSData * ) getCustomizationResourceBundleWithCustomizationResource : ( NSString * ) customizationResource error : ( NSError ** ) error

Parameters

Returns

Returns the Customization Resource as binary data.

Example 1

 SMPAppSettings* appSettings = [SMPAppSettings initializeWithConnection:clientConn userName:"username" password:@"password"];
NSError* error = nil;
NSData* customResourceBundleData = [appSettings getCustomizationResourceBundleWithCustomizationResource:customizationResource error:&error];
if (!error)
{
    // Further processing
}