Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
ZMVideoSDKSendFile Class Reference

Represents a file being sent in the session. More...

#include <ZMVideoSDKSession.h>

Inherits NSObject.

Instance Methods

(ZMVideoSDKErrors- cancelSend
 Cancel the file transfer.
 

Properties

time_t timeStamp
 The timestamp of the file transfer.
 
BOOL isSendToAll
 Determine whether the file transfer is send to all.
 
unsigned long long fileSize
 The file size of the file transfer.
 
NSString * fileName
 The file name of the file transfer.
 
ZMVideoSDKFileStatusstatus
 The status of the file transfer.
 
ZMVideoSDKUser *_Nullable receiver
 The receiver of the file transfer.
 

Detailed Description

Represents a file being sent in the session.

Definition at line 53 of file ZMVideoSDKSession.h.

Method Documentation

◆ cancelSend

- (ZMVideoSDKErrors) cancelSend

Cancel the file transfer.

Returns
If the function succeeds, it will return ZMVideoSDKErrors_Success.

Property Documentation

◆ fileName

- (NSString*) fileName
readnonatomiccopy

The file name of the file transfer.

Definition at line 69 of file ZMVideoSDKSession.h.

◆ fileSize

- (unsigned long long) fileSize
readnonatomicassign

The file size of the file transfer.

Definition at line 65 of file ZMVideoSDKSession.h.

◆ isSendToAll

- (BOOL) isSendToAll
readnonatomicassign

Determine whether the file transfer is send to all.

Definition at line 61 of file ZMVideoSDKSession.h.

◆ receiver

- (ZMVideoSDKUser* _Nullable) receiver
readnonatomicassign

The receiver of the file transfer.

Definition at line 77 of file ZMVideoSDKSession.h.

◆ status

- (ZMVideoSDKFileStatus*) status
readnonatomicretain

The status of the file transfer.

Definition at line 73 of file ZMVideoSDKSession.h.

◆ timeStamp

- (time_t) timeStamp
readnonatomicassign

The timestamp of the file transfer.

Definition at line 57 of file ZMVideoSDKSession.h.