Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCFileReceiver Class Reference

Interface for file receiver. More...

#include <MobileRTCMeetingChat.h>

Inherits NSObject.

Instance Methods

(NSInteger) - getSenderUserId
 Get file sender's user id .
 
(MobileRTCSDKError- cancelReceive
 Cancel the file receive.
 
(MobileRTCSDKError- startReceive:
 Start receive the file.
 

Properties

MobileRTCFileTransferInfotransferInfo
 The basic information of transfer file.
 

Detailed Description

Interface for file receiver.

Definition at line 83 of file MobileRTCMeetingChat.h.

Method Documentation

◆ cancelReceive

- (MobileRTCSDKError) cancelReceive

Cancel the file receive.

Returns
The error type of the cancel action.

◆ getSenderUserId

- (NSInteger) getSenderUserId

Get file sender's user id .

Returns
The sender user ID. -1 specify the internel error of get user ID.

◆ startReceive:

- (MobileRTCSDKError) startReceive: (NSString *_Nullable) path

Start receive the file.

Parameters
pathThe path to receive the file.
Returns
The error type of the cancel action,

Property Documentation

◆ transferInfo

- (MobileRTCFileTransferInfo*) transferInfo
readwritenonatomicstrong

The basic information of transfer file.

Definition at line 87 of file MobileRTCMeetingChat.h.