|
LuxChat
2.0
Instant messenger for iOS
|
#import <JSQVideoMediaItem.h>
Instance Methods | |
| (instancetype) | - initWithFileURL:isReadyToPlay: |
Instance Methods inherited from JSQMediaItem | |
| (instancetype) | - initWithMaskAsOutgoing: |
| (void) | - clearCachedMediaViews |
Properties | |
| NSURL * | fileURL |
| BOOL | isReadyToPlay |
Properties inherited from JSQMediaItem | |
| BOOL | appliesMediaViewMaskAsOutgoing |
The JSQESVideoMediaItem class is a concrete JSQMediaItem subclass that implements the JSQMessageMediaData protocol and represents a video media message. An initialized JSQESVideoMediaItem object can be passed to a JSQMediaMessage object during its initialization to construct a valid media message object. You may wish to subclass JSQESVideoMediaItem to provide additional functionality or behavior.
| - (instancetype) initWithFileURL: | (NSURL *) | fileURL | |
| isReadyToPlay: | (BOOL) | isReadyToPlay | |
Initializes and returns a video media item having the given fileURL.
| fileURL | The URL that identifies the video resource. |
| isReadyToPlay | A boolean value that specifies if the video is ready to play. |
JSQESVideoMediaItem if successful, nil otherwise.If the video must be downloaded from the network, you may initialize a JSQESVideoMediaItem with a nil fileURL or specify NO for isReadyToPlay. Once the video has been saved to disk, or is ready to stream, you can set the fileURL property or isReadyToPlay property, respectively.
|
readwritenonatomicstrong |
The URL that identifies a video resource.
|
readwritenonatomicassign |
A boolean value that specifies whether or not the video is ready to be played.
When set to YES, the video is ready. When set to NO it is not ready.
1.8.9.1