Package io.getstream.chat.android.models
Class UploadedFile
-
- All Implemented Interfaces:
@Immutable() public final class UploadedFileRepresents a successfully uploaded file.
-
-
Constructor Summary
Constructors Constructor Description UploadedFile(String file, String thumbUrl, Map<String, Object> extraData)UploadedFile(String file, String thumbUrl)UploadedFile(String file)
-
Method Summary
Modifier and Type Method Description final StringgetFile()final StringgetThumbUrl()final Map<String, Object>getExtraData()-
-
Constructor Detail
-
UploadedFile
UploadedFile(String file, String thumbUrl, Map<String, Object> extraData)
- Parameters:
file- The URL of the uploaded file.thumbUrl- The property is auto-generated when uploading videos using Stream CDN and can be used to display video previews.extraData- The extra data associated with the uploaded file.
-
UploadedFile
UploadedFile(String file, String thumbUrl)
- Parameters:
file- The URL of the uploaded file.thumbUrl- The property is auto-generated when uploading videos using Stream CDN and can be used to display video previews.
-
UploadedFile
UploadedFile(String file)
- Parameters:
file- The URL of the uploaded file.
-
-
Method Detail
-
getThumbUrl
final String getThumbUrl()
-
getExtraData
final Map<String, Object> getExtraData()
-
-
-
-