Embedded File Source
Represents a source of embedded file data.
Constructors
Link copied to clipboard
constructor(@NonNull fileDataProvider: DataProvider, @NonNull fileName: String, @Nullable fileDescription: String)
Constructs an embedded file source with data served from DataProvider.
Constructs an embedded file source with data served from file content provider URI.
constructor(@NonNull fileData: Array<Byte>, @NonNull fileName: String, @Nullable fileDescription: String)
Constructs an embedded file source with data served from memory.
Properties
Link copied to clipboard
The optional description of the embedded file.
Link copied to clipboard
The size of the embedded file in bytes, or FILE_SIZE_UNKNOWN if unknown.