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 onStartedDiscussion
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 onProgressDiscussion
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 onCompletedDiscussion
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 onFailedDiscussion
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)onFailedParameters
| 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