MMNativeTextAsset Class Reference

Inherits from MMNativeAsset : NSObject
Declared in MMNativeAsset.h

Overview

A container for text assets of a native ad.

– initWithText:componentID:

Constructs a new text asset with the provided data.

- (instancetype)initWithText:(NSString *)text componentID:(MMNativeComponentTypeID)componentID

Parameters

text

The text assocated with the asset.

componentID

The component ID of the asset.

Discussion

Constructs a new text asset with the provided data.

Declared In

MMNativeAsset.h

  text

The text assocciated with the asset.

@property (nonatomic, readonly) NSString *text

Discussion

The text assocciated with the asset.

Declared In

MMNativeAsset.h