XMMContentBlockType1 Class Reference

Inherits from XMMContentBlock : NSObject
Declared in XMMContentBlockType1.h
XMMContentBlockType1.m

Overview

XMMContentBlockType1 is used for mapping the JSON sended by the api.

This class represents the contentBlockType ‘AUDIO’.

Default behavior

  1. Display title as bold
  2. Display an audioplayer to play (stream) the audio file.

Other Methods

  fileId

Url to a audioFile (mp3, m4a, aac).

@property (nonatomic, copy) NSString *fileId

Declared In

XMMContentBlockType1.h

  artist

The name of the artist(s).

@property (nonatomic, copy) NSString *artist

Declared In

XMMContentBlockType1.h

Mapping

+ mapping

Returns a RKObjectMapping for XMMContentBlockType1 class.

+ (RKObjectMapping *)mapping

Return Value

RKObjectMapping*

Declared In

XMMContentBlockType1.h

+ dynamicMappingMatcher

Returns a RKObjectMappingMatcher for XMMContentBlockType1 class.

+ (RKObjectMappingMatcher *)dynamicMappingMatcher

Return Value

RKObjectMappingMatcher*

Declared In

XMMContentBlockType1.h