|
LuxChat
2.0
Instant messenger for iOS
|
#import <JSQPhotoMediaItem.h>
Instance Methods | |
| (instancetype) | - initWithImage: |
Instance Methods inherited from JSQMediaItem | |
| (instancetype) | - initWithMaskAsOutgoing: |
| (void) | - clearCachedMediaViews |
Properties | |
| UIImage * | image |
Properties inherited from JSQMediaItem | |
| BOOL | appliesMediaViewMaskAsOutgoing |
The JSQESPhotoMediaItem class is a concrete JSQMediaItem subclass that implements the JSQMessageMediaData protocol and represents a photo media message. An initialized JSQESPhotoMediaItem object can be passed to a JSQMediaMessage object during its initialization to construct a valid media message object. You may wish to subclass JSQESPhotoMediaItem to provide additional functionality or behavior.
| - (instancetype) initWithImage: | (UIImage *) | image |
Initializes and returns a photo media item object having the given image.
| image | The image for the photo media item. This value may be nil. |
JSQESPhotoMediaItem if successful, nil otherwise.If the image must be dowloaded from the network, you may initialize a JSQESPhotoMediaItem object with a nil image. Once the image has been retrieved, you can then set the image property.
|
readwritenonatomiccopy |
The image for the photo media item. The default value is nil.
1.8.9.1