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(...).See moreSince
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
displayNameThe display name of the RemoteFile.
sizeThe size of the RemoteFile.
mimeTypeThe mime type of the RemoteFile.
thumbnailThe thumbnail for the RemoteFile.
urlThe url of the RemoteFile.
messageIdThe messageId of the RemoteFile
spaceIdThe spaceId of the RemoteFile.
contentIndexThe contentIndex of the RemoteFile.
View on GitHub