MXFileItem Class Reference
Inherits from | NSObject |
---|---|
Declared in | MXFileItem.h |
Overview
The MXFileItem class provides interfaces for basic information about files and fetching thumbnail images.
updatedTime
Last updated time.
@property (nonatomic, strong, readonly) NSDate *updatedTime
Declared In
MXFileItem.h
createdTime
Created time.
@property (nonatomic, strong, readonly) NSDate *createdTime
Declared In
MXFileItem.h
folder
The folder object in which this file is located in. Nil if this is a root file.
@property (nonatomic, strong, readonly, nullable) MXFolderItem *folder
Declared In
MXFileItem.h
chat
The chat that this file belongs to.
@property (nonatomic, strong, readonly) MXChat *chat
Declared In
MXFileItem.h
– fetchThumbnailWithCompletionHandler:
Fetch thumbnail of this file.
- (void)fetchThumbnailWithCompletionHandler:(void ( ^ _Nullable ) ( NSError *_Nullable errorOrNil , NSString *_Nullable localPathOrNil ))complete
Parameters
complete |
A block object to be executed when the action completes |
---|
Declared In
MXFileItem.h