Objective-C API Library Reference  4.3.0-42-g45f162a
 All Classes Functions Typedefs Properties Pages
Public Static Functions | Properties | List of all members
PWBinaryObject Class Reference

The PWBinaryObject class represents binary objects; these objects are retrieved using the retrieveObject method in PWWebClient.

Constructors

(id) - initWithData:mimeType:
 

Public Static Functions

(PWBinaryObject *) + binaryObjectWithData:mimeType:
 

Properties

NSString * mimeType
 
NSData * object
 

Methods Descriptions

+ (PWBinaryObject *) binaryObjectWithData: (NSData *)  data
mimeType: (NSString *)  mimeType 

Initializes an instance of PWBinaryObject with the specified data and mime type.

- (id) initWithData: (NSData *)  data
mimeType: (NSString *)  mimeType 

Creates and initializes an instance of PWBinaryObject.

Properties Descriptions

- (NSString*) mimeType
readwritenonatomicstrong

The mime type of the binary object, such as application/pdf, image/png, or text/plain.

- (NSData*) object
readwritenonatomicstrong

The binary object data.