SOCommMediaClientBuilder
A builder class for the SOCommMediaClient.
Functions
Builds a new SOCommMediaClient instance for this SOCommMediaClientBuilder.
Declares the instance of DeviceCommunication that should be used for this SOCommMediaClient.
The name of the folder / gallery to use to store the images in for this SOCommMediaClientBuilder.
The maximum number of thumbnails to be fetched after connecting to the remote devices.
Sets the MediaFileNameHandler to be used in this MediaClient. This is needed for this MediaClient to be able to handle already existing media items that are stored on the smartphone, but originated from a different remove device (family), which has a different file name structure.
The mediaTypes this SOCommMediaClient should handle. This must be set, and can be set to either:
Defines the cache that should be used to cache thumbnails. By default, cache is enabled and will be placed in the applications cache folder (in a subfolder "MediaClientCache") with max 25 MByte cache size. If you want to disable caching at all, or define a custom size / location, use this method.
If you want enable warning-logs to be logged, provide a lambda here.