public class

FileUploadInfo

extends Object
implements Parcelable
java.lang.Object
   ↳ com.gsma.services.rcs.upload.FileUploadInfo

Class Overview

File upload info

Summary

[Expand]
Inherited Constants
From interface android.os.Parcelable
Public Methods
Uri getFile()
Returns URI of the file on the content server
long getFileExpiration()
Returns the timestamp for when the file on the content server is no longer valid to download.
Uri getFileIcon()
Returns URI of the file icon on the content server
long getFileIconExpiration()
Returns the timestamp for when the file icon on the content server is no longer valid to download.
String getFileIconMimeType()
Returns the MIME type of the file icon
long getFileIconSize()
Returns the size of the file icon
String getFileName()
Returns the original filename
String getMimeType()
Returns the MIME type of the file
long getSize()
Returns the size of the file
[Expand]
Inherited Methods
From class java.lang.Object
From interface android.os.Parcelable

Public Methods

public Uri getFile ()

Since: API Level 1.5

Returns URI of the file on the content server

Returns
  • Uri

public long getFileExpiration ()

Since: API Level 1.5

Returns the timestamp for when the file on the content server is no longer valid to download.

Returns
  • timestamp in milliseconds

public Uri getFileIcon ()

Since: API Level 1.5

Returns URI of the file icon on the content server

Returns
  • Uri or null if no file icon defined

public long getFileIconExpiration ()

Since: API Level 1.5

Returns the timestamp for when the file icon on the content server is no longer valid to download.

Returns
  • timestamp in milliseconds of 0 if no file icon defined

public String getFileIconMimeType ()

Since: API Level 1.5

Returns the MIME type of the file icon

Returns
  • MIME type or null if no file icon defined

public long getFileIconSize ()

Since: API Level 1.5

Returns the size of the file icon

Returns
  • Size or 0 if no file icon defined

public String getFileName ()

Since: API Level 1.5

Returns the original filename

Returns
  • String

public String getMimeType ()

Since: API Level 1.5

Returns the MIME type of the file

Returns
  • MIME type

public long getSize ()

Since: API Level 1.5

Returns the size of the file

Returns
  • Size