RemoteFile
public struct RemoteFile
// A data struct represents a remote file on Cisco Webex.
// The content of the remote file can be downloaded via MessageClient.downloadFile(...)
.
//
// - since: 1.4.0
-
A data type represents a thumbnail for this remote file. The thumbnail typically is an image file which provides preview of the remote file without downloading. The content of the thumbnail can be downloaded via
MessageClient.downloadThumbnail(...)
.Since
1.4.0Declaration
Swift
public struct Thumbnail
-
The display name of the remote file.
Declaration
Swift
public var displayName: String?
-
The MIME type of the remote file.
Declaration
Swift
public var mimeType: String?
-
The size in bytes of the remote file.
Declaration
Swift
public var size: UInt64?
-
The thumbnail of the remote file. Nil if no thumbnail available.
Declaration
Swift
public var thumbnail: Thumbnail?
-
The url of the remote file.
Declaration
Swift
public var url: String?
-
The messageId of Message that the remote file belongs to.
Declaration
Swift
public var messageId: String?
-
The spaceId where the remote file belongs to.
Declaration
Swift
public var spaceId: String?
-
The contentIndex of remote file.
Declaration
Swift
public var contentIndex: Int?
-
RemoteFile constructor.
Since
3.2.0Declaration
Swift
public init(displayName: String?, size: UInt64?, mimeType: String?, thumbnail: Thumbnail?, url: String?, messageId: String?, spaceId: String?, contentIndex: Int?)
Parameters
displayName
The display name of the RemoteFile.
size
The size of the RemoteFile.
mimeType
The mime type of the RemoteFile.
thumbnail
The thumbnail for the RemoteFile.
url
The url of the RemoteFile.
messageId
The messageId of the RemoteFile
spaceId
The spaceId of the RemoteFile.
contentIndex
The contentIndex of the RemoteFile.