You are here

retrieveDefinitionForAspect

- (AlfrescoRequest *)retrieveDefinitionForAspect:(NSString *)aspect completionBlock:(AlfrescoAspectDefinitionCompletionBlock)completionBlock; - Returns the definition for the given aspect, for example "exif:exif". An error with a code of 1301 is returned if the type is null or unknown.

Parameters

(NSString *) aspect
Aspect to retrieve definition for.
(AlfrescoAspectDefinitionCompletionBlock)block
The block that is called on completion of the operation. The block has the format typedef void (^AlfrescoAspectDefinitionCompletionBlock)(AlfrescoAspectDefinition *typeDefinition, NSError *error);.

Returns

(AlfrescoRequest *)

Example