Package-level declarations

Types

Link copied to clipboard

The interface the SOCommMediaClient uses to communicate with a remote device.

Link copied to clipboard

An interface to handle device-specific filenames to parse

Link copied to clipboard
class MediaFileNameHandler(deviceFileNameParser: List<DeviceFileNameParser>)

A util that multiplexes parsing of media item filenames from multiple different devices / different DeviceFileNameParser, that needs to be passed at SOCommMediaClientBuilder.mediaFileNameHandler.

Link copied to clipboard
data class MediaItemDownloadProgress(val totalNumberOfItems: Int, val alreadyDownloadedItems: Int, val isFinishedWithCleanup: Boolean)

Contains the progress information exposed by the SOCommMediaClient.downloadMedia function.

Link copied to clipboard

Defines the type of media a MediaItem contains.

Link copied to clipboard

Interface for a client that handles all media-related topics with a remote SOComm device. This can be seen as a facade / middleware to communicate with the PictureManager of the SOComm device. To initialize / de-initialize this client, call start / stop respectively. After start has been called, this client will wait until a connection to the SOComm device is established (this client will not establish the connection itself, the connection needs to be established on the provided com.swarovskioptik.comm.SOCommOutsideAPI provided to the SOCommMediaClientBuilder when creating a new SOCommMediaClient). After the connection has been established, the respective com.swarovskioptik.comm.definition.SOContexts will be used in order to receive either picture or video thumbnails. On connection interruptions / disconnect & reconnect events, the this client will automatically recover.

Link copied to clipboard

A builder class for the SOCommMediaClient.