Local

data class Local(val fileName: String, val mediaType: MediaType, val uri: Uri, val dateTime: LocalDateTime?) : MediaItem

A class which represents the data for a locally stored media item.

Parameters

fileName

The fileName of this media item

mediaType

The MediaType this Thumbnail is referencing

uri

The Uri of the media items content

dateTime

The LocalDateTime of when this item has been recorded

See also

Constructors

Link copied to clipboard
constructor(fileName: String, mediaType: MediaType, uri: Uri, dateTime: LocalDateTime?)

Properties

Link copied to clipboard
open override val dateTime: LocalDateTime?
Link copied to clipboard
open override val fileName: String
Link copied to clipboard
open override val mediaType: MediaType
Link copied to clipboard
val uri: Uri

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)