XMMContentBlockType8 Class Reference
Inherits from | XMMContentBlock : NSObject |
---|---|
Declared in | XMMContentBlockType8.h XMMContentBlockType8.m |
Overview
XMMContentBlockType8
is used for mapping the JSON sended by the api.
This class represents the contentBlockType ‘DOWNLOAD’.
Default behavior
- Display like a link block with another icon
Example implementation is on our sample app “pingeb.org” https://github.com/xamoom/xamoom-pingeborg-ios
Other Methods
fileId
Url to a file (vcf, ical)
@property (nonatomic, copy) NSString *fileId
Declared In
XMMContentBlockType8.h
downloadType
Download type to determine the type of the download.
@property (nonatomic) int downloadType
Discussion
- VCF = 0
- ICAL = 1
Declared In
XMMContentBlockType8.h
text
Text as description for the url.
@property (nonatomic, copy) NSString *text
Declared In
XMMContentBlockType8.h
Mapping
+ mapping
Returns a RKObjectMapping for XMMContentBlockType8
class.
+ (RKObjectMapping *)mapping
Return Value
RKObjectMapping*
Declared In
XMMContentBlockType8.h
+ dynamicMappingMatcher
Returns a RKObjectMappingMatcher for XMMContentBlockType8
class.
+ (RKObjectMappingMatcher *)dynamicMappingMatcher
Return Value
RKObjectMappingMatcher*
Declared In
XMMContentBlockType8.h