AvailableMediaItem

data class AvailableMediaItem(val fileName: String, val mediaType: MediaType, val dateTime: LocalDateTime?) : Parcelable

Contains the name of a media item, which is available on the remote device.

Objects of this class are provided by the SOCommMediaClient.availableMedia Observable, which represents all items that are currently available on the remote device to be downloaded.

In contrast to MediaItem.Thumbnail, this item does not contain any image information, i.e. no thumbnail data.

Parameters

fileName

The file name of the media item

mediaType

The type of the media item, either MediaType.Picture or MediaType.Video.

dateTime

The dateTime of the given available media item of when it was recorded. With similar reasoning as in MediaItem.dateTime, this field is nullable, however should never be null (but apps should not crash if this is null).

Constructors

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

Properties

Link copied to clipboard
val dateTime: LocalDateTime?
Link copied to clipboard
Link copied to clipboard

Functions

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