GTRKFileInfo

struct GTRKFileInfo

A struct containing properties which keep data about a file that should be uploaded.

Note that all properties should have a value. Files described by GTRKFileInfo objects with missing values in their properties won’t be uploaded.

  • The actual file contents as a Data object.

    Declaration

    Swift

    var fileContent: Data?
  • The mime type of the file.

    Declaration

    Swift

    var mimetype: String?
  • The name of the file.

    Declaration

    Swift

    var filename: String?