FileShareInfo

class FileShareInfo(val fileName: String, altBaseName: String?, val mimeType: String) : Parcelable

This class holds the information for files being shared or saved.

Since

8.30

Parameters

fileName
The full path of the file.
altBaseName
An alternate user-friendly base name to use when sharing the file, or null to share
[fileName] as-is.
mimeType
The mime type of the file.

Constructors

Link copied to clipboard
constructor(parcel: Parcel)
constructor(fileName: String, altBaseName: String?, mimeType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun describeContents(): Int

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output of {@link #writeToParcel(Parcel, int)}, the return value of this method must include the {@link #CONTENTS_FILE_DESCRIPTOR} bit.

Link copied to clipboard
open override fun writeToParcel(dest: Parcel, flags: Int)

Flatten this object into a Parcel.