FileDataPart
@available(iOS 15.0, macOS 12.0, tvOS 15.0, watchOS 8.0, *)
public struct FileDataPart : PartFile data stored in Cloud Storage for Firebase, referenced by URI.
-
Undocumented
Declaration
Swift
public var uri: String { get } -
Undocumented
Declaration
Swift
public var mimeType: String { get } -
Declaration
Swift
public var isThought: Bool { get } -
Constructs a new file data part.
Declaration
Swift
public init(uri: String, mimeType: String)Parameters
uriThe
"gs://"-prefixed URI of the file in Cloud Storage for Firebase, for example,"gs://bucket-name/path/image.jpg".mimeTypeThe IANA standard MIME type of the uploaded file, for example,
"image/jpeg"or"video/mp4"; see supported input files and requirements for supported values.