Inherits from NSObject
Declared in Netmera.h
NetmeraMedia.m

Overview

NetmeraMedia object is used to create media content.

Its constructor is used to create different types of media content.

Tasks

Properties

data

NSData that holds image data

@property (nonatomic, retain) NSData *data

Discussion

NSData that holds image data

Declared In

Netmera.h

url

Path of the media

@property (nonatomic, retain) NSString *url

Discussion

Path of the media

Declared In

Netmera.h

Instance Methods

getUrlWithPhotoSize:

Returns the URL of file with the given size.

- (NSURL *)getUrlWithPhotoSize:(enum PhotoSize)size

Parameters

size

PhotoSize object

Return Value

NSURL of the photo with the given size.

Discussion

Returns the URL of file with the given size.

Declared In

Netmera.h

initWithData:

Constructor that takes byte array as a parameter and creates NetmeraMedia object.

- (NetmeraMedia *)initWithData:(NSData *)data

Parameters

data

The image’s data

Discussion

Constructor that takes byte array as a parameter and creates NetmeraMedia object.

Declared In

Netmera.h