TCHMediaMessageListener Class Reference
Inherits from | NSObject |
---|---|
Declared in | TCHMessageBuilder.h |
onStarted
The block to report the beginning of a media uploading.
@property (nonatomic, nullable) TCHMediaOnStarted onStarted
Discussion
The block to report the beginning of a media uploading.
Declared In
TCHMessageBuilder.h
onProgress
The block to report the running progress of a media uploading.
@property (nonatomic, nullable) TCHMediaOnProgress onProgress
Discussion
The block to report the running progress of a media uploading.
Declared In
TCHMessageBuilder.h
onCompleted
The block to report the successful completion of a media uploading.
@property (nonatomic, nullable) TCHMediaOnCompleted onCompleted
Discussion
The block to report the successful completion of a media uploading.
Declared In
TCHMessageBuilder.h
onFailed
The block to report a error while uploading a media.
@property (nonatomic, nullable) TCHMediaOnFailed onFailed
Discussion
The block to report a error while uploading a media.
Declared In
TCHMessageBuilder.h
– initWithOnStarted:onProgress:onCompleted:onFailed:
The initializator to pass all block at once.
- (instancetype)initWithOnStarted:(nullable TCHMediaOnStarted)onStarted onProgress:(nullable TCHMediaOnProgress)onProgress onCompleted:(nullable TCHMediaOnCompleted)onCompleted onFailed:(nullable TCHMediaOnFailed)onFailed
Parameters
onStarted |
The block to report the beginning of a media uploading. |
---|---|
onProgress |
The block to report the running progress of a media uploading. |
onCompleted |
The block to report the successful completion of a media uploading. |
onFailed |
The block to report a error while uploading a media. |
Discussion
The initializator to pass all block at once.
Declared In
TCHMessageBuilder.h