Link

toolkit / com.sas.android.visualanalytics.sdk / ShareHandler / FileShareInfo

FileShareInfo

class FileShareInfo : Parcelable

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

Parameters

fileName - The full file path on device

displayName - The file name of the file to be shared without the path

mimeType - The mime type of the file that is being shared or saved.

Since 8.30

Constructors

<init> FileShareInfo(parcel: Parcel)FileShareInfo(fileName: String, displayName: String, mimeType: String)
This class holds the information for files being shared or saved.

Properties

displayName val displayName: String
The file name of the file to be shared without the path
fileName val fileName: String
The full file path on device
mimeType val mimeType: String
The mime type of the file that is being shared or saved.

Functions

describeContents 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.
writeToParcel fun writeToParcel(dest: Parcel, flags: Int): Unit
Flatten this object in to a Parcel.

Companion Object Properties

CREATOR val CREATOR: Creator<ShareHandler.FileShareInfo>
Used to create a FileShareInfo object from a parcel.