|
LuxChat
2.0
Instant messenger for iOS
|
#import <JSQMediaItem.h>
Instance Methods | |
| (instancetype) | - initWithMaskAsOutgoing: |
| (void) | - clearCachedMediaViews |
Properties | |
| BOOL | appliesMediaViewMaskAsOutgoing |
The JSQMediaItem class is an abstract base class for media item model objects that represents a single media attachment for a user message. It provides some default behavior for media items, including a default mediaViewDisplaySize, a default mediaPlaceholderView, and view masking as specified by appliesMediaViewMaskAsOutgoing.
| - (void) clearCachedMediaViews |
Clears any media view or media placeholder view that the item has cached.
| - (instancetype) initWithMaskAsOutgoing: | (BOOL) | maskAsOutgoing |
Initializes and returns a media item with the specified value for maskAsOutgoing.
| maskAsOutgoing | A boolean value indicating whether this media item should apply an outgoing or incoming bubble image mask to its media views. |
JSQMediaItem object if successful, nil otherwise.
|
readwritenonatomicassign |
A boolean value indicating whether this media item should apply an outgoing or incoming bubble image mask to its media views. Specify YES for an outgoing mask, and NO for an incoming mask. The default value is YES.
1.8.9.1