Returns or downloads Customization Resources as binary data.
Syntax
-
(
NSData *
)
getCustomizationResourceBundleWithCustomizationResource
:
(
NSString *
)
customizationResource
error
:
(
NSError **
)
error
Parameters
-
customizationResource: –
Customization Resource name.
-
error –
Double pointer to the error object if the function results in an error. Returns the Customization Resource(zip or jar file) as binary data.
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
}