Inherits from NSObject
Declared in NetmeraMedia.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, getter=getData) NSData *data

Discussion

NSData that holds image data

Declared In

NetmeraMedia.h

url

Path of the media

@property (nonatomic, retain) NSString *url

Discussion

Path of the media

Declared In

NetmeraMedia.h

Instance Methods

getData

Returns the data of file with the default size.

- (NSData *)getData

Return Value

NSData of the photo.

Discussion

Returns the data of file with the default size.

Declared In

NetmeraMedia.h

getDataWithPhotoSize:

Returns the data of file with the given size.

- (NSData *)getDataWithPhotoSize:(enum PhotoSize)size

Parameters

size

PhotoSize object

Return Value

NSData of the photo with the given size.

Discussion

Returns the data of file with the given size.

Declared In

NetmeraMedia.h

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

NetmeraMedia.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

NetmeraMedia.h